]> code.delx.au - pulseaudio/commit
alsa: Give compressed formats preference over PCM
authorArun Raghavan <arun.raghavan@collabora.co.uk>
Tue, 4 Oct 2011 05:35:59 +0000 (11:05 +0530)
committerArun Raghavan <arun.raghavan@collabora.co.uk>
Tue, 4 Oct 2011 06:59:32 +0000 (12:29 +0530)
commitfc8702ee81f1ceb034a3b19f4a0603c46a02c515
tree52a91ac0198078d9e6b0388a7ac0ddedea4551dd
parentb0d9c78f3ea8b1183b8a89239153f752b4376eec
alsa: Give compressed formats preference over PCM

This makes set_formats() put PCM formats lower down the list than
compressed formats since we negotiate by picking the first format in
this list that is also in the client-provided list of possible formats
during sink input creation.

This will be incorrect if we ever decide to do encoding in PA (for
things like AC3/DTS encoding for multichannel output over S/PDIF).
src/modules/alsa/alsa-sink.c