From: Nigel P. <ni...@in...> - 2005-03-14 00:57:37
|
Hi John. > Just compiled the latest BasiliskII on my iMac G5, am wondering how to > make it support audio. I have not tried this, as I am still trying to implement Core Audio, but someone reported: > I replaced my esound driver with one based on PortAudio. No more > worrying about shared libs or daemons. To get sound working: > > 1) Remove the file audio_dummy.cpp from the XCode project. > 2) Get http://vasi.webhop.org/files/basilisk-portaudio.zip, extract it > to a folder, and add the folder to the project. > 3) Add to the project the frameworks AudioTools and CoreAudio, from > /System/Library/Frameworks. > 4) Build and run! > > Sound works at 11, 22 and 44 kHz rates, in mono or stereo. For some > unknown reason, 8-bit audio does not work, but 16-bit does. Volume > control and muting are implemented. I don't see much of a performance > hit at all, but YMMV. > > I have only tested on a G4 desktop in Panther. I seem to recall seeing > something about PortAudio not working on 10.1 and possibly 10.2. And I > think it doesn't work on G5's either, though somebody on the PortAudio > mailing list said he got it to work: http://spaghetticode.org/G5/ Sadly, I can't find that file on my computer now, and the link is dead. I have emailed the guy to see if he still has the file somewhere. -- Nigel Pearson, ni...@in...| "Let's see how Spike is going" Telstra BI&D, Sydney, Australia | ... Office: 8255 4222 Fax: 8255 3153 |"I'd like to keep Spike as my pet." Mobile: 0408 664435 Home: 9792 6998 | Illyria - Angel |