Re: different between "default" and "hw:0,0"?

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

 



This would only apply to the PCM/data side of Alsa right? Not the 
control/mixer part, as from what I gatherd from the alsa wiki, 'default' 
is just a name for card 0.

Other than that, how can I still use software mixing, but force an 
application to use hw1 instead of hw0?

Lee Revell wrote:
> On Tue, 2006-11-28 at 13:26 +0800,  wrote:
>   
>> Hi all,
>> I'm new to alsa, and get some confused with "default" device and and the
>> "hw:0,0" device, do they have any difference?
>> i write a very simple media player app, using xine-lib, i modify the
>> xine config file, set the "audio.device.alsa_front_device" value to
>> "hw:0,0". 
>> i found that, when the value is "hw:0,0", the program can NOT run more
>> than one process at same time(I mean only one process can play
>> sound,others hang),
>> when the value set to "default", i can run more than one process, and
>> every app can play sound at same time.
>> so, it seems that, the "default" and he "hw0,0" are not same, and i
>> don't know the detail.
>>     
>
> Using the hw device bypasses ALSA's software mixing layer and thus only
> one app can play at a time.  Apps should always use "default" unless you
> know what you are doing.
>
> Lee
>
>
> -------------------------------------------------------------------------
> 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-devel mailing list
> Alsa-devel@xxxxxxxxxxxxxxxxxxxxx
> https://lists.sourceforge.net/lists/listinfo/alsa-devel
>   

-------------------------------------------------------------------------
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-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/alsa-devel

[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux