From alsa-user-owner@alsa.jcu.cz  Mon Nov 30 09:14:11 1998
Received: from entry.jcu.cz (IDENT:perex@entry.jcu.cz [160.217.1.111])
	by marvin.jcu.cz (8.9.1a/8.9.1) with SMTP id JAA07236;
	Mon, 30 Nov 1998 09:05:49 +0100
Date: Mon, 30 Nov 1998 09:05:49 +0100 (CET)
From: Jaroslav Kysela <perex@jcu.cz>
To: Andras Wappel <t1k@freemail.c3.hu>
cc: alsa-user@alsa.jcu.cz
Subject: Re: gus pnp + simultaneous pcm 0,1 playback
In-Reply-To: <19981130004043.A6916@localhost>
Message-ID: <Pine.LNX.3.96.981130090445.21999A-100000@entry.jcu.cz>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Reply-To: alsa-user@alsa.jcu.cz
Sender: alsa-user-owner@alsa.jcu.cz
Precedence: list

On Mon, 30 Nov 1998, Andras Wappel wrote:

> Hello ALSA users !
> 
> 
> Should the subj. work already ?
> I mean playing audio samples with aplay on pcm0 and pcm1 at the same time ?
> 
> What I tried is:
> aplay -d 0 something.wav
> (on another console)
> aplay -d 1 another.wav , and I get: 
> Aplay: version 0.0.8 by Jaroslav Kysela <perex@jcu.cz>
> Error: audio open error: Device or resource busy
> 
> starting with pcm1 yields the same result - so both devices work , but not at the
> same time.
> 
> 
> Thanks for any explanation,
> 
> 
>     	    Andras
> 
> ps. here is some driver info:
> 
> Advanced Linux Sound Architecture Driver Version 0.2.0-pre10p1.                 
> Compiled in Nov 23 1998 for kernel 2.0.36.  
> 
> cards:
> 
> 0 [card1          ]: IW - InterWave                                             
>                      AMD InterWave at 0x220, irq 5, dma 0                          
                                                      ^^^^^
If you want use both PCM devices at same time, you must configure ALSA
driver for two DMA mode. One DMA isn't enough.

							Jaroslav

-----
Jaroslav Kysela <perex@jcu.cz>
Academic Computer Centre, University of South Bohemia
Branisovska 31, C. Budejovice, CZ-370 05 Czech Republic


