Re: [Alsa-user] arecord: set_params:1239: Channels count non available
Brought to you by:
perex
|
From: Roger <rog...@gm...> - 2014-03-17 15:54:32
|
=== Audacity ===
FYI: Audacity does have mixer/mixing options for selecting or recording only a
Mono channel for the mic/microphone channel.
ie. "1 (Mono) Input Channel" or "2 (Stereo) Input Channels"
=== Traceback into arecord (or aplay.c) ===
A little further into the source code of alsa-utils:
alsa-utils-1.0.27.2/aplay/aplay.c
@ Line 1238:
err = snd_pcm_hw_params_set_channels(handle, params, hwparams.channels);
if (err < 0) {
error(_("Channels count non available"));
prg_exit(EXIT_FAILURE);
=== English Grammar Corrections ===
1) Concerning the incorrect usage of the word " non ", the following should
find all occurances of the word " non " which imply " not ":
fgrep /var/tmp/portage/media-sound/alsa-utils-1.0.27.2 -r -e " non "
2) Although "Channel count" is the correct English grammar form, I think the
programmeres intentions were to make explicit reference to the variable
"channels", or "--channels".
Following should find all occurances of the incorrect plural usage of
"Channels", but I do not think this requires any correction!
fgrep /var/tmp/portage/media-sound/alsa-utils-1.0.27.2 -r -e "Channels count"
--
Roger
http://rogerx.freeshell.org/
|