Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Hardware - Troubleshooting and Discussion > Hardware Hacking > PowerBook 540 -> music center

PowerBook 540 -> music center
Thread Tools
Mac Enthusiast
Join Date: Apr 2000
Location: Belgium
Status: Offline
Reply With Quote
Dec 27, 2002, 11:56 AM
 
My idea was to use a PowerBook 540 as a esound server, so I can have my G4 decoding MP3/OGG/AAC/... and send the PCM data to the PowerBook 540. Then adding a cool interface, maybe touchscreen and an infrared remote control it'd be the perfect music center, as the PB540 is fanless and 100% silent when the HD is spun down.
However one problem arises; the esound server part. I was originally planning on installing m68k linux on the PowerBook, but alas the ethernet interface isn't supported according to the status page. So I was thinking of writing an esound server, using Open Transport and the Sound Manager. However I have no experience with either of these so I was wondering if anyone could help me out? Details on the esound protocol can be found here.
     
Mac Enthusiast
Join Date: Apr 2000
Location: Belgium
Status: Offline
Reply With Quote
Dec 30, 2002, 04:46 AM
 
So I started writing my EsounD server (starting off using RB, converting to C later), but I'm having problems with SndPlayDoubleBuffer not calling my doubleback procedure. I don't know what's going wrong at all. The source for the sound bit can be found here.

What I'm doing to test it is; open a PCM data file, read all of it into the circular buffer which is initialized at a big enough size, then call startPlaying. All of the functions return noErr, and the circular buffer works for sure (it's been extensively tested).
Monitoring the backproccalls variable indicates that the ASoundDoubleBackProc callback isn't being called at all.

Anyone have any ideas of what might be wrong here?
     
   
Thread Tools
Forum Links
Forum 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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 06:09 AM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2