Support and General Use > Audio Playback, Database and Playlists
Discussions (& strategies) on getting WMA and M4A (AAC) decoding in real-time.
Lear:
Gah! 4 bytes short! ;D On coldfire at least; haven't tried arm. Will remove some 200 bytes though.
Davide-NYC:
OK so now it builds with proifiling enabled. Thanks!
Of course I do not get a profile.out file in the root of my player.
I do not undertstand the SourceProfiling wiki page 100%.
What exactly do I have to put in the source and where should it go?
Or even make me a patch and tell me what to run and what to look for.
;D
Lear:
--- Quote from: Davide-NYC on October 03, 2006, 11:20:54 AM ---OK so now it builds with proifiling enabled. Thanks!
Of course I do not get a profile.out file in the root of my player.
--- End quote ---
Correct. You need to edit aac.c a little first.
--- Quote ---I do not undertstand the SourceProfiling wiki page 100%.
What exactly do I have to put in the source and where should it go?
Or even make me a patch and tell me what to run and what to look for.
--- End quote ---
Add the following to the beginning of the codec_start function (but after the "rb = api;" line):
--- Code: --- #ifdef RB_PROFILE
rb->profile_thread();
#endif
--- End code ---
Then add the following at the end of the same function, before the "return" line:
--- Code: --- #ifdef RB_PROFILE
rb->profstop();
#endif
--- End code ---
Then you should get the profile.out file.
Davide-NYC:
If these are #ifdef'ed then why are they not in the source all the time?
Please explain.
pabouk:
Because you have to decide which parts of the code you are going to profile. ;)
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version