LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (http://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   audio mixing problem (http://www.linuxquestions.org/questions/linux-newbie-8/audio-mixing-problem-318077/)

jonhewer 04-28-2005 11:08 AM

audio mixing problem
 
hi

i have been having the following problem with both debian and ubuntu.

for some reason, as far as i am aware, only one program can play audio at any one time. for example if i am on a website which is playing sound, and then i open up zinf to play some other music, it wont work. and so on...

i found this link:

ubuntuforums.org/showthread.php?t=30076&highlight=nforce

however it has not helped :(

my mobo is a nvidia a7n8x deluxe with onboard sounds, nforce2 chipset

cheers

jonhewer 04-28-2005 12:22 PM

this is my ~/.asoundrc file:

Code:

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,0"
                period_time 0
                period_size 1024
                buffer_size 4096
                #rate 44100
                rate 48000
        }
}
ctl.nforce-hw {
        type hw
        card 0
}


foo_bar_foo 04-28-2005 03:01 PM

add this to what you have and see if it works better
Code:


pcm.dsp {
    type plug
    slave.pcm "nforce"
}

pcm.dsp0 {
    type plug
    slave.pcm "nforce"
}


#possibly this as well at the bottom (not sure about this one)?

pcm.nforce-hw {
    type plug
    slave.pcm "nforce"
}

# and possibly this

ctl.nforce {
        type hw
        card 0
    }

ctl.!default {
        type hw         
        card 0
        }

i think there is an extra chip kind of in the way on that board and its specs are not public
if all else fails possibly try nvidia driver and mixer

jonhewer 05-03-2005 06:03 PM

thanks for your reply

i have tried what u've suggested but haven't had much luck (been testing it with zinf playing an mp3 file, and firefox playing audio on a webpage which is a flash plugin)

i downloaded the nforce unified drivers from the nvidia site, however i cant seem to install them - i get the following error messages....

No precompiled kernel interface was found to match your kernel; this means
that the installer will need to compile a new kernel interface

ERROR: Unable to find the kernel source tree for the currently running
kernel. Please make sure you have installed the kernel source files
for your kernel; on Red Hat Linux systems, for example, be sure you
have the 'kernel-source' rpm installed. If you know the correct
kernel source files are installed, you may specify the kernel source
path with the '--kernel-source-path' commandline option.

sorry i'm a bit of a linux newbie, not sure what extactly i need to do to get this installed.

(btw, i am currently just using the ubuntu live cd until i get this sorted)

jonhewer 05-04-2005 03:38 PM

bump

foo_bar_foo 05-05-2005 12:31 AM

that seems rather self explanatory -- you can't build a kernel module without the kernel build directory
need to install kernel source package
let see -- if ubuntu is debian try something like
apt-cache search kernel
until you find it

jonhewer 05-05-2005 12:53 PM

ok, i have managed to get the driver compiled, but i am unsure about installing the module and getting it running. i have found the release notes here:

http://download.nvidia.com/XFree86/n...easeNotes.html

but they don't really describe what to do for ubuntu, which i am using.


All times are GMT -5. The time now is 08:42 PM.