Thomas Guillem
8759eeadee
fourcc: add VLC_CODEC_DTSHD
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).
7 years ago
Thomas Guillem
64373b8efd
aout: document first time_get()/play() behavior
7 years ago
Rémi Denis-Courmont
e3270f2ae4
objects: merge vlc_object_t and vlc_common_members
This should fix historical aliasing issues.
7 years ago
Thomas Guillem
7d6fe91b57
aout: assert that callbacks are valid
Like said in the documentation.
8 years ago
Thomas Guillem
282c9fd3ad
aout: the stop implementation is now mandatory
8 years ago
Thomas Guillem
2049d40876
aout: use a separate drain callback
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.
8 years ago
Rémi Denis-Courmont
b602e224bc
aout: add timing notify
Signed-off-by: Thomas Guillem <thomas@gllm.fr>
8 years ago
Rémi Denis-Courmont
eaac577868
aout: remove transitional aout_filter_PutVout()
8 years ago
Rémi Denis-Courmont
a0d05757eb
decoder: remove aout_request_vout_t
8 years ago
Rémi Denis-Courmont
01fcf9c1d1
aout: remove useless parameter to aout_FiltersNew()
8 years ago
Rémi Denis-Courmont
16fb2fea16
visualization: split RequestVout in GetVout and PutVout
8 years ago
Thomas Guillem
1b4cf92161
aout: add aout_EnableFilter
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.
8 years ago
Steve Lhomme
064ed73ff7
include: replace hardcoded CLOCK_FREQ fractions/multiples by VLC_TICK macros
8 years ago
Steve Lhomme
b9bf86ebaa
include: replace hardcoded CLOCK_FREQ fractions by VLC_TICK_FROM_MS()
8 years ago
Steve Lhomme
c2dd9ed868
include: replace hardcoded CLOCK_FREQ multiples by VTICK_FROM_SEC()
8 years ago
Steve Lhomme
b4dfbc6283
rename mdate() to vlc_tick_now()
The lua "mdate" remains the same.
8 years ago
Steve Lhomme
ff56c92a5e
rename mtime_t to vlc_tick_t
Keep a copy of vlc_tick_tfor backward compatibility.
8 years ago
Rémi Denis-Courmont
786bb81136
Revert "aout: shrink table storage"
This reverts commit 366cb77662 .
8 years ago
Rémi Denis-Courmont
366cb77662
aout: shrink table storage
15 years ago
Rémi Denis-Courmont
5476c7280d
aout: always provide pause
8 years ago
Rémi Denis-Courmont
a6c20e0fb9
aout: make time_get callback mandatory
8 years ago
Rémi Denis-Courmont
4878b1a872
aout: always provide time_get
8 years ago
Rémi Denis-Courmont
e7abf4a4a9
aout: update Doxygen
8 years ago
Rémi Denis-Courmont
f1b244cd43
aout: pass system play time to play callback
8 years ago
Rémi Denis-Courmont
f80f542a97
aout: use float rate for filters
8 years ago
Rémi Denis-Courmont
590d7c6ee8
aout: move aout events to truly separate structure
8 years ago
Romain Vimont
6429b8ea83
core: replace aout_sys_t* by void*
See #17078
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
8 years ago
Kamil Rytarowski
ab23a02cc9
Rename popcount to vlc_popcount
This removes conflicts with the NetBSD headers and libc.
The conflicts caused fatal build errors.
No functional change intended for other Operating Systems.
Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
9 years ago
Thomas Guillem
77e46ee5e9
aout: add Mono in "stereo-mode" option
Can be used to remix all input channels into one.
9 years ago
Rémi Denis-Courmont
c3dea95c4a
Expand VLC_COMMON_MEMBERS
This is now a one-liner. Expansion helps readability/high-lighting.
9 years ago
Lyndon Brown
9e64d40264
includes/aout: fix incorrect mention of 24-bit support
Left over from 8d73a4d79b
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
9 years ago
Thomas Guillem
0c788078e4
aout: move playlist_VolumeUp implementation to aout_VolumeUpdate
9 years ago
Thomas Guillem
0e644ebbf1
aout: add current_sink_info struct
This new struct can be filled from the start() function of aout modules.
It contains (for now) only one member: the headphones state.
9 years ago
Thomas Guillem
426710c117
aout: handle viewpoint change via audio filters
10 years ago
Thomas Guillem
a85ca0ed58
aout: add headphones option in stereo-mode
9 years ago
Thomas Guillem
711650edc6
aout: handle headphones in aout_filters_cfg_t
9 years ago
Thomas Guillem
68239f63b6
aout: add a struct to configure the filter chain
9 years ago
Adrien Maglo
7f58c002ed
ES: similar audio format have the same channel_type
Signed-off-by: Thomas Guillem <thomas@gllm.fr>
10 years ago
Thomas Guillem
ccae20b077
aout: don't restart the decoder when changing stereo-mode
9 years ago
Thomas Guillem
97b1d6bb0d
aout: define AOUT_RESTART_* as flags
These 2 defines are already used as flags in audio_output/dec.c
9 years ago
Thomas Guillem
91f426996c
es: replace i_original_channels with i_chan_mode
Rename i_original_channels to i_chan_mode. For now, chan modes can be
DOLBYSTEREO or DUALMONO.
This new value, i_chan_mode, should only be set by demuxes/codecs/packetizers
if there is a special stereo mode to handle.
9 years ago
Thomas Guillem
beb248a3f2
aout: aout_FiltersNew() can now remap channels
Add the possibility to pass an array of chan orders to the aout_FiltersNew
function.
9 years ago
Steve Lhomme
9d4b040882
aout: constify the video_format_t when requesting a vout
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
9 years ago
Thomas Guillem
96b96301e5
aout: hide aout_ChannelsRestart callback
9 years ago
Thomas Guillem
7e41f98e25
aout: TRUEHD and MLP are HDMI formats
10 years ago
Thomas Guillem
14eadb95ba
aout: remove unused AOUT_RESTART_DECODER
10 years ago
Thomas Guillem
47c74c4e98
vlc_aout: add AOUT_FMT_HDMI
And remove EAC3 from AOUT_FMT_SPDIF.
We don't want to implement new codecs like EAC3 on old audio output. These
old audio output will continue to use the AOUT_FMT_SPDIF define.
10 years ago
Thomas Guillem
3f9cef08dc
aout: VLC_CODEC_EAC3 is a S/PDIF format
10 years ago
Thomas Guillem
068958cf76
filter: add aout_FiltersDrain and aout_FiltersFlush
These function will drain/flush the chain of filters of the audio output.
11 years ago
Rémi Denis-Courmont
aee51fec5a
include: add/fix more Doxygen groups
11 years ago