mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-09 13:29:59 -05:00
sink: Remove PASSTHROUGH flag
This removes the passthrough flag from sinks since we will drop exclusively passthrough sinks in favour of providing a list of formats supported by each sink. We can still determine whether a sink is in passthrough mode by checking if any non-PCM streams are attached to it.
This commit is contained in:
parent
54c391e6db
commit
71ec9577cf
5 changed files with 41 additions and 60 deletions
|
|
@ -739,12 +739,7 @@ typedef enum pa_sink_flags {
|
|||
/**< The latency can be adjusted dynamically depending on the
|
||||
* needs of the connected streams. \since 0.9.15 */
|
||||
|
||||
PA_SINK_PASSTHROUGH = 0x0100U,
|
||||
/**< This sink has support for passthrough mode. The data will be left
|
||||
* as is and not reformatted, resampled, mixed.
|
||||
* \since 1.0 */
|
||||
|
||||
PA_SINK_SYNC_VOLUME = 0x0200U,
|
||||
PA_SINK_SYNC_VOLUME = 0x0100U,
|
||||
/**< The HW volume changes are syncronized with SW volume.
|
||||
* \since 1.0 */
|
||||
|
||||
|
|
@ -753,7 +748,7 @@ typedef enum pa_sink_flags {
|
|||
* The server will filter out these flags anyway, so you should never see
|
||||
* these flags in sinks. */
|
||||
|
||||
PA_SINK_SHARE_VOLUME_WITH_MASTER = 0x0400U,
|
||||
PA_SINK_SHARE_VOLUME_WITH_MASTER = 0x0200U,
|
||||
/**< This sink shares the volume with the master sink (used by some filter
|
||||
* sinks). */
|
||||
/** \endcond */
|
||||
|
|
@ -769,7 +764,6 @@ typedef enum pa_sink_flags {
|
|||
#define PA_SINK_DECIBEL_VOLUME PA_SINK_DECIBEL_VOLUME
|
||||
#define PA_SINK_FLAT_VOLUME PA_SINK_FLAT_VOLUME
|
||||
#define PA_SINK_DYNAMIC_LATENCY PA_SINK_DYNAMIC_LATENCY
|
||||
#define PA_SINK_PASSTHROUGH PA_SINK_PASSTHROUGH
|
||||
#define PA_SINK_SYNC_VOLUME PA_SINK_SYNC_VOLUME
|
||||
#define PA_SINK_SHARE_VOLUME_WITH_MASTER PA_SINK_SHARE_VOLUME_WITH_MASTER
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue