Thomas Guillem
36a5138cc0
converter/tospdif: fix eac3 with dependent streams
cf. comment.
8 years ago
Thomas Guillem
45c67e4997
Revert "spdif: eac3: handle packetized and no packetized blocks"
cf. the next commit for the correct fix.
This reverts commit 77f025321f .
This reverts commit dee8d0bc53 .
8 years ago
Thomas Guillem
77f025321f
spdif: eac3: add more checks
8 years ago
Thomas Guillem
dee8d0bc53
spdif: eac3: handle packetized and no packetized blocks
Handle the case where there are more than one a52 streams in a block.
8 years ago
Thomas Guillem
5e8c3cf6e1
spatialaudio: fix flush when blocks have different length
The calculation was wrong, we should compare the length of the previous block.
Regression from 1f246d2604
8 years ago
Thomas Guillem
7a960ca296
soxr: increase priority
This resampler is used by PulseAudio and used and tested since 3 years by our
android port. There is very good quality/CPU time ratio since it uses SIMD on
armv7/arm64/x86/x86_64.
It should be enabled by default, but should the priority be higher than src ?
8 years ago
Thomas Guillem
e381ec6c9e
spatialaudio: rename filter_sys_t to filter_spatialaudio
ODR related.
8 years ago
Rémi Denis-Courmont
477d18c723
Replace config_Get(Data|Lib)Dir() with config_GetSysDir()
8 years ago
Thomas Guillem
31e11f5bed
trivial: accept different chan_modes
This fixes a regression from 91f426996c
This regressions caused the audio converter chain to fail when a chan_mode
conversion was needed but no converter were found.
In the case of AOUT_CHANMODE_DOLBYSTEREO. The dolby converter won't work with a
stereo output. The lowest priority converter still need to handle this
conversion and drop the chan_mode conversion.
Fixes #19646
8 years ago
Thomas Guillem
1f246d2604
spatialaudio: reset PTS after a pause
This fixes stuffer on pause/unpause
Fixes #19406
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>
8 years ago
Rémi Denis-Courmont
53e0ff2707
compressor: fix double translation (refs #19769 )
8 years ago
Tristan Matthews
7cf5d92e95
spatialaudio: use CLOCK_FREQ
8 years ago
Thomas Guillem
008f755250
spatialaudio: remove useless sys->i_rate
8 years ago
Hannes Domani
16f3fdaa38
spatialaudio: use same rate for input/output
fixes #19369
Signed-off-by: Thomas Guillem <thomas@gllm.fr>
8 years ago
Adrien Maglo
387c991aac
spatialaudio: replace the FHK HRTF by the 3D Sound Labs HRTF
This HRTF is licensed under the GNU Lesser General Public License v2.1
or later.
Signed-off-by: Thomas Guillem <thomas@gllm.fr>
8 years ago
Rémi Denis-Courmont
72bfe44f98
Include <stdatomic.h> or <atomic> directly where applicable
8 years ago
Michał Trzebiatowski
293819990a
i18n: typo fixes
Signed-off-by: Michał Trzebiatowski <michtrz@gmail.com>
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
8 years ago
Jean-Baptiste Kempf
bb8cf576c1
Resampler: don't translate complex technical strings
9 years ago
Jean-Baptiste Kempf
ab9d021d2e
Strings simplification for translations
9 years ago
Thomas Guillem
bf1fcc36cc
scaletempo: use vlc_alloc helper
9 years ago
Thomas Guillem
43b49e5d35
normvol: use vlc_alloc helper
9 years ago
Thomas Guillem
fe555b4004
equalizer: use vlc_alloc helper
9 years ago
Thomas Guillem
9ddb89c4b5
spatialaudio: use vlc_alloc helper
9 years ago
Thomas Guillem
37f60bddae
scaletempo: move pitch submodule into a module
This commit fixes the pitch submodule being loaded in place of the scaletempo
main module.
Fixes #18896
9 years ago
Thomas Guillem
d8908c11ef
channel_mixer: remap: use same rate for input/output
9 years ago
Thomas Guillem
b6ea6f5d19
spatialaudio: fix invalid block length
It was caused by integer overflow.
9 years ago
Valentin Deniaud
d3e1f1455f
scaletempo: add pitch shifting submodule
The idea is to load a resampler in order to change the tempo along with the
pitch, then use scaletempo to get back to the initial tempo while keeping the
adjusted pitch.
Fixes #8396
Signed-off-by: Thomas Guillem <thomas@gllm.fr>
9 years ago
Thomas Guillem
a9fcd603ab
spatialaudio: error in case of mono output
9 years ago
Hugo Beauzée-Luyssen
5b95aa9445
remap: Fix missing NULL terminator
9 years ago
Thomas Guillem
c0d287e72f
core: rename vlc_keys.h to vlc_actions.h
Signed-off-by: Hugo Beauzée-Luyssen <hugo@beauzee.fr>
9 years ago
Tristan Matthews
d8107ad81c
spatialaudio: handle speaker memory allocation failure
9 years ago
Thomas Guillem
e61dee0091
core: move viewpoint to vlc_viewpoint.h
9 years ago
Jean-Baptiste Kempf
1b1529894e
spatialaudio: categorize as audio-filter in prefs
9 years ago
Adrien Maglo
8cd7cc7648
spatialaudio: add an Ambisonics audio renderer
This module converts ambisonics channels to physical ones.
This module contains also a binauralizer submodule: It applies a head-related
transfer function to each physical channel in order to simulate a 3D sound with
a headphone.
Signed-off-by: Thomas Guillem <thomas@gllm.fr>
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
26fd7d97f7
channel_mixer: trival: drop dual/reverse/left/right support
9 years ago
Thomas Guillem
b8b7eb6d6b
channel_mixer: remap: parse config_chain
9 years ago
Thomas Guillem
859ff5c4a9
channel_mixer: remap: handle -1 idx
And check variables boundaries.
-1 is now used to disable an input channel.
9 years ago
Thomas Guillem
ace50a28d7
channel_mixer: remap: override out format if not compatible
9 years ago
Thomas Guillem
408587e211
channel_mixer: trivial: update buffer size when dropping
This fixes an assert in aout_OutputPlay() when the aout get too much data.
9 years ago
Thomas Guillem
8e10fb5327
channel_mixer: headphone: prepare format on success
This fixes a i_bytes_per_frame/i_frame_length inconsistency when chaining more
than one audio filters.
9 years ago
Thomas Guillem
93827d63af
channel_mixer: mono: prepare format on success
This fixes a i_bytes_per_frame/i_frame_length inconsistency when chaining more
than one audio filters.
9 years ago
Thomas Guillem
4278d11dd1
chorus_flanger: prepare format on success
This fixes a i_bytes_per_frame/i_frame_length inconsistency when chaining more
than one audio filters.
9 years ago
Thomas Guillem
0db02d7f44
compressor: prepare format on success
This fixes a i_bytes_per_frame/i_frame_length inconsistency when chaining more
than one audio filters.
9 years ago
Thomas Guillem
893171e000
equalizer: prepare format on success
This fixes a i_bytes_per_frame/i_frame_length inconsistency when chaining more
than one audio filters.
9 years ago
Thomas Guillem
bbcc289b6f
karaoke: prepare format on success
This fixes a i_bytes_per_frame/i_frame_length inconsistency when chaining more
than one audio filters.
9 years ago
Thomas Guillem
7b878bb90e
normvol: prepare format on success
This fixes a i_bytes_per_frame/i_frame_length inconsistency when chaining more
than one audio filters.
9 years ago
Thomas Guillem
e58fd39024
scaletempo: prepare format on success
This fixes a i_bytes_per_frame/i_frame_length inconsistency when chaining more
than one audio filters.
9 years ago
Thomas Guillem
5efc7767c4
audiobargraph: prepare format on success
This fixes a i_bytes_per_frame/i_frame_length inconsistency when chaining more
than one audio filters.
9 years ago