#include "main.h"#include <gtk/gtk.h>#include <gdk/gdkx.h>#include <gdk/gdkkeysyms.h>#include <stdlib.h>#include <stdio.h>#include <unistd.h>#include <string.h>#include <signal.h>#include <assert.h>#include <limits.h>#include <stddef.h>#include <inttypes.h>#include <weed/weed.h>#include <gmodule.h>#include <fcntl.h>#include <pthread.h>#include <sys/time.h>#include "events.h"#include "../libweed/weed.h"Defines | |
| #define | NSTOREDFDS 16 |
Functions | |
| void | audio_free_fnames (void) |
| void | sample_silence_dS (float *dst, unsigned long nsamples) |
| void | sample_move_d8_d16 (short *dst, unsigned char *src, unsigned long nsamples, size_t tbytes, float scale, int nDstChannels, int nSrcChannels, int swap_sign) |
| void | sample_move_d16_d16 (short *dst, short *src, unsigned long nsamples, size_t tbytes, float scale, int nDstChannels, int nSrcChannels, int swap_endian, int swap_sign) |
| void | sample_move_d16_d8 (uint8_t *dst, short *src, unsigned long nsamples, size_t tbytes, float scale, int nDstChannels, int nSrcChannels, int swap_sign) |
| void | sample_move_d16_float (float *dst, short *src, unsigned long nsamples, unsigned long src_skip, int is_unsigned, float vol) |
| long | sample_move_float_int (void *holding_buff, float **float_buffer, int nsamps, float scale, int chans, int asamps, int usigned, gboolean swap_endian, float vol) |
| returns frames output | |
| long | sample_move_abuf_float (float **obuf, int nchans, int nsamps, int out_arate, float vol) |
| long | sample_move_abuf_int16 (short *obuf, int nchans, int nsamps, int out_arate) |
| long | render_audio_segment (gint nfiles, gint *from_files, gint to_file, gdouble *avels, gdouble *fromtime, weed_timecode_t tc_start, weed_timecode_t tc_end, gdouble *chvol, gdouble opvol_start, gdouble opvol_end, lives_audio_buf_t *obuf) |
| void | aud_fade (gint fileno, gdouble startt, gdouble endt, gdouble startv, gdouble endv) |
| fade in/fade out | |
| lives_audio_track_state_t * | get_audio_and_effects_state_at (weed_plant_t *event_list, weed_plant_t *st_event, gboolean get_audstate, gboolean exact) |
| void | fill_abuffer_from (lives_audio_buf_t *abuf, weed_plant_t *event_list, weed_plant_t *st_event, gboolean exact) |
| void | init_jack_audio_buffers (gint achans, gint arate, gboolean exact) |
| void | init_pulse_audio_buffers (gint achans, gint arate, gboolean exact) |
| void | free_jack_audio_buffers (void) |
| void | free_pulse_audio_buffers (void) |
| gboolean | resync_audio (gint frameno) |
| lives_audio_buf_t * | audio_cache_init (void) |
| void | audio_cache_end (void) |
| lives_audio_buf_t * | audio_cache_get_buffer (void) |
| #define NSTOREDFDS 16 |
| void aud_fade | ( | gint | fileno, | |
| gdouble | startt, | |||
| gdouble | endt, | |||
| gdouble | startv, | |||
| gdouble | endv | |||
| ) | [inline] |
fade in/fade out
| void audio_cache_end | ( | void | ) |
< tell cache thread to exit when possible
| lives_audio_buf_t* audio_cache_get_buffer | ( | void | ) |
| lives_audio_buf_t* audio_cache_init | ( | void | ) |
| void audio_free_fnames | ( | void | ) |
| void fill_abuffer_from | ( | lives_audio_buf_t * | abuf, | |
| weed_plant_t * | event_list, | |||
| weed_plant_t * | st_event, | |||
| gboolean | exact | |||
| ) |
| void free_jack_audio_buffers | ( | void | ) |
| void free_pulse_audio_buffers | ( | void | ) |
| lives_audio_track_state_t* get_audio_and_effects_state_at | ( | weed_plant_t * | event_list, | |
| weed_plant_t * | st_event, | |||
| gboolean | get_audstate, | |||
| gboolean | exact | |||
| ) |
| void init_jack_audio_buffers | ( | gint | achans, | |
| gint | arate, | |||
| gboolean | exact | |||
| ) |
| void init_pulse_audio_buffers | ( | gint | achans, | |
| gint | arate, | |||
| gboolean | exact | |||
| ) |
| long render_audio_segment | ( | gint | nfiles, | |
| gint * | from_files, | |||
| gint | to_file, | |||
| gdouble * | avels, | |||
| gdouble * | fromtime, | |||
| weed_timecode_t | tc_start, | |||
| weed_timecode_t | tc_end, | |||
| gdouble * | chvol, | |||
| gdouble | opvol_start, | |||
| gdouble | opvol_end, | |||
| lives_audio_buf_t * | obuf | |||
| ) |
| gboolean resync_audio | ( | gint | frameno | ) |
| long sample_move_abuf_float | ( | float ** | obuf, | |
| int | nchans, | |||
| int | nsamps, | |||
| int | out_arate, | |||
| float | vol | |||
| ) |
| long sample_move_abuf_int16 | ( | short * | obuf, | |
| int | nchans, | |||
| int | nsamps, | |||
| int | out_arate | |||
| ) |
| void sample_move_d16_d16 | ( | short * | dst, | |
| short * | src, | |||
| unsigned long | nsamples, | |||
| size_t | tbytes, | |||
| float | scale, | |||
| int | nDstChannels, | |||
| int | nSrcChannels, | |||
| int | swap_endian, | |||
| int | swap_sign | |||
| ) |
| void sample_move_d16_d8 | ( | uint8_t * | dst, | |
| short * | src, | |||
| unsigned long | nsamples, | |||
| size_t | tbytes, | |||
| float | scale, | |||
| int | nDstChannels, | |||
| int | nSrcChannels, | |||
| int | swap_sign | |||
| ) |
| void sample_move_d16_float | ( | float * | dst, | |
| short * | src, | |||
| unsigned long | nsamples, | |||
| unsigned long | src_skip, | |||
| int | is_unsigned, | |||
| float | vol | |||
| ) |
| void sample_move_d8_d16 | ( | short * | dst, | |
| unsigned char * | src, | |||
| unsigned long | nsamples, | |||
| size_t | tbytes, | |||
| float | scale, | |||
| int | nDstChannels, | |||
| int | nSrcChannels, | |||
| int | swap_sign | |||
| ) |
| long sample_move_float_int | ( | void * | holding_buff, | |
| float ** | float_buffer, | |||
| int | nsamps, | |||
| float | scale, | |||
| int | chans, | |||
| int | asamps, | |||
| int | usigned, | |||
| gboolean | swap_endian, | |||
| float | vol | |||
| ) |
returns frames output
| void sample_silence_dS | ( | float * | dst, | |
| unsigned long | nsamples | |||
| ) | [inline] |
1.6.3