From e15481ead528cd255119d813086ae2f4bd1b8012 Mon Sep 17 00:00:00 2001
From: Lars Immisch
mode - can be either PCM_NONBLOCK, or PCM_NORMAL
(default).
rate - the sampling rate in Hz. Typical values are 8000
--(mainly used for telephony),
-16000,44100(default),48000and96000.
rate - the sampling rate in Hz. Typical values are 8000 (mainly used for telephony), 16000, 44100 (default), 48000 and 96000.
channels - the number of channels. The default value is 2 (stereo).
format - the data format. This controls how the PCM device interprets data for playback, and how data is encoded in captures.
The default value is PCM_FORMAT_S16_LE.