VLC 4.0.0-dev
|
Data Structures | |
struct | aout_filters_cfg_t |
Macros | |
#define | AOUT_CHAN_REMAP_INIT |
#define | AOUT_FILTERS_CFG_INIT |
#define | aout_FiltersNew(o, inf, outf, remap) aout_FiltersNew(VLC_OBJECT(o),inf,outf,remap) |
#define | aout_FiltersDelete(o, f) aout_FiltersDelete(VLC_OBJECT(o),f) |
Typedefs | |
typedef struct aout_filters | aout_filters_t |
Functions | |
int | aout_EnableFilter (audio_output_t *aout, const char *name, bool add) |
Enable or disable an audio filter ("audio-filter") | |
aout_filters_t * | aout_FiltersNew (vlc_object_t *, const audio_sample_format_t *, const audio_sample_format_t *, const aout_filters_cfg_t *cfg) |
void | aout_FiltersDelete (vlc_object_t *, aout_filters_t *) |
Destroys a chain of audio filters. | |
bool | aout_FiltersAdjustResampling (aout_filters_t *, int) |
block_t * | aout_FiltersPlay (aout_filters_t *, block_t *, float rate) |
block_t * | aout_FiltersDrain (aout_filters_t *) |
void | aout_FiltersFlush (aout_filters_t *) |
void | aout_FiltersChangeViewpoint (aout_filters_t *, const vlc_viewpoint_t *vp) |
vout_thread_t * | aout_filter_GetVout (filter_t *, const video_format_t *) |
Create a vout from an "visualization" audio filter. | |
#define AOUT_CHAN_REMAP_INIT |
#define AOUT_FILTERS_CFG_INIT |
#define aout_FiltersDelete | ( | o, | |
f | |||
) | aout_FiltersDelete(VLC_OBJECT(o),f) |
#define aout_FiltersNew | ( | o, | |
inf, | |||
outf, | |||
remap | |||
) | aout_FiltersNew(VLC_OBJECT(o),inf,outf,remap) |
typedef struct aout_filters aout_filters_t |
enum vlc_chan_order_idx_t |
int aout_EnableFilter | ( | audio_output_t * | aout, |
const char * | name, | ||
bool | add | ||
) |
Enable or disable an audio filter ("audio-filter")
aout | a valid audio output |
name | a valid filter name |
add | true to add the filter, false to remove it |
References FilterOrder(), p, psz_name, unlikely, var_GetString(), var_SetString(), VLC_EGENERIC, VLC_ENOMEM, and VLC_SUCCESS.
Referenced by vlc_player_aout_EnableFilter().
vout_thread_t * aout_filter_GetVout | ( | filter_t * | filter, |
const video_format_t * | fmt | ||
) |
Create a vout from an "visualization" audio filter.
References AUDIO_ES, filter_owner_sys::clock, filter_owner_sys::clock_source, filter_t::owner, filter_owner_t::sys, unlikely, video_format_AdjustColorSpace(), vlc_clock_CreateSlave(), vlc_clock_Delete(), vlc_clock_Lock(), vlc_clock_Unlock(), VLC_OBJECT, filter_owner_sys::vout, vout_configuration_t::vout, vout_Close(), vout_Create(), and vout_Request().
bool aout_FiltersAdjustResampling | ( | aout_filters_t * | filters, |
int | adjust | ||
) |
References aout_filter::f, aout_filters::resampler, and aout_filters::resampling.
Referenced by stream_HandleDrift(), and stream_StopResampling().
void aout_FiltersChangeViewpoint | ( | aout_filters_t * | filters, |
const vlc_viewpoint_t * | vp | ||
) |
References aout_FiltersPipelineChangeViewpoint(), aout_filters::count, and aout_filters::tab.
Referenced by vlc_aout_stream_Play().
void aout_FiltersDelete | ( | vlc_object_t * | obj, |
aout_filters_t * | filters | ||
) |
Destroys a chain of audio filters.
obj | object used with aout_FiltersNew() |
filters | chain to be destroyed |
References aout_FiltersPipelineDestroy(), aout_filters::count, aout_filter::f, aout_filters::resampler, aout_filters::tab, var_DelCallback(), and VisualizationCallback().
block_t * aout_FiltersDrain | ( | aout_filters_t * | filters | ) |
References aout_FiltersPipelineDrain(), aout_FiltersPipelinePlay(), es_format_t::audio, block_ChainAppend, block_ChainGather, aout_filters::count, aout_filter::f, filter_t::fmt_in, audio_format_t::i_rate, aout_filters::resampler, aout_filters::resampling, and aout_filters::tab.
Referenced by vlc_aout_stream_Drain().
void aout_FiltersFlush | ( | aout_filters_t * | filters | ) |
References aout_FiltersPipelineFlush(), aout_filters::count, aout_filter::f, aout_filters::resampler, and aout_filters::tab.
Referenced by stream_Reset().
aout_filters_t * aout_FiltersNew | ( | vlc_object_t * | , |
const audio_sample_format_t * | , | ||
const audio_sample_format_t * | , | ||
const aout_filters_cfg_t * | cfg | ||
) |
block_t * aout_FiltersPlay | ( | aout_filters_t * | filters, |
block_t * | block, | ||
float | rate | ||
) |