From mboxrd@z Thu Jan 1 00:00:00 1970 From: Lee Revell Subject: Re: different between "default" and "hw:0,0"? Date: Tue, 28 Nov 2006 11:08:22 -0500 Message-ID: <1164730102.29695.57.camel@mindpipe> References: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: alsa-devel-bounces@lists.sourceforge.net Errors-To: alsa-devel-bounces@lists.sourceforge.net To:  Cc: alsa-devel@lists.sourceforge.net List-Id: alsa-devel@alsa-project.org 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