alsa-util/sink/source: Add infrastructure for supported sample formats 80/182580/3
authorSangchul Lee <sc11.lee@samsung.com>
Tue, 5 Jun 2018 08:10:34 +0000 (17:10 +0900)
committerSangchul Lee <sc11.lee@samsung.com>
Mon, 9 Jul 2018 01:21:10 +0000 (10:21 +0900)
commit6538fe70644a80fc4a9c62daa2b97a95704a02b0
treee5f1c556854717b9a47c9216f7b820233dc633c3
parent0f58eb33f7d3e9d3e855011c4c6db67aa684a5ed
alsa-util/sink/source: Add infrastructure for supported sample formats

There has been a function to get supported sample rates from alsa and
an array for it in userdata of each module-alsa-sink/source. Similarly,
this patch adds a function to get supported sample formats(bitdepth)
from alsa and an array for it to each userdata of the modules.

[Version] 11.1-41
[Issue Type] New feature

Change-Id: I80397d47324de0b80a24eaa619cd03da8417f746
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
packaging/pulseaudio.spec
src/modules/alsa/alsa-sink.c
src/modules/alsa/alsa-source.c
src/modules/alsa/alsa-util.c
src/modules/alsa/alsa-util.h