libsigrok/hardware/alsa
Alexandru Gagniuc 65faa197ae alsa: Find supported samplerates during device scan
Since we are using the 'hw' interface of ALSA, we don't have the luxury of
samplerate conversion, given by the 'plughw' interface. If we try to set a
samplerate that is not supported, ALSA will just throw an error.

We can test for the supported samplerates, and create a list of supported
samplerates, then limit the selection to only those values. The frontend can
query the list of supported samplerates.

Signed-off-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>
2013-01-01 00:37:17 +01:00
..
Makefile.am alsa: Split into api.c and protocol.c 2012-12-23 17:25:37 +01:00
api.c alsa: Find supported samplerates during device scan 2013-01-01 00:37:17 +01:00
protocol.c alsa: Find supported samplerates during device scan 2013-01-01 00:37:17 +01:00
protocol.h alsa: Find supported samplerates during device scan 2013-01-01 00:37:17 +01:00