I'm creating a program that plays some ".aif" audio (22KHz, 16bit, mono). I'm having a problem getting a particular file to play back in a consistent manner. Using Transcript, I set the filename of a player object to the audio file and then tell the player to play. I then set it to another file and play the player again. It seems only to happen to one particular file and then only in this manner:

The first time I set the filename to file 1 and play the player, I get no audio. The second time I do.

Then I set the filename to file 2 and play the player. It always plays.

Then I set the filename back to file1 and play the player. No audio. I do it again and it works.

I've set the filename and played the player using the message box and have found identical behavior: The first time I play the player, no audio results. I play it again and it's fine even without setting the filename.

So the filename is getting placed in the proper manner. I've even tried adding a "wait until messages" and even a "wait 1 second" line of code just in case there are things happening I'm not seeing, but the result is the same.

Have I run into a "wait until Rev 2.0" issue?

I'm running OSX 10.2.2 on a dual-867 G4 with 512MB RAM and Rev 1.1.1.

Any advice would be appreciated.

Thanks,
Barry
On Wednesday, June 19, 2002, at 10:01 AM, [EMAIL PROTECTED] wrote:

(Unfortunately OSX appears to have [yet another] bug that causes audio to
cut out periodically. sigh.)
_______________________________________________
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Reply via email to