0
0

How to use FMOD_CODEC_METADATACALLBACK ?

System::attachFileSystem is for FMOD_FILE_xxxCALLBACK
and Channel::setCallback is for FMOD_CHANNEL_CALLBACK

How to assign a FMOD_CODEC_xxxCALLBACK and especially the FMOD_CODEC_METADATACALLBACK ?

Thank you
Denis

  • You must to post comments
0
0

you only use that if you are writing a codec plugin. You don’t use it anywhere else.

If you want metadata just call Sound::getTag

  • You must to post comments
0
0

ok Brett, thank you for reply.
My question was because I want to retrieve Metadata from an internet radio. With fmod 3.xx I used FSOUND_Stream_Net_SetMetadataCallback. I understand that FMOD_CODEC_METADATACALLBACK is used for writing and not for reading, I suppose there is no callback in fmod 4.xx to retrieve these data : I must use Sound::getTag in a timer.
True ?
Denis

  • You must to post comments
0
0

yes, it is true but you can tell getTag to only give you new information, instead of repeating the same information over and over.

  • You must to post comments
Showing 3 results
Your Answer

Please first to submit.