snd-usb-audio: dmix not working automatically

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

 



Hello,

I am using a Turtle Beach Audio Advantage Micro
(http://www.turtlebeach.com/site/products/audioadv/micro/) with the
snd-usb-audio driver (alsa 1.0.13). The card works (my thanks to the devs!),
but without a asound.conf file dmix does not work: when trying to run 

$ aplay test.wav

concurrently on two xterms the second one produces a 

aplay: main:550: audio open error: Device or resource busy

error message. At least here dmix is not working out of the box.

For other people out there with the same problem, at least on my system this
problem was fixed by using the following settings which I found online

pcm.!default {                           
        type plug                           
        slave {pcm "general_sound"}                                   
	}                                           
                                         
pcm.general_sound  {      
       type dmix 
       ipc_key 1024          
       slave {          
       pcm "hw:0,0"  
       period_time 0                   
       period_size 1024                           
       buffer_size 8192                                   
       periods 128                                           
       rate 44100              
    }                 
    bindings {     
        0 0           
        1 1               
    }   

ctl.general_sound {type hw card 0} 

One just needs to make sure that the the USB card gets index 0 for this to
work (Or change "hw:0,0" to "hw:1,0" and "card 0" to "card 1" in the snippet
above).

Best

Michael

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
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