From: Mark Knecht Subject: RE: How do I make -D hw:0,1 default? Date: 03 Jun 2003 12:16:53 -0700 Sender: alsa-devel-admin@lists.sourceforge.net Message-ID: <1054667813.2274.13.camel@Wizard.knechthome.com> References: Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: Errors-To: alsa-devel-admin@lists.sourceforge.net List-Help: List-Post: List-Subscribe: , List-Unsubscribe: , List-Archive: To: Jaroslav Kysela Cc: Alsa-Devel List-Id: alsa-devel@alsa-project.org On Tue, 2003-06-03 at 11:58, Jaroslav Kysela wrote: > > > > Will this make device 1 default for all applications that require sound but > > do not ask for anything specific in terms of interfaces? > > The applications should use 'default' device name in that case. You can > override it, of course: > > pcm.!default { > ... put your configuration here ... > } > > You will propably copy pcm.via82xx configuration. > > Or you can redirect the default device to some another pcm: > > pcm.!default pcm.via82xx > > Jaroslav Our messages are crossing in the ether! ;-) OK, using pcm.!default worked great for the aplay example, but the game frozen-bubble still freezes up. Possibly it's a different problem? Starting it from a terminal yields: bash-2.05b$ frozen-bubble [[ Frozen-Bubble-1.0.0 ]] [SDL Init] [Graphics...] [Levels] [Sound Init] Ready. ALSA lib pcm_hw.c:467:(snd_pcm_hw_prepare) SNDRV_PCM_IOCTL_PREPARE failed: Device or resource busy Killed bash-2.05b$ !aplay aplay -D hw:0,1 data/wave/seque~10.wav Playing WAVE 'data/wave/seque~10.wav' : Signed 16 bit Little Endian, Rate 44100 Hz, Mono bash-2.05b$ Looking at frozen-bubble's --help listing, I do not see a way to direct that game's sound to anything special, nor do I think I should have to, should I? Thanks, Mark ------------------------------------------------------- This SF.net email is sponsored by: eBay Get office equipment for less on eBay! http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5