LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 09-01-2005, 05:19 AM   #1
Ian_Hawdon
Member
 
Registered: Feb 2003
Location: Newcastle Upon Tyne
Distribution: Arch
Posts: 326

Rep: Reputation: 34
ALSA problems mixing sounds!


Hi, i have an Nvidia Nforce 3 on my HP pavilion zv5000 series laptop.

i cant have any sound whilst xine is running and if any other sound has just happened before xine runs, it complains that the sound device is busy

here is my asound.conf file

Code:
#/etc/asound.conf start: 
pcm.!default {
  type plug
  slave.pcm "dmixer"
  }
pcm.dsp0 {
  type plug
  slave.pcm "dmixer"
  }
pcm.dmixer {
  type dmix
  ipc_key 1024
 slave {
  pcm "hw:0,0"
  period_time 0
  period_size 1024
 buffer_size 8192
  rate 44100
  }
 bindings {
  0 0
  1 1
  }
  }

ctl.dmixer {
  type hw
  card 0
  } 
#end.
I am running Fedora Core 4 x86_64, this config used to work on FC3!

Why is it not working!?!?!?
 
Old 09-01-2005, 10:21 PM   #2
foo_bar_foo
Senior Member
 
Registered: Jun 2004
Posts: 2,553

Rep: Reputation: 53
some programs just don't play nice and hold a lock on the sound
not sure about xine though once i read where it was a bug in pre 1.0.4 alsa that made xine not work with dmix
sometimes there are some rather deep discussions on the boards as to who will take responsibility for fixing incompatabilities and i think this one fell on ALSA so a kernel upgrade might fix it.

edit: oops just read you are using fedora4 (should have read that first)
bug must have reapeared sorry

just ignore me -- i live a life well wasted most of the time

Last edited by foo_bar_foo; 09-01-2005 at 10:23 PM.
 
Old 09-02-2005, 03:57 AM   #3
Ian_Hawdon
Member
 
Registered: Feb 2003
Location: Newcastle Upon Tyne
Distribution: Arch
Posts: 326

Original Poster
Rep: Reputation: 34
xine works if i set it to run through arts, but the sound is jumpy (arts is not good for music )

how can i check if the asound.conf is even being run at all?

on the alsa website it says it's called from

/usr/share/alsa/alsa.conf

but fedora had put it at

/etc/alsa/alsa.conf

is this the problem?
 
Old 09-02-2005, 05:46 AM   #4
Komakino
Senior Member
 
Registered: Feb 2004
Location: Somerset, England
Distribution: Slackware 10.2, Slackware 10.0, Ubuntu 9.10
Posts: 1,938

Rep: Reputation: 55
If sound in arts is jumpy you can change the buffer size. Kill artsd and then try running:
artsd --help
for all the possible options.
 
Old 09-02-2005, 10:22 AM   #5
Ian_Hawdon
Member
 
Registered: Feb 2003
Location: Newcastle Upon Tyne
Distribution: Arch
Posts: 326

Original Poster
Rep: Reputation: 34
The point is i dont want to use arts, alsa used to work on Fedora Core 3!
 
  


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
alsa and dmix for software mixing darkleaf Linux - Software 6 04-02-2005 02:20 AM
Alsa problems: Not enough substreams for hardware mixing Murri Mandriva 1 01-23-2005 09:35 AM
Alsa Problems: KDE System sounds work, everything else choppy! patkalolo Linux - Hardware 2 12-13-2004 09:40 PM
ALSA level mixing, possible? VIP3R Linux - Software 1 01-02-2004 12:44 PM
ALSA Mixing Problem Aagrajag Linux - Software 5 05-02-2003 07:40 AM

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

All times are GMT -5. The time now is 01:48 AM.

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