mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-12 13:30:10 -05:00
resampler: Flag for remixing to all sink channels.
Add a flag PA_RESAMPLER_NO_FILL_SINK, which controls whether remixing should attempt to use all sink channels, versus only the ones needed to reproduce the source audio. BugLink: https://bugs.freedesktop.org/show_bug.cgi?id=62588 BugLink: https://bugs.freedesktop.org/show_bug.cgi?id=94563 Suggested-by: Alexander E. Patrakov <patrakov@gmail.com>
This commit is contained in:
parent
e2968b5738
commit
21c3570b12
2 changed files with 75 additions and 10 deletions
|
|
@ -68,7 +68,8 @@ typedef enum pa_resample_flags {
|
|||
PA_RESAMPLER_VARIABLE_RATE = 0x0001U,
|
||||
PA_RESAMPLER_NO_REMAP = 0x0002U, /* implies NO_REMIX */
|
||||
PA_RESAMPLER_NO_REMIX = 0x0004U,
|
||||
PA_RESAMPLER_NO_LFE = 0x0008U
|
||||
PA_RESAMPLER_NO_LFE = 0x0008U,
|
||||
PA_RESAMPLER_NO_FILL_SINK = 0x0010U,
|
||||
} pa_resample_flags_t;
|
||||
|
||||
struct pa_resampler {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue