some .wav files don't play
some .wav files don't play
- Subject: some .wav files don't play
- From: "Robert Goulet" <email@hidden>
- Date: Wed, 25 Sep 2002 17:04:45 -0400
- Thread-topic: some .wav files don't play
I did an audio system a few days ago, and I encountered a weird problem... Some of my audio files play correctly, and others don't play at all. I thought that the problem came from my code, but after a hundred iteration and code tracing, my code wasn't the problem. I checked multiple times that I correctly send the data to the AudioUnit input callback and everything is fine. To get outside the context of my program, I've tryed to play those "not playing" files in QuickTime. Suprise, they don't play either. All files that correctly plays are correctly played in QuickTime as well.
Then I thought that the problem would be the audio file format. All my files are 48000Hz 16bits stereo and were recorded in the same application. So the format is not the problem. I checked if it was a permissions problem, and it is not. And they are not accessed from a network, they are accessed locally.
So I decided to create some audio file by myself. I encoded them all exactly in the same format (48000Hz 16bits stereo), and I gave them all the same permission. Suprise, only a quarter of'em are correctly playing while all the other are not playing at all, even if the audio data is correctly sent into the audio buffer. Same results in QuickTime.
What the hell?!? Is it a known problem? Is there any workaround?
There's only one more weirdo thing: the problem does not occur on my dual machine (Mine is: Dual 1GHz PowerPC G4, 1Gb RAM).
Robert Goulet - Software Developer
kaydara
4428 St-Laurent, suite 300
Montreal, H2W 1Z5
QC Canada
Phone: 514.842.3354 extension 3006
mailto:email@hidden
http://www.kaydara.com
_______________________________________________
coreaudio-api mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/coreaudio-api
Do not post admin requests to the list. They will be ignored.