Thomas Guillem
33f1935c1c
aout: add Mono in "stereo-mode" option
...
Can be used to remix all input channels into one.
Close #8341 #18559
(cherry picked from commit 77e46ee5e9
)
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
2018-01-22 10:06:14 +01:00
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>
2017-11-24 08:50:54 +01:00
Thomas Guillem
0c788078e4
aout: move playlist_VolumeUp implementation to aout_VolumeUpdate
2017-09-05 10:19:32 +02:00
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.
2017-07-21 11:08:35 +02:00
Thomas Guillem
426710c117
aout: handle viewpoint change via audio filters
2017-07-19 18:06:26 +02:00
Thomas Guillem
a85ca0ed58
aout: add headphones option in stereo-mode
2017-07-19 18:06:26 +02:00
Thomas Guillem
711650edc6
aout: handle headphones in aout_filters_cfg_t
2017-07-19 18:06:26 +02:00
Thomas Guillem
68239f63b6
aout: add a struct to configure the filter chain
2017-07-19 18:06:26 +02:00
Adrien Maglo
7f58c002ed
ES: similar audio format have the same channel_type
...
Signed-off-by: Thomas Guillem <thomas@gllm.fr>
2017-07-19 18:06:26 +02:00
Thomas Guillem
ccae20b077
aout: don't restart the decoder when changing stereo-mode
2017-07-17 13:51:37 +02:00
Thomas Guillem
97b1d6bb0d
aout: define AOUT_RESTART_* as flags
...
These 2 defines are already used as flags in audio_output/dec.c
2017-07-17 13:35:31 +02:00
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.
2017-07-13 17:15:51 +02:00
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.
2017-07-13 17:13:13 +02:00
Steve Lhomme
9d4b040882
aout: constify the video_format_t when requesting a vout
...
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
2017-07-13 11:09:50 +02:00
Thomas Guillem
96b96301e5
aout: hide aout_ChannelsRestart callback
2017-07-12 17:43:10 +02:00
Thomas Guillem
7e41f98e25
aout: TRUEHD and MLP are HDMI formats
2016-10-07 12:09:56 +02:00
Thomas Guillem
14eadb95ba
aout: remove unused AOUT_RESTART_DECODER
2016-09-21 13:42:01 +02:00
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.
2016-09-14 15:16:20 +02:00
Thomas Guillem
3f9cef08dc
aout: VLC_CODEC_EAC3 is a S/PDIF format
2016-09-12 15:16:08 +02:00
Thomas Guillem
068958cf76
filter: add aout_FiltersDrain and aout_FiltersFlush
...
These function will drain/flush the chain of filters of the audio output.
2015-11-03 16:18:38 +01:00
Rémi Denis-Courmont
aee51fec5a
include: add/fix more Doxygen groups
2015-06-14 23:25:38 +03:00
Rémi Denis-Courmont
c2fa7f2e00
include: fix typos
2015-06-14 19:04:46 +03:00
Rémi Denis-Courmont
b549a2f669
aout: robustify channel reordering
2014-08-30 12:50:21 +03:00
Rémi Denis-Courmont
a7877a29f0
aout: rework aout_Interleave()
...
This no longer assumes that planes are contiguous. It should help with
libav reference counting, and also avoids interleaving unused padding.
2013-08-08 20:19:51 +03:00
David Fuhrmann
50f7a078c4
vlc_aout.h: fix typo
2013-05-10 10:44:54 +02:00
Rémi Denis-Courmont
83660dd106
aout: export aout_Filters*() functions
2013-04-26 19:54:49 +03:00
Rémi Denis-Courmont
d3232605e1
Remove unused AOUT_VAR_*
2013-04-25 20:17:41 +03:00
Rémi Denis-Courmont
5c09789478
aout: remove ->device_enum ( fixes #8248 )
2013-04-14 11:50:38 +03:00
Rémi Denis-Courmont
51406fae40
aout: add proper event for device hotplug (refs #8248 )
2013-04-14 11:42:45 +03:00
Rémi Denis-Courmont
4c56d345a4
aout: remove packet helper
2013-04-13 21:03:49 +03:00
Rémi Denis-Courmont
2111fffacb
visual: remove abusive VLC_USED qualifier
...
Confusingly enough, aout_filter_RequestVout() is also used to release
the vout. In that case, ignoring the return value is perfectly fine.
2013-03-24 18:53:03 +02:00
David Fuhrmann
c62b9b03b0
aout: fix typo in comment
2013-03-23 17:55:10 +01:00
Ilkka Ollakka
ec3df8f49c
aout: add deinterleave helper for doing packet->planar for audio samples
2012-12-30 13:24:27 +02:00
Rémi Denis-Courmont
861e38b0fc
aout: add aout_Interleave() helper for interleaving
2012-12-22 00:18:11 +02:00
Rémi Denis-Courmont
6ba3c4bed4
aout: remove FI32 intermediate-only codec
...
With hardware FPU, FI32 was only used within the mad decoder and
internally converted to FL32. With software FPU, FI32 did not work
properly as the S16N conversion was broken (at least since VLC1.1.0).
2012-12-21 20:34:51 +02:00
Rémi Denis-Courmont
4440bb6bde
vlc_aout: remove comments copied from libmad
2012-12-21 20:05:33 +02:00
Rémi Denis-Courmont
51087cc213
aout: pass FOURCC instead of bits to aout_ChannelsReorder()
...
To fix type aliasing, we need to know whether the data is float or integer,
or use only char pointers.
Also add support for FL64 and arbitrary lengths.
2012-12-20 21:29:39 +02:00
Rémi Denis-Courmont
f74db532f7
aout: use aout_RequestRestart() where applicable
2012-12-16 16:49:57 +02:00
Rémi Denis-Courmont
e38ea904ad
aout: add event to request pipeline reinitialization
2012-12-16 16:35:10 +02:00
Rémi Denis-Courmont
a249b33b58
aout: external functions for devices selection
2012-12-16 11:46:18 +02:00
Rémi Denis-Courmont
c30620288c
aout: add device selection callbacks
...
This will replace the "audio-device" variable that was hard-coded into
audio output plugins.
2012-12-15 17:22:16 +02:00
Rémi Denis-Courmont
ca4846feee
aout: factor out mdate() from the time_get() callback
2012-11-22 22:23:17 +02:00
Rémi Denis-Courmont
70c1ea6b1b
Remove aout_PacketPause()
2012-11-17 18:11:39 +02:00
Rémi Denis-Courmont
024ca98d52
aout: make flush operation mandatory
2012-11-16 18:49:50 +02:00
Rémi Denis-Courmont
939783abde
aout: document time_get return value
2012-11-16 18:13:01 +02:00
Rémi Denis-Courmont
c19df7839c
aout: separate time and play callbacks
2012-11-12 23:01:24 +02:00
Rémi Denis-Courmont
f492f85cb3
aout: improve plugin interface documentation
2012-11-12 21:36:26 +02:00
Rémi Denis-Courmont
978d581b98
Shrink channel reordering tables to 9-10 bytes (from 36-40 bytes)
2012-11-11 13:17:43 +02:00
Rémi Denis-Courmont
784b1bd3d4
aout_CheckChannelReorder: remove redundant parameter
...
The number of channels is conveyed in the channels mask.
2012-11-11 13:17:42 +02:00
Rémi Denis-Courmont
49e1047e88
aout_ChannelReorder: optimize 16 and 32 bits cases with aligned access
2012-11-11 00:21:46 +02:00