LinuxQuestions.org
Register a domain and help support LQ
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
 
LinkBack Search this Thread
Old 07-24-2004, 02:20 PM   #1
Borka
Member
 
Registered: Jun 2004
Location: Sweden
Distribution: Ubuntu right now :/
Posts: 85

Rep: Reputation: 15
XMMS Sound Problems


Hey all..
I'v got a little problem with my Xmms..
When I try to play something is sounds realy bad, like a CD with to much scraths..
I'v started Xmms thru the console and tried to play something, then I'v saw a
warning message..

** WARNING **: alsa_mmap_audio(): snd_pcm_mmap_commit returned 15053, expected 1

It comme up constantly with just a few seconds between them..
And when they came up Xmms repeated a little bit of the song (like 0.1 sec or so)..
that is realy anoying, I can't lissen to music..

Can anybody help me with this?

//Borka..
 
Old 07-24-2004, 02:22 PM   #2
Cluster
LQ Newbie
 
Registered: Jul 2004
Location: Richardson, TX
Distribution: Gentoo Linux
Posts: 14

Rep: Reputation: 0
What sound system are you using? ALSA? What kernel version? If 2.6, do you have ALSA compiled into the kernel? If not 2.6, what version of alsa-driver?
 
Old 07-24-2004, 02:26 PM   #3
Borka
Member
 
Registered: Jun 2004
Location: Sweden
Distribution: Ubuntu right now :/
Posts: 85

Original Poster
Rep: Reputation: 15
Yes it's ALSA.. I'm running on the 2.6.3 kernel that followd Mandrake 10 official PowerPack.. and I think it is complied curs it works with other apps like the movie player Totem, MPlayer and VLC.. they plays the sound realy grate..

//Borka
 
Old 07-24-2004, 02:36 PM   #4
Cluster
LQ Newbie
 
Registered: Jul 2004
Location: Richardson, TX
Distribution: Gentoo Linux
Posts: 14

Rep: Reputation: 0
Go into your XMMS preferences (right-click on XMMS -> Options -> Preferences), and make sure that the Output Plugin (on the bottom of the first tab) says ALSA. I've had experience where if it's set to something like OSS, it still works but sounds terrible.
 
Old 07-24-2004, 02:38 PM   #5
Borka
Member
 
Registered: Jun 2004
Location: Sweden
Distribution: Ubuntu right now :/
Posts: 85

Original Poster
Rep: Reputation: 15
It's on ALSA.. if I put it on OSS Xmms will crash
 
Old 07-24-2004, 02:41 PM   #6
Cluster
LQ Newbie
 
Registered: Jul 2004
Location: Richardson, TX
Distribution: Gentoo Linux
Posts: 14

Rep: Reputation: 0
All right... let's try using a different media player. Depending on what you have installed, try mplayer (mplayer -ao alsa <file>) or xine.
 
Old 07-24-2004, 02:54 PM   #7
Borka
Member
 
Registered: Jun 2004
Location: Sweden
Distribution: Ubuntu right now :/
Posts: 85

Original Poster
Rep: Reputation: 15
MPlayer use to work grate but when I did as you said I got this message..

==========================================================================
Trying to force audio codec driver family libmad...
Opening audio decoder: [libmad] libmad mpeg audio decoder
AUDIO: 44100 Hz, 2 ch, 16 bit (0x10), ratio: 16000->176400 (128,0 kbit)
Selected audio codec: [mad] afm:libmad (libMAD MPEG layer 1-2-3)
==========================================================================
Checking audio filter chain for 44100Hz/2ch/16bit -> 44100Hz/2ch/16bit...
AF_pre: af format: 2 bps, 2 ch, 44100 hz, little endian signed int
AF_pre: 44100Hz 2ch Signed 16-bit (Little-Endian)
Could not open/initialize audio device -> no sound.
Audio: no sound
Video: no video



//Borka
 
Old 07-24-2004, 03:04 PM   #8
Cluster
LQ Newbie
 
Registered: Jul 2004
Location: Richardson, TX
Distribution: Gentoo Linux
Posts: 14

Rep: Reputation: 0
Looks like mplayer was not compiled with ALSA support. Did you try Xine?
 
Old 07-24-2004, 03:30 PM   #9
Borka
Member
 
Registered: Jun 2004
Location: Sweden
Distribution: Ubuntu right now :/
Posts: 85

Original Poster
Rep: Reputation: 15
I havent used Xine in MDK10 but I installed it but then I get..

-Xine engine error-
There is no input plugin avaible to handel 'alsa'
Maybe MRL syntax is wrong or file/stream source dosen't exist.


//Borka
 
Old 07-24-2004, 03:39 PM   #10
Cluster
LQ Newbie
 
Registered: Jul 2004
Location: Richardson, TX
Distribution: Gentoo Linux
Posts: 14

Rep: Reputation: 0
I am sorry, but I give up.
 
Old 07-24-2004, 03:43 PM   #11
Borka
Member
 
Registered: Jun 2004
Location: Sweden
Distribution: Ubuntu right now :/
Posts: 85

Original Poster
Rep: Reputation: 15
ya I thinking about that to.. if not anybodyells got any advices?

//Borka
 
Old 07-26-2004, 07:21 AM   #12
Borka
Member
 
Registered: Jun 2004
Location: Sweden
Distribution: Ubuntu right now :/
Posts: 85

Original Poster
Rep: Reputation: 15
I'v got it working now.. I maked so emulets OSS.
Then I could choose OSS as the plugin and it began to work whitout problems

//Borka
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Mercury and xmms: sound problems odiseo77 Linux - Software 0 08-28-2005 09:10 AM
xmms sound problems in mdk10 Borka Linux - Software 4 06-30-2004 03:54 PM
Mandrake Sound Problems xmms problems.... devinWhalen Mandriva 6 04-16-2004 04:05 PM
XMMS - Sound Problems fiod Linux - General 1 09-28-2003 03:10 PM
xmms sound problems digsby0007 Linux - Newbie 6 05-26-2003 03:03 PM


All times are GMT -5. The time now is 10:41 AM.

Main Menu
 
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
Open Source Consulting | Domain Registration