LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 08-11-2004, 11:12 PM   #1
tho_x_tran
Member
 
Registered: Dec 2003
Posts: 71

Rep: Reputation: 15
How to get both Analog and Digital sound at the same time


I could not have both Analog and Digital at the same time. either this or that. This is my /etc/asound.conf
### Analog output

### /etc/asound.conf for nforce2 apu (analog out, from http://www.wlug.org.nz/NForce2Notes)

pcm.!default {
type plug
slave.pcm "nforce"
}

pcm.nforce {
type dmix
ipc_key 1024
slave {
pcm "hw:0,0"
period_time 0
period_size 1024
buffer_size 4096
rate 48000
}
}

pcm.nforce-hw {
type hw
card 0
}

pcm.!default {
type plug
slave.pcm "nforce"
}

pcm.nforce {
type dmix
ipc_key 1234
slave {
pcm "hw:0,2"
period_time 0
period_size 1024
buffer_size 4096
rate 44100
}
}

ctl.nforce-hw {
type hw
card 0
}

The weird thing is the TV sound is able to go out to the Analog channel, but Xine and CD player sound goes to the Digital unless I switch the hw:0,2 to hw:0,0
 
Old 08-12-2004, 09:29 AM   #2
penguin4
Senior Member
 
Registered: May 2004
Location: california
Distribution: mdklinux8.1
Posts: 1,209

Rep: Reputation: 45
tho_x_tran; ah yes D & A different mathematically. but as you have described the switching maybe the only workaround. maybe wrong hope some one else has better answer.
 
  


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
Sound card recognized but no sound on SoundMAX Integrated Digital Audio xzallion Fedora 46 12-13-2006 11:18 PM
.alsaconfig help > need default device from analog to digital xrn0id Linux - Software 3 08-11-2004 05:36 PM
SB Live 5.1 - loud background noise from center channel (digital/analog out) digital vortex Linux - Hardware 4 05-19-2004 02:56 AM
ALSA / AC'97 - Analog Devices AD1985...No Sound using 2.6 kernel. HELP??? MarlyMar Linux - Hardware 6 03-02-2004 08:50 AM
SBLive 5.1 Analog sound Karts Linux - Hardware 2 05-10-2003 02:37 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 11:31 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration