Answered
0
0

Hi,

I’m trying to create a stream from an AT9 file that was encoded using the tool included in the PS Vita SDK (at9tool.exe). The options are FMOD_HARDWARE | FMOD_LOOP_NORMAL. Even though the file is in at9 format, it has the .mp3 extension because that was the format of the original version of the game and filenames are hardcoded everywhere. I don’t think it’s an important detail, just sayin’. :-)

The function does always return FMOD_ERR_NEEDSHARDWARE which is a bit odd considering that AT9 should be a hardware accelerated sound format.

This is what the log says:

01:39:34 FMOD: CodecAT9::openInternal : attempting to open as ATRAC9..
01:39:34 FMOD: CodecAT9::parseChunks : Chunk, id: ‘fmt ‘ size: 52
01:39:34 FMOD: CodecAT9::parseChunks : Chunk, id: ‘fact’ size: 12
01:39:34 FMOD: CodecAT9::parseChunks : Chunk, id: ‘data’ size: 4387584
01:39:34 FMOD: CodecAT9::resetDecoder : Cannot create AT9 decoder, insufficient remaining channels, specify more via System::init extradriverdata
01:39:34

However I can’t find anything like struct FMOD_NGP_EXTRADRIVERDATA for the ‘extradriverdata’ pointer. Passing a pointer to an unsigned int won’t cut it.

Is there anything I’m missing here?

Thanks!

  • You must to post comments
Best Answer
0
0

Okay, I figured it out: FMOD_NGP_EXTRADRIVERDATA is in fmodngp.h and the ‘maxSimultaneousAT9Channels’ field defaults to 0

My bad!

  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.