LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices



Reply
 
Search this Thread
Old 05-28-2004, 01:06 PM   #1
redneon
Member
 
Registered: Aug 2003
Posts: 103

Rep: Reputation: 15
Set default ALSA device


Is it possible to set the default ALSA device? I have an Audigy2 NX card and have to create a device (called 48000) to upmix 44000hz sample rates to 48000hz so they sound right. My ~/.asoundrc file looks like this at the moment...

pcm.48000Hz {
type plug
slave {
pcm "hw:0,0"
rate 48000
}
route_policy default
}

Is there any way to get ALSA to automatically use this device so the sound always sounds right?

Darrell
 
Old 05-28-2004, 02:44 PM   #2
proudclod
Member
 
Registered: May 2004
Distribution: Fedora Core 2
Posts: 381

Rep: Reputation: 30
Ditto, this would be very useful.
 
Old 06-01-2004, 10:02 AM   #3
redneon
Member
 
Registered: Aug 2003
Posts: 103

Original Poster
Rep: Reputation: 15
I've figured out how to do it thanks so someone on the ALSA mailing list. This is my ~/.asoundrc file...

Code:
pcm.NX48000Hz
{
	type plug
	slave
	{
		pcm "hw:0,0"
		rate 48000
	}
	route_policy default
}

pcm.!default = NX48000Hz
That should work a treat. Is does for me anyways.

Darrell
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
setting the alsa default device Byenary Linux - Newbie 3 06-12-2005 01:52 PM
Getting error: "ALSA device "default" is already in use by another program." brynjarh Debian 7 02-04-2005 12:45 PM
default alsa device? tw001_tw Slackware 3 10-21-2004 12:20 PM
ALSA error: ALSA device "default" is already in use by another program. darkleaf Linux - Software 2 07-20-2004 05:34 PM
ALSA: Setting default device, MDK10-C. nATEmATE Linux - Software 0 05-07-2004 06:54 PM


All times are GMT -5. The time now is 11:33 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration