LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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 04-08-2005, 07:50 PM   #1
R00ts
Member
 
Registered: Mar 2004
Location: Austin TX, USA
Distribution: Ubuntu 11.10, Fedora 16
Posts: 547

Rep: Reputation: 30
Sound problem, only one channel???


I'm having a problem with my sound. I'm using ALSA and the onboard sound on this motherboard (RealTek ALC850 7.1 ch), The problem is that it seems to only want to play one audio stream at a time.

If I'm playing music on XMMS and I open a video with Xine, the video will play fine but with no audio. Instead xine is dumping a "xine_out.wav" file into my home directory. However if I stop XMMS and then play the video, it will work fine.


There's also issues with Macromedia Flash audio not working if other audio is playing.


Finally the audio that I wrote for the game in my sig won't work on my machine, and this is the first time that I've heard anyone say it didn't work. it spits out one of two errors, depending on if xmms is playing or not.

- With XMMS playing:
ERROR: Could not initialize mixer audio: No available audio device

- With no XMMS playing:
- open /dev/sequencer: No such device


So I checked /dev/sequencer:
Code:
roots@harima:~/dev/allacrost/dev_build$ ls -l /dev/sequencer*
crw-rw----  1 root audio 14, 1 2005-03-13 17:38 /dev/sequencer
lrwxrwxrwx  1 root root     10 2005-03-13 17:38 /dev/sequencer2 -> /dev/music


roots@harima:~/dev/allacrost/dev_build$ ls -l /dev/music 
crw-rw----  1 root audio 14, 8 2005-03-13 17:38 /dev/music

Can someone help me figure out how to resolve this issue? I'm not quite sure what to do. Thanks.


EDIT

I forgot to mention I tried running alsaconfig, but that didn't resolve the issue.

Last edited by R00ts; 04-08-2005 at 07:53 PM.
 
Old 04-09-2005, 10:51 AM   #2
R00ts
Member
 
Registered: Mar 2004
Location: Austin TX, USA
Distribution: Ubuntu 11.10, Fedora 16
Posts: 547

Original Poster
Rep: Reputation: 30
I fixed the problem. I made a .asoundrc file in my home directory with the following:

Code:
pcm.card0 {

type hw

card 0

mmap_emulation true

}

pcm.!output {
type dmix
ipc_key 1234
ipc_key_add_uid 1
slave {
pcm "card0"
period_time 0
period_size 1024
buffer_size 32768
rate 48000
}
bindings {
0 0
1 1
}
}

#
# DSNOOP output device
#
pcm.!input {
type dsnoop
ipc_key 4321
ipc_key_add_uid 1
slave {
pcm "card0"
period_time 0
period_size 1024
rate 48000
}
}

#
# ASYM duplex device
#
pcm.!duplex {
type asym
playback.pcm "output"
capture.pcm "input"
}

#
# Make the duplex device default
#
pcm.!default {
type plug
slave.pcm "duplex"
}

#
# OSS Compability

pcm.!dsp0 {
type plug
slave.pcm "duplex"
}

ctl.!mixer0 {
type hw
card 0
}
As I understand it this specific code will only work with onboard Intel/nVidia audio. And now the audio for my game works again as well. Hurray!
 
Old 06-19-2007, 05:12 PM   #3
Ceil
LQ Newbie
 
Registered: Jun 2007
Posts: 1

Rep: Reputation: 0
Just postin' to thank you I had the same issue, and the solution worked!

For the curious, I'm runnin' Xubuntu Feisty on kernel version 2.6.20-15-generic.
 
  


Reply



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
No Main Sound Channel tessmonsta Linux - Hardware 3 03-13-2006 10:16 PM
Slackware only one channel of sound? scribble Linux - Software 6 01-09-2006 10:54 PM
6 channel sound no sub Delphinusnz Mandriva 9 10-17-2004 05:43 AM
4 channel sound in AC97? kurtjo Linux - Hardware 8 08-18-2003 11:46 AM
4 Channel Sound How to? bongski55 Slackware 5 07-27-2003 10:00 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 07:51 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
Open Source Consulting | Domain Registration