I’m having problems with streams on MacOS 8.6…
Symptom: Streams start, then repeat the same .25 to .5 seconds of audio.
Cause: ? ( I’m not yet set up to compile on my 8.6 machine )
Perhaps someone knows of required extensions? I’m not too familiar with Macs and extensions, and although it may have nothing to do with it, fyi I have SoundManager 3.3 from MacOS 8.5 installed, and Carbonlib 1.6.
six-pack for the solution! ( tips allowed in this group? )
Thanks for the reply. It does in fact repeat forever, and when I increase the buffer size the result is a longer loop. I’m streaming the files from disk, not from memory. When I tried streaming from a memory buffer, the results were intermittent. The streams would play for a few seconds then go back to repeating what was in the buffer. I wanted to post this reply immediately, but I’m on my way to the old dusty Mac to install SoundManager 3.6.5 extension that come qith the Quicktime 4.1.2 installation to see if there’s a difference. That, of course, depends on FMOD having anything to do with the SoundManager…
In the interest of adding as much info to this post as possible, I wanted to report that I’ve switched my suspicions from SoundManager to SoundSprocketsLib and SoundSprockets Filter. They’re both version 1.0 on the old Mac. I’m gonna update those first and get back to you.
After installing Quicktime6 and GameSprockets 1.7.5 on the box, we’re still experiencing the same problem. Funny enough, another testing team has reported the same problem on other macs. My development machine ( running 9.1 ) runs the product just fine. I’m at a loss. Could it have something to do with how I open streams? Here are the essentials of what I’m doing…
[code:w656v1ds]iMixRate = 44100;
iMaxSoftwareChannels = 32;
FSOUND_Init(iMixRate, iMaxSoftwareChannels, 0);[/code:w656v1ds]
[code:w656v1ds]oStream = FSOUND_Stream_OpenFile(cPathPtr, FSOUND_NORMAL, 0);
m_iChannel = FSOUND_Stream_Play(FSOUND_FREE, oStream)
(fpt)(FSOUND_STREAM, void*, int, int) = ::StreamCallback;
FSOUND_Stream_SetEndCallback( oStream, fpt, GetSoundID() );[/code:w656v1ds]
Can you see anything wrong? Do you have any recommendations / thoughts on things you’ve run across on the Mac that I should know when building the project?
Thanks in advance…
Forgot to mention I’m linking statically and not using the shared library. I also just ran our build on the same Mac but from another startup disk ( 9.2 ). It runs fine. So there’s something about either 8.6 or some component of it that caaks FMOD. We have a few other machines here I can run the build on. I’m hoping it’s a component issue, and not something having to do with the kernel, or whatever you call it on the Mac.
I found a dusty old 32meg iMac and I’m getting the same behaviour. Both systems use the built-in sound device. I’ll sometimes hear a stream play halfway through / all the way through. But the rest / next one will fail in the same manner ( buffer repeating ). At this point, short of trial and error, I’m fresh out of ideas.
Please login first to submit.