[nas] [PATCH] use the mixer specified in the input section

Jon Trulson jon at radscan.com
Wed Aug 16 20:21:08 MDT 2006


On Thu, 17 Aug 2006, Erik Auerswald wrote:

> Hi,
>
> On Wed, Aug 16, 2006 at 07:20:11PM -0600, Jon Trulson wrote:
>> On Thu, 17 Aug 2006, Erik Auerswald wrote:
>>> On Wed, Aug 16, 2006 at 08:26:20PM +0200, Erik Auerswald wrote:
>>>> On Wed, Aug 16, 2006 at 01:36:42PM -0400, Paul Fox wrote:
>>>>> erik wrote:
[...]
>>         ...
>>         initMixer: opened output mixer device /dev/mixer
>>         initMixer: opened input mixer device /dev/mixer1
>>         initMixer: /dev/mixer1: using recording level control method 1
>>         Init: initMixer was successful
>>         ...
>
> This means that there are 2 mixer devices. According to the ALSA
> documentation this means that there are 2 sound "cards" configured. If
> you were to use the input jack of your SB PCI you would probably not be
> able to record anything with NAS.
>

         Ahh, you are correct.  You can see now that I use input alot
         with nas :)

[ landru: nas ] cat /proc/asound/cards
  0 [AudioPCI       ]: ENS1371 - Ensoniq AudioPCI
                       Ensoniq AudioPCI ENS1371 at 0xbc00, irq 22
  1 [Bt878          ]: Bt87x - Brooktree Bt878
                       Brooktree Bt878 at 0xcfa00000, irq 18

[ landru: nas ] cat /proc/asound/oss/sndstat
Sound Driver:3.8.1a-980706 (ALSA v1.0.11 emulation code)
Kernel: Linux landru 2.4.31 #2 SMP Sun Aug 13 04:37:51 MDT 2006 i686
Config options: 0

Installed drivers:
Type 10: ALSA emulation

Card config:
Ensoniq AudioPCI ENS1371 at 0xbc00, irq 22
Brooktree Bt878 at 0xcfa00000, irq 18

Audio devices:
0: ES1371 DAC2/ADC (DUPLEX)
1: Bt87x Digital

Synth devices: NOT ENABLED IN CONFIG

Midi devices:
0: ES1371

Timers:
7: system timer

Mixers:
0: SigmaTel STAC9708,11
1: Bt87x

[...]
> The ALSA documentation states that the OSS emulation module creates one
> /dev/dsp, /dev/adsp and /dev/mixer device per sound card. If there is a
> /dev/dsp1, /dev/adsp1 or /dev/mixer1 this belongs to another sound card.
> This could be on-board sound hardware or a TV card.
>

         TV card it is! :)

>>         Here is some suggested wording for a Note/Warning regarding
>>         the possible changed behavior. [...]
>
> I like it. :-)
>

         Ok, I'll put it near the top for the next dev release announcement.


-- 
Jon Trulson
mailto:jon at radscan.com http://radscan.com/~jon
#include <std/disclaimer.h>
"No Kill I" -Horta




More information about the Nas mailing list