The same mode is always used from modules: AOUT_RESTART_OUTPUT.
There is no use to restart filters and change stereo-mode from modules.
It is not always necessary to restart the audio decoder (restart_dec=true).
This will be modified in each modules separately.
include/vlc_aout.h:438: warning: argument 'ptr' of command @param is not found in the argument list of aout_ChannelReorder(void *, size_t, uint8_t, const uint8_t *, vlc_fourcc_t)
include/vlc_aout.h:438: warning: argument 'bytes' of command @param is not found in the argument list of aout_ChannelReorder(void *, size_t, uint8_t, const uint8_t *, vlc_fourcc_t)
include/vlc_aout.h:438: warning: argument 'channels' of command @param is not found in the argument list of aout_ChannelReorder(void *, size_t, uint8_t, const uint8_t *, vlc_fourcc_t)
include/vlc_aout.h:438: warning: argument 'chans_table' of command @param is not found in the argument list of aout_ChannelReorder(void *, size_t, uint8_t, const uint8_t *, vlc_fourcc_t)
include/vlc_aout.h:438: warning: argument 'fourcc' of command @param is not found in the argument list of aout_ChannelReorder(void *, size_t, uint8_t, const uint8_t *, vlc_fourcc_t)
src/audio_output/output.c:912: warning: The following parameter of aout_DeviceSet(audio_output_t *aout, const char *id) is not documented:
parameter 'aout'
include/vlc_aout.h:554: warning: argument 'id' of command @param is not found in the argument list of aout_DeviceSet(audio_output_t *aout, const char *d)
include/vlc_aout.h:554: warning: The following parameter of aout_DeviceSet(audio_output_t *aout, const char *d) is not documented:
parameter 'd'
src/audio_output/output.c:929: warning: The following parameter of aout_DevicesList(audio_output_t *aout, char ***ids, char ***names) is not documented:
parameter 'aout'
src/audio_output/output.c:851: warning: The following parameter of aout_VolumeUpdate(audio_output_t *aout, int value, float *volp) is not documented:
parameter 'aout'
include/vlc_aout.h:378: warning: The following parameter of aout_GainRequest(audio_output_t *aout, float gain) is not documented:
parameter 'aout'
include/vlc_aout.h:367: warning: The following parameter of aout_HotplugReport(audio_output_t *aout, const char *id, const char *name) is not documented:
parameter 'aout'
include/vlc_aout.h:350: warning: The following parameter of aout_PolicyReport(audio_output_t *aout, bool cork) is not documented:
parameter 'aout'
This partially reverts commit 02293b1df3.
Don't update the audio clock from this event but store the points in a
circular buffer. The play function will update the clock according to
these points.
Refs #27023
Only the visualisation aout filters need the clock for the vout (for
now).
Create one slave clock per visualisation aout filter instead of always
creating one for all visualisation aout filters.
aout_DecDrain() is now asynchronous, except for modules still implementing
aout->drain (only during the transition).
Add aout->drain_async(). Aout modules should implement drain_async
instead of drain, and call aout_DrainedReport() to report that the
stream is drained.
Aout modules not implementing any drain functions will still rely on
aout_TimeGet() to detect the end of the stream.
The aout->current_sink_info.headphones special case is handled after the
aout is started. At this point, only the filters need to be updated (via
filters_cfg).
This API will be used by the aout, and could be used by any visualisation
module needing audio measurements.
This API allows to create "audio meter" filters plugins. This new type of
filter is measuring audio blocks without modifying them and send the
measurement via audio filters callbacks. These events are then propagated to
vlc_audio_meter events.
This new fourcc should only by used for audio output and filters. Decoder,
packetizers, and demuxers should not set it (but use PROFILE_DTS_* instead).
This callback is not mandatory. If it is NULL, the core will wait for the delay
returned by time_get(). This was already the case for most aout plugins:
PulseAudio, coreaudio, Android, DirectSound, Wasapi, and Jack.
This new function replace the private aout_ChangeFilterString() function with
some simplifications:
- Remove the variable argument since this function is always used for
"audio-filter".
- Remove the manager argument since the aout is created from the playlist and
is constant.