
| #define AOUT_ASSERT_INPUT_LOCKED vlc_assert_locked( &p_input->lock ) |
Referenced by aout_InputCheckAndRestart(), and aout_InputPlay().
| #define AOUT_ASSERT_MIXER_LOCKED vlc_assert_locked( &p_aout->mixer_lock ) |
Referenced by aout_InputCheckAndRestart(), and aout_InputDelete().
| #define F | ( | r, | |||
| ir | ) | ( INPUT_RATE_DEFAULT * (r) / (ir) ) |
Referenced by aout_InputPlay().
| vout_thread_t* aout_filter_RequestVout | ( | filter_t * | p_filter, | |
| vout_thread_t * | p_vout, | |||
| video_format_t * | p_fmt | |||
| ) |
| void aout_InputCheckAndRestart | ( | aout_instance_t * | p_aout, | |
| aout_input_t * | p_input | |||
| ) |
References AOUT_ASSERT_INPUT_LOCKED, AOUT_ASSERT_MIXER_LOCKED, aout_FifoInit(), aout_InputDelete(), aout_InputNew(), aout_lock_input_fifos(), aout_unlock_input_fifos(), aout_input_t::b_paused, aout_input_t::b_restart, aout_mixer_input_t::begin, aout_mixer_input_t::fifo, aout_input_t::i_pause_date, audio_format_t::i_rate, aout_input_t::mixer, aout_instance_t::mixer_format, and aout_input_t::request_vout.
Referenced by aout_DecPlay().
| int aout_InputDelete | ( | aout_instance_t * | p_aout, | |
| aout_input_t * | p_input | |||
| ) |
References AOUT_ASSERT_MIXER_LOCKED, aout_FifoDestroy(), aout_FiltersDestroyPipeline(), aout_input_t::b_error, aout_input_t::b_recycle_vout, aout_mixer_input_t::fifo, aout_input_t::i_nb_filters, aout_input_t::i_nb_resamplers, aout_input_t::mixer, aout_input_t::pp_filters, aout_input_t::pp_resamplers, and var_GetString.
Referenced by aout_DecDelete(), aout_InputCheckAndRestart(), aout_Restart(), and DecNew().
| int aout_InputNew | ( | aout_instance_t * | p_aout, | |
| aout_input_t * | p_input, | |||
| const aout_request_vout_t * | p_request_vout | |||
| ) |
References _, __MAX, aout_FifoInit(), aout_FilterBufferNew(), aout_FiltersCreatePipeline(), aout_FiltersHintBuffers(), AOUT_FMT_NON_LINEAR, AOUT_FMTS_IDENTICAL, aout_FormatPrepare(), aout_FormatPrint(), AOUT_MAX_FILTERS, AOUT_MAX_RESAMPLING, AOUT_RESAMPLING_NONE, es_format_t::audio, aout_alloc_t::b_alloc, aout_input_t::b_error, aout_input_t::b_recycle_vout, aout_mixer_input_t::begin, config_FindConfig(), EqualizerCallback(), aout_mixer_input_t::fifo, filter_t::fmt_in, filter_t::fmt_out, i, audio_format_t::i_bytes_per_frame, aout_alloc_t::i_bytes_per_sec, es_format_t::i_codec, audio_format_t::i_format, audio_format_t::i_frame_length, aout_input_t::i_last_input_rate, module_config_t::i_list, aout_input_t::i_nb_filters, aout_input_t::i_nb_resamplers, audio_format_t::i_rate, aout_input_t::i_resampling_type, aout_input_t::input, aout_input_t::input_alloc, INPUT_RATE_DEFAULT, inputFailure(), aout_input_t::mixer, aout_instance_t::mixer_format, module_exists(), module_need, module_unneed, msg_Dbg, msg_Err, filter_owner_sys_t::p_aout, filter_owner_sys_t::p_input, filter_t::p_module, filter_t::p_owner, aout_input_t::p_playback_rate_filter, aout_request_vout_t::p_private, aout_request_vout_t::pf_request_vout, aout_input_t::pp_filters, aout_input_t::pp_resamplers, module_config_t::ppsz_list, module_config_t::ppsz_list_text, vlc_value_t::psz_string, ReplayGainCallback(), ReplayGainSelect(), aout_input_t::request_vout, RequestVout(), strdup(), text, var_AddCallback, var_Change, var_Create, var_Get, var_GetBool, var_GetString, var_SetString, var_Type, VisualizationCallback(), vlc_custom_create, VLC_OBJECT, vlc_object_attach, VLC_OBJECT_GENERIC, vlc_object_release, VLC_SUCCESS, VLC_VAR_ADDCHOICE, VLC_VAR_BOOL, VLC_VAR_DOINHERIT, VLC_VAR_FLOAT, VLC_VAR_HASCHOICE, VLC_VAR_SETTEXT, and VLC_VAR_STRING.
Referenced by aout_InputCheckAndRestart(), aout_Restart(), and DecNew().
| int aout_InputPlay | ( | aout_instance_t * | p_aout, | |
| aout_input_t * | p_input, | |||
| aout_buffer_t * | p_buffer, | |||
| int | i_input_rate | |||
| ) |
References AOUT_ASSERT_INPUT_LOCKED, aout_FifoNextStart(), aout_FifoPush(), aout_FifoSet(), aout_FiltersPlay(), aout_lock_input_fifos(), AOUT_MIN_PREPARE_TIME, AOUT_PTS_TOLERANCE, AOUT_RESAMPLING_DOWN, AOUT_RESAMPLING_NONE, AOUT_RESAMPLING_UP, aout_unlock_input_fifos(), es_format_t::audio, aout_mixer_input_t::begin, BLOCK_FLAG_DISCONTINUITY, block_Release(), F, aout_mixer_input_t::fifo, filter_t::fmt_in, block_t::i_flags, aout_input_t::i_last_input_rate, aout_input_t::i_nb_filters, aout_input_t::i_nb_resamplers, block_t::i_nb_samples, block_t::i_pts, audio_format_t::i_rate, aout_input_t::i_resamp_start_date, aout_input_t::i_resamp_start_drift, aout_input_t::i_resampling_type, aout_input_t::input, INPUT_RATE_DEFAULT, inputDrop(), inputResamplingStop(), mdate(), aout_input_t::mixer, msg_Warn, aout_input_t::p_playback_rate_filter, aout_input_t::pp_filters, and aout_input_t::pp_resamplers.
Referenced by aout_DecPlay().
| static int ChangeFiltersString | ( | aout_instance_t * | p_aout, | |
| const char * | psz_variable, | |||
| const char * | psz_name, | |||
| bool | b_add | |||
| ) | [static] |
References AoutChangeFilterString(), and VLC_OBJECT.
Referenced by VLCEqualizer::enable:, EqualizerCallback(), and VisualizationCallback().
| static int EqualizerCallback | ( | vlc_object_t * | p_this, | |
| char const * | psz_cmd, | |||
| vlc_value_t | oldval, | |||
| vlc_value_t | newval, | |||
| void * | p_data | |||
| ) | [static] |
References AoutInputsMarkToRestart(), ChangeFiltersString(), vlc_value_t::psz_string, var_Create, var_SetString, VLC_SUCCESS, and VLC_VAR_STRING.
Referenced by aout_InputNew().
| static void inputDrop | ( | aout_input_t * | p_input, | |
| aout_buffer_t * | p_buffer | |||
| ) | [static] |
| static void inputFailure | ( | aout_instance_t * | p_aout, | |
| aout_input_t * | p_input, | |||
| const char * | psz_error_message | |||
| ) | [static] |
References aout_FifoDestroy(), aout_FiltersDestroyPipeline(), aout_input_t::b_error, aout_mixer_input_t::fifo, aout_input_t::i_nb_filters, aout_input_t::i_nb_resamplers, aout_input_t::mixer, msg_Err, aout_input_t::pp_filters, aout_input_t::pp_resamplers, and var_Destroy.
Referenced by aout_InputNew().
| static void inputResamplingStop | ( | aout_input_t * | p_input | ) | [static] |
References AOUT_RESAMPLING_NONE, es_format_t::audio, filter_t::fmt_in, aout_input_t::i_last_input_rate, aout_input_t::i_nb_resamplers, audio_format_t::i_rate, aout_input_t::i_resampling_type, aout_input_t::input, INPUT_RATE_DEFAULT, aout_input_t::p_playback_rate_filter, and aout_input_t::pp_resamplers.
Referenced by aout_InputPlay().
| static int ReplayGainCallback | ( | vlc_object_t * | p_this, | |
| char const * | psz_cmd, | |||
| vlc_value_t | oldval, | |||
| vlc_value_t | newval, | |||
| void * | p_data | |||
| ) | [static] |
| static void ReplayGainSelect | ( | aout_instance_t * | p_aout, | |
| aout_input_t * | p_input | |||
| ) | [static] |
References AUDIO_REPLAY_GAIN_ALBUM, AUDIO_REPLAY_GAIN_MAX, AUDIO_REPLAY_GAIN_TRACK, aout_input_t::mixer, aout_mixer_input_t::multiplier, audio_replay_gain_t::pb_gain, audio_replay_gain_t::pb_peak, audio_replay_gain_t::pf_gain, audio_replay_gain_t::pf_peak, aout_input_t::replay_gain, var_GetBool, var_GetFloat, and var_GetNonEmptyString.
Referenced by aout_InputNew(), and ReplayGainCallback().
| static vout_thread_t * RequestVout | ( | void * | p_private, | |
| vout_thread_t * | p_vout, | |||
| video_format_t * | p_fmt, | |||
| bool | b_recycle | |||
| ) | [static] |
References cfg, VLC_UNUSED, and vout_Request.
Referenced by aout_InputNew(), and input_resource_RequestVout().
| static int VisualizationCallback | ( | vlc_object_t * | p_this, | |
| char const * | psz_cmd, | |||
| vlc_value_t | oldval, | |||
| vlc_value_t | newval, | |||
| void * | p_data | |||
| ) | [static] |
References AoutInputsMarkToRestart(), ChangeFiltersString(), vlc_value_t::psz_string, var_Create, var_SetString, VLC_SUCCESS, and VLC_VAR_STRING.
Referenced by aout_InputNew().
1.5.6