|
VLC
2.1.0-git
|

Macros | |
| #define | aout_FiltersPipelineCreate(obj, f, n, m, i, o) aout_FiltersPipelineCreate(VLC_OBJECT(obj),f,n,m,i,o) |
Functions | |
| static filter_t * | FindFilter (vlc_object_t *obj, const char *type, const char *name, const audio_sample_format_t *infmt, const audio_sample_format_t *outfmt) |
| static filter_t * | FindConverter (vlc_object_t *obj, const audio_sample_format_t *infmt, const audio_sample_format_t *outfmt) |
| static filter_t * | FindResampler (vlc_object_t *obj, const audio_sample_format_t *infmt, const audio_sample_format_t *outfmt) |
| static void | aout_FiltersPipelineDestroy (filter_t *const *filters, unsigned n) |
| Destroys a chain of audio filters. | |
| static filter_t * | TryFormat (vlc_object_t *obj, vlc_fourcc_t codec, audio_sample_format_t *restrict fmt) |
| static int | aout_FiltersPipelineCreate (vlc_object_t *obj, filter_t **filters, unsigned *count, unsigned max, const audio_sample_format_t *restrict infmt, const audio_sample_format_t *restrict outfmt) |
| Allocates audio format conversion filters. | |
| static bool | ChangeFiltersString (vlc_object_t *aout, const char *var, const char *filter, bool add) |
| static block_t * | aout_FiltersPipelinePlay (filter_t *const *filters, unsigned count, block_t *block) |
| Filters an audio buffer through a chain of filters. | |
| static int | VisualizationCallback (vlc_object_t *obj, char const *var, vlc_value_t oldval, vlc_value_t newval, void *data) |
| Callback for visualization selection. | |
| static int | EqualizerCallback (vlc_object_t *obj, char const *var, vlc_value_t oldval, vlc_value_t newval, void *data) |
| static vout_thread_t * | RequestVout (void *data, vout_thread_t *vout, video_format_t *fmt, bool recycle) |
| vout_thread_t * | aout_filter_RequestVout (filter_t *filter, vout_thread_t *vout, video_format_t *fmt) |
| static filter_t * | CreateFilter (vlc_object_t *parent, const char *name, const audio_sample_format_t *restrict infmt, const audio_sample_format_t *restrict outfmt, bool visu) |
| int | aout_FiltersNew (audio_output_t *aout, const audio_sample_format_t *restrict infmt, const audio_sample_format_t *restrict outfmt, const aout_request_vout_t *request_vout) |
| Sets up the audio filters. | |
| void | aout_FiltersDelete (audio_output_t *aout) |
| Destroys the audio filters. | |
| bool | aout_FiltersAdjustResampling (audio_output_t *aout, int adjust) |
| block_t * | aout_FiltersPlay (audio_output_t *aout, block_t *block, int rate) |
| #define aout_FiltersPipelineCreate | ( | obj, | |
| f, | |||
| n, | |||
| m, | |||
| i, | |||
| o | |||
| ) | aout_FiltersPipelineCreate(VLC_OBJECT(obj),f,n,m,i,o) |
Referenced by aout_FiltersNew().
| vout_thread_t* aout_filter_RequestVout | ( | filter_t * | filter, |
| vout_thread_t * | vout, | ||
| video_format_t * | fmt | ||
| ) |
| bool aout_FiltersAdjustResampling | ( | audio_output_t * | aout, |
| int | adjust | ||
| ) |
References aout_owner(), aout_owner_t::resampler, and aout_owner_t::resampling.
Referenced by aout_DecSynchronize(), and aout_StopResampling().
| void aout_FiltersDelete | ( | audio_output_t * | aout | ) |
Destroys the audio filters.
References aout_FiltersPipelineDestroy(), aout_owner(), EqualizerCallback(), aout_owner_t::filters, aout_owner_t::nb_filters, aout_owner_t::recycle_vout, aout_owner_t::resampler, var_DelCallback, var_InheritString, and VisualizationCallback().
Referenced by aout_CheckReady(), and aout_DecDelete().
| int aout_FiltersNew | ( | audio_output_t * | aout, |
| const audio_sample_format_t *restrict | infmt, | ||
| const audio_sample_format_t *restrict | outfmt, | ||
| const aout_request_vout_t * | request_vout | ||
| ) |
Sets up the audio filters.
References aout_FiltersPipelineCreate, aout_FiltersPipelineDestroy(), AOUT_FMT_LINEAR, AOUT_FMTS_IDENTICAL, aout_FormatPrint, aout_FormatsPrint, AOUT_MAX_FILTERS, aout_owner(), es_format_t::audio, CreateFilter(), EqualizerCallback(), aout_owner_t::filters, FindConverter(), FindResampler(), filter_t::fmt_in, filter_t::fmt_out, audio_format_t::i_rate, list, module_unneed, msg_Err, name, aout_owner_t::nb_filters, filter_t::p_module, aout_request_vout_t::p_private, aout_request_vout_t::pf_request_vout, aout_owner_t::rate_filter, aout_owner_t::recycle_vout, aout_owner_t::request_vout, RequestVout(), aout_owner_t::resampler, aout_owner_t::resampling, strsep(), var_AddCallback, var_DelCallback, var_InheritBool, var_InheritString, VisualizationCallback(), VLC_OBJECT, and vlc_object_release.
|
static |
Allocates audio format conversion filters.
| obj | parent VLC object for new filters |
| filters | table of filters [IN/OUT] |
| count | pointer to the number of filters in the table [IN/OUT] |
| max | size of filters table [IN] |
| infmt | input audio format |
| outfmt | output audio format |
References _, aout_FiltersPipelineDestroy(), AOUT_FMT_LINEAR, aout_FormatPrepare(), aout_FormatsPrint, count, dialog_Fatal, FindConverter(), audio_format_t::i_format, audio_format_t::i_original_channels, audio_format_t::i_physical_channels, audio_format_t::i_rate, msg_Dbg, msg_Err, TryFormat(), VLC_CODEC_FL32, and VLC_CODEC_S32N.
|
static |
Destroys a chain of audio filters.
References module_unneed, filter_t::p_module, and vlc_object_release.
Referenced by aout_FiltersDelete(), aout_FiltersNew(), and aout_FiltersPipelineCreate().
|
static |
Filters an audio buffer through a chain of filters.
References count.
Referenced by aout_FiltersPlay().
| block_t* aout_FiltersPlay | ( | audio_output_t * | aout, |
| block_t * | block, | ||
| int | rate | ||
| ) |
References aout_FiltersPipelinePlay(), aout_owner(), es_format_t::audio, block_Release(), aout_owner_t::filters, filter_t::fmt_in, audio_format_t::i_rate, INPUT_RATE_DEFAULT, aout_owner_t::nb_filters, aout_owner_t::rate_filter, aout_owner_t::resampler, and aout_owner_t::resampling.
Referenced by aout_DecPlay().
|
inlinestatic |
References aout_ChangeFilterString().
Referenced by EqualizerCallback(), and VisualizationCallback().
|
static |
References AOUT_FMTS_IDENTICAL, es_format_t::audio, filter_t::fmt_in, filter_t::fmt_out, es_format_t::i_codec, module_need, filter_t::p_module, unlikely, vlc_custom_create, and vlc_object_release.
Referenced by aout_FiltersNew().
|
static |
< No error
References aout_InputRequestRestart(), ChangeFiltersString(), vlc_value_t::psz_string, var_Create, var_SetString, VLC_SUCCESS, and VLC_VAR_STRING.
Referenced by aout_FiltersDelete(), and aout_FiltersNew().
|
static |
References FindFilter().
Referenced by aout_FiltersNew(), aout_FiltersPipelineCreate(), and TryFormat().
|
static |
References es_format_t::audio, filter_t::fmt_in, filter_t::fmt_out, es_format_t::i_codec, audio_format_t::i_format, module_need, filter_t::p_module, unlikely, vlc_custom_create, and vlc_object_release.
Referenced by FindConverter(), and FindResampler().
|
static |
References FindFilter().
Referenced by aout_FiltersNew().
|
static |
References vout_configuration_t::vout, and vout_Request.
Referenced by aout_FiltersNew().
|
static |
References aout_FormatPrepare(), FindConverter(), and audio_format_t::i_format.
Referenced by aout_FiltersPipelineCreate().
|
static |
Callback for visualization selection.
< No error
References aout_InputRequestRestart(), ChangeFiltersString(), vlc_value_t::psz_string, var_Create, var_SetString, VLC_SUCCESS, and VLC_VAR_STRING.
Referenced by aout_FiltersDelete(), and aout_FiltersNew().
1.8.1.2