Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
mpg321 replaces my iTunes - driver problems [SEMISOLVED]
View unanswered posts
View posts from last 24 hours

 
This topic is locked: you cannot edit posts or make replies.    Gentoo Forums Forum Index Gentoo for Mac OS X (Portage for Mac OS X)
View previous topic :: View next topic  
Author Message
_troll_
Bodhisattva
Bodhisattva


Joined: 04 Feb 2004
Posts: 1971
Location: Warszawa, Poland

PostPosted: Tue Mar 15, 2005 9:15 pm    Post subject: mpg321 replaces my iTunes - driver problems [SEMISOLVED] Reply with quote

Hi!

iTunes eat's to much of my ram and cpu.... so I wanted to use something lighter -> mpg321.

Problmes started almost from the beginning. At first - I was able to make a libao package, but ebuild file is incorrect (or maybe I'm missing something?). I created my version of ebuild file (you can see it on gentoo-bugzilla : http://bugs.gentoo.org/show_bug.cgi?id=85406 ). After this I was able to compile mpg321.

Ok. This was to long - sorry ;-)

I'm not using esd - I want to use CoreAudio system of my mac osx (Panther 10.3.8), but when I'm trying to play anything I got this:
Code:
tlap:~/Music/iTunes/iTunes Music/Prodigy/Always Outnumbered Never Outgunned troll$ mpg321 -zZvb8192 *mp3

No default libao driver available.
Code:
tlap:~/Music/iTunes/iTunes Music/Prodigy/Always Outnumbered Never Outgunned troll$ mpg321 -zZvb8192 *mp3 -o macosx
High Performance MPEG 1.0/2.0/2.5 Audio Player for Layer 1, 2, and 3.
Version 0.59q (2002/03/23). Written and copyrights by Joe Drew.
Uses code from various people. See 'README' for more!
THIS SOFTWARE COMES WITH ABSOLUTELY NO WARRANTY! USE AT YOUR OWN RISK!
Title  : Spitfire                        Artist: Prodigy                       
Album  : Always Outnumbered Never Outgu  Year  :                               
Comment: By LosEnviados.Net              Genre : ElectronicElectronic         

Playing MPEG stream from Spitfire.mp3 ...
MPEG 1.0, Layer: III, Freq: 44100, mode: Joint-Stereo, modext: 2, BPF : 2560
Channels: 2, copyright: No, original: Yes, CRC: No, emphasis: 0.
Bitrate: 128 Kbits/s, Extension value: 2
Audio: 1:1 conversion, rate: 44100, encoding: signed 16 bit, channels: 2
Can't open unknown ao driver macosx2 [05:07.40],

Code:
tlap:~/Music/iTunes/iTunes Music/Prodigy/Always Outnumbered Never Outgunned troll$ mpg321 -zZvb8192 *mp3 -a macosx
No default libao driver available.

Code:
tlap:~/Music/iTunes/iTunes Music/Prodigy/Always Outnumbered Never Outgunned troll$ mpg321 -zZvb8192 *mp3 -a CoreAudio
No default libao driver available.

Code:
tlap:~/Music/iTunes/iTunes Music/Prodigy/Always Outnumbered Never Outgunned troll$ mpg321 -zZvb8192 *mp3 -o macosx -a CoreAudio
High Performance MPEG 1.0/2.0/2.5 Audio Player for Layer 1, 2, and 3.
Version 0.59q (2002/03/23). Written and copyrights by Joe Drew.
Uses code from various people. See 'README' for more!
THIS SOFTWARE COMES WITH ABSOLUTELY NO WARRANTY! USE AT YOUR OWN RISK!
Title  : Hotride                         Artist: Prodigy                       
Album  : Always Outnumbered Never Outgu  Year  :                               
Comment: By LosEnviados.Net              Genre : ElectronicElectronic         

Playing MPEG stream from Hotride.mp3 ...
MPEG 1.0, Layer: III, Freq: 44100, mode: Joint-Stereo, modext: 0, BPF : 2560
Channels: 2, copyright: No, original: Yes, CRC: No, emphasis: 0.
Bitrate: 128 Kbits/s, Extension value: 0
Audio: 1:1 conversion, rate: 44100, encoding: signed 16 bit, channels: 2
Can't open unknown ao driver macosx2 [04:35.90],

in /etc/libao.conf I have only one line: default_driver=macosx .

Can anybody tell me how to enable sound? I think I'm missing something simple, but I cannot say what :(

Regards,
Przemek
_________________
Życie jest jak pudełko czekoladek....
Nigdy nie wiesz na co trafisz" by mother of Forrest Gump


Last edited by _troll_ on Thu Mar 17, 2005 3:26 pm; edited 1 time in total
Back to top
View user's profile Send private message
_troll_
Bodhisattva
Bodhisattva


Joined: 04 Feb 2004
Posts: 1971
Location: Warszawa, Poland

PostPosted: Wed Mar 16, 2005 11:43 am    Post subject: Reply with quote

ok..... some news..... a bad ones :(

I edit portage-profile and unmask esd USE flag. Next - I succesfully compiled esound (0.2.35) [I saw in darwinports that they have this package].

I added LDFLAGS="-framework CoreAudio" to my make.conf (I found that on darwinports too) for time of esound compilation. Next I reemerged libao.

Next problems:
- libao doesn't add .dylib postfix to plugins names (same as for libs names)
- I can't start mpg321.... :( [edit: I can, but problems weren't solved, with respect to my previous post]

I started esound deamon like this:
Code:
esd -d CoreAudio -tcp -public -nobeeps -trust
and esound give me this:
Code:
tlap:~ root# esd -d CoreAudio -tcp -public -nobeeps -trust
- using device CoreAudio
using device Built-in Audio for output:
        with sample rate 44100.000000, 2 channels and 32-bit sample
using device Built-in Audio for input:
        with sample rate 44100.000000, 2 channels and 32-bit sample
I know it's not legal to compile it (atleast for now), but maybe somebody tried to do this??

Regards,
Przemek
_________________
Życie jest jak pudełko czekoladek....
Nigdy nie wiesz na co trafisz" by mother of Forrest Gump
Back to top
View user's profile Send private message
_troll_
Bodhisattva
Bodhisattva


Joined: 04 Feb 2004
Posts: 1971
Location: Warszawa, Poland

PostPosted: Thu Mar 17, 2005 3:25 pm    Post subject: Reply with quote

ok. semi-solved!! :D

libao-0.8.6 is broken!! compilation of 0.8.5 solves my problem. :)

after my plays:
- 0.8.6 is not adding postfix to names
- plugin names are resolved badly (-o macosx gives me macosx2; -o macos gives me macos02; wtf??)
- esd works, but sound is very noisy.... but it works! ;-)

anyway - first part is acompilshed. I don't have to use f***ing iTunes anymore!!! (sorry - is iTunes eat so many memory and cpu on your systems?).

PS. Somebody have working version of xmms/bmp for mac osx?

Regards,
Przemek
_________________
Życie jest jak pudełko czekoladek....
Nigdy nie wiesz na co trafisz" by mother of Forrest Gump
Back to top
View user's profile Send private message
Display posts from previous:   
This topic is locked: you cannot edit posts or make replies.    Gentoo Forums Forum Index Gentoo for Mac OS X (Portage for Mac OS X) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum