On Jan 14 11:49:52, Jan Stary wrote:
> This is yesterday's current. Trying to record a _mono_
> sound with 'aucat -C 0:0 -o file.wav' seems to always
> result in a _stereo_ file, whether I specify -u or not,
> whether the aucat server is running or not
> (see script and dmesg below).

Forgot to add, 'rec -c1 file.wav' records a mono file:

h...@hp:~$ pgrep aucat
h...@hp:~$ rec -c 1 file.wav

Input File     : 'default' (sndio)
Channels       : 1
Sample Rate    : 48000
Precision      : 16-bit
Sample Encoding: 16-bit Signed Integer PCM
[...]
Aborted.

h...@hp:~$ file file.wav
file.wav: RIFF (little-endian) data, WAVE audio, Microsoft PCM, 16 bit, mono 
48000 Hz

h...@hp:~$ aucat -l
h...@hp:~$ pgrep aucat
11807

h...@hp:~$ rec -c 1 file.wav

Input File     : 'default' (sndio)
Channels       : 1
Sample Rate    : 48000
Precision      : 16-bit
Sample Encoding: 16-bit Signed Integer PCM
[...]
Aborted.

h...@hp:~$ file file.wav
file.wav: RIFF (little-endian) data, WAVE audio, Microsoft PCM, 16 bit, mono 
48000 Hz

Reply via email to