LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 11-20-2003, 11:37 AM   #1
karthikrr
Member
 
Registered: Nov 2003
Location: India
Distribution: Slackware 13.0 32-bit
Posts: 129

Rep: Reputation: 16
mpg321 scratchy with ALSA, fine with OSS


Hi,

I tried playing a few mp3s with mpg321, and the default options produce a good amount of distortion (mainly scratching) during playback.... The file I tried to play was encoded at VBR-High, but mpg321 displayed it as a 64kbps file! I initially thought that maybe the 'wrong bitrate' was causing the problem.... then, after performing a search here, I found that the -o oss option makes it work great.....

Now, I heard that OSS was being phased out, and is not going to be a part of the 2.6 kernel, and ALSA is 'superior' ..... I am pretty new to this stuff, so not even sure if OSS is entirely independent of ALSA...... All my other sounds play great with ALSA, and the media players in the GUI also sound great.... So, I was wondering if there were any other params I need to set, to make the mp3s work with ALSA.... I have a nForce2 board, with Soundstorm......

Also, the nForce2 boards allow me to have a 6 channel sound setup... alsamixer also gives me the option of using the 'Line-in' and 'Mic' as outputs.... BUT, I cant enable either of them in the mixer.... any ideas why???

Thanks,
Raghavan
 
Old 11-20-2003, 11:39 AM   #2
karthikrr
Member
 
Registered: Nov 2003
Location: India
Distribution: Slackware 13.0 32-bit
Posts: 129

Original Poster
Rep: Reputation: 16
oh, and this isnt related to the other query at all, but would any of u be kind enough to point me to a Download Manager for Linux..... or doesnt one exist as yet??? I need to pause and resume dwlds, coz my ISP is kinda sucky... :-) Console based, if available, are preferred....
 
Old 11-21-2003, 02:39 AM   #3
karthikrr
Member
 
Registered: Nov 2003
Location: India
Distribution: Slackware 13.0 32-bit
Posts: 129

Original Poster
Rep: Reputation: 16
cmon guys... help me out here.... *bump*
 
Old 11-21-2003, 07:15 AM   #4
Tarts
Member
 
Registered: Feb 2003
Distribution: Slackware 9.1 (exclusively) ;)
Posts: 344

Rep: Reputation: 30
Quote:
Originally posted by karthikrr
oh, and this isnt related to the other query at all, but would any of u be kind enough to point me to a Download Manager for Linux..... or doesnt one exist as yet??? I need to pause and resume dwlds, coz my ISP is kinda sucky... :-) Console based, if available, are preferred....
Mabey not the download manager you might be used to, but take a look at 'wget', it has a resume feature if your downloading via FTP for those of us with unreliable connections, depending on if the FTP server supports it, it also gets files via HTTP.

As for your 'alsa' question, have a look at 'aoss',

[man page]
aoss is a simple wrapper script which facilitates the use of the ALSA OSS compatibility library. It just sets the appropriate
LD_PRELOAD path and then runs the command.

This is useful in cases where routing settings (which can be made in your .asoundrc file) need to be applied to commands that use the
OSS API.
[/man page]

Tarts
 
Old 11-21-2003, 09:15 AM   #5
karthikrr
Member
 
Registered: Nov 2003
Location: India
Distribution: Slackware 13.0 32-bit
Posts: 129

Original Poster
Rep: Reputation: 16
thanks for the reply.... wget, will try that out tonight.... aoss, will check man for that..... but, I still dont get one thing... mpg321 has an option to use ALSA itself, while playing... this means that ALSA is compatible right? So, shouldnt the sound be fine with ALSA too? Instead of using OSS compatibility? Also, my VBR files are shown as 64kbps files... Should I be thinking about that?
 
Old 11-21-2003, 10:04 AM   #6
Tarts
Member
 
Registered: Feb 2003
Distribution: Slackware 9.1 (exclusively) ;)
Posts: 344

Rep: Reputation: 30
Quote:
Originally posted by karthikrr
thanks for the reply.... wget, will try that out tonight.... aoss, will check man for that..... but, I still dont get one thing... mpg321 has an option to use ALSA itself, while playing... this means that ALSA is compatible right? So, shouldnt the sound be fine with ALSA too? Instead of using OSS compatibility? Also, my VBR files are shown as 64kbps files... Should I be thinking about that?
I cant seem to get the sound any better, you could always try 'amp' instead.

Tarts
 
Old 11-21-2003, 10:22 AM   #7
karthikrr
Member
 
Registered: Nov 2003
Location: India
Distribution: Slackware 13.0 32-bit
Posts: 129

Original Poster
Rep: Reputation: 16
'any better' ... :-) nope, when I use ALSA, I get crackling noises... distortions.... when I use the -o oss option, its clear.... no idea what 'amp' is, but will go look around for info on that now... :-) still havent seen the man pages either, will do that too, and come back.... thanks again....
 
Old 11-21-2003, 12:18 PM   #8
karthikrr
Member
 
Registered: Nov 2003
Location: India
Distribution: Slackware 13.0 32-bit
Posts: 129

Original Poster
Rep: Reputation: 16
umm, ok... I used amp, and it works fine with all default options... I just dont know if its using ALSA, or OSS-emulation or OSS itself.... :-) but, I like amp... I thinm I'll just use this from now on... any reasons why mpg321 is a better option?
 
  


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
Can't boot/grub SuSE after re-install; all other OSs fine. tuxisnottux SUSE / openSUSE 17 12-22-2005 04:37 AM
alsa or oss?? wrat Linux - Newbie 4 05-21-2004 07:07 PM
ALSA-oss compatability works, but not programs intended for alsa ? qwijibow Linux - Software 5 03-14-2004 07:28 AM
Problems with OSS while trying to avoid problems in ALSA (scratchy sound) GT_Onizuka Linux - General 1 02-05-2004 11:55 PM
Problems in RH 9 with alsa and esd oss works fine (VIA VT8233) husfeldt Linux - Hardware 1 08-28-2003 06:59 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 02:24 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