Re: Can't play sound two USB audio device at the same time

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I've also tested two audio devices with alsa-1.0.17  on Ubuntu 8.10,
still can't play sound on two devices concurrently.

I can play sound on each device at a time, but don't work on both at the
same time.

Jason

On Mon, 2008-10-20 at 12:01 -0600, Jason Kim wrote:
> Hi All,
> 
> OS: 8.04
> Advanced Linux Sound Architecture Driver Version 1.0.16
> Compiled on Apr 21 2008 for kernel 2.6.24-16-generic (SMP)
> 
> I have two USB audio device as follow:
> 0 [default_1      ]: USB-Audio - C-Media USB Headphone Set  
>                       C-Media USB Headphone Set   at
> usb-0000:00:11.3-2.2, full speed
>  1 [default        ]: USB-Audio - C-Media USB Headphone Set  
>                       C-Media USB Headphone Set   at
> usb-0000:00:11.3-1.2, full speed
>  2 [UART           ]: MPU-401 UART - MPU-401 UART
>                       MPU-401 UART at 0x330, irq 10
> 
> The problem I have is I can't play two audio devices at the same time.
> 
> Sound works if I run following commands on each device at a time:
> 
> $ speaker-test -Dplughw:0 -t wav  (works)
> 
> then
> 
> $ speaker-test -Dplughw:1 -t wav  (works)
> 
> 
> But, if I run this commands at the same time from two terminal programs,
> I got following error on second command:
> 
> root@test1-desktop:~# speaker-test -Dplughw:1 -t wav
> 
> speaker-test 1.0.15
> 
> Playback device is plughw:1
> Stream parameters are 48000Hz, S16_LE, 1 channels
> WAV file(s)
> Rate set to 48000Hz (requested 48000Hz)
> Buffer size range from 96 to 262144
> Period size range from 48 to 131072
> Using max buffer size 262144
> Periods = 4
> was set period_size = 65536
> was set buffer_size = 262144
> Unable to set hw params for playback: Broken pipe
> Setting of hwparams failed: Broken pipe
> 
> 
> It always fails on second command. 
> 
> Is it known problem?  Anyone knows how to fix this?
> 
> Jason
> 
> 
> 
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
> Build the coolest Linux based applications with Moblin SDK & win great prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> Alsa-user mailing list
> Alsa-user@xxxxxxxxxxxxxxxxxxxxx
> https://lists.sourceforge.net/lists/listinfo/alsa-user



-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Alsa-user mailing list
Alsa-user@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/alsa-user

[Index of Archives]     [ALSA Devel]     [Linux Audio Users]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]

  Powered by Linux