I downloaded the CHUD tools from Apple and it included an application called Shark that is supposed to help when developing programs because it shows how often different parts of the source code is run. Or something like that
Anyway I let Shark work on DVDPlayer, once with ac3 passthrough turned on and once with it turned off. I have tried to make something out of the files but I don't understand all the calls to this and that.
The conversion to PCM-audio is pretty visible though.
I saved the outputs from Shark in the following archive:
http://c51.ib.student.liu.se/~gusax840/ ... c3Pcm.sitx (7 MB)
(You'll need Shark to view them, it's comes with the CHUD tools from Apple)
I'm asking because I'm trying to make a very simple program that only has one function - to play an ac-3 file just to try to find out how it "should" be done so that coreaudio.c can be fixed later on.
To DJ or a similar pro - do you think you can make something out of the Shark files?
Also I noticed that when DVDPlayer starts up with ac3 activated, the sound from iTunes mutes. That to me sounds like DVDPlayer is in "hog mode". Can't tell if thats true from the Shark files though