Answered
0
0

hello,
for ios when i use this code, is always error. the code is:

system->setOutput(FMOD_OUTPUTTYPE_WAVWRITER_NRT);
result = system->init(32, FMOD_INIT_STREAM_FROM_UPDATE, &outputPath);

Could you tell me how to use FMOD_OUTPUTTYPE_WAVWRITER_NRT for ios?
thanks.

  • Cameron Baron

    You can use WAVWRITER_NRT with iOS, as long as the outputPath is valid (it also needs to include the file name).

    What is the error you are getting?

  • vicczhang

    thanks your answer。
    My Englisg is not good。
    These days I find the problem。
    the problem code is:
    result = system->init(32, FMOD_INIT_STREAM_FROM_UPDATE, &outputPath);

    Modify the outputPath is :

    char outputPath[200] = “outputpath”;
    result = system->init(32, FMOD_INIT_STREAM_FROM_UPDATE, outputPath);

    the outputPath is pointer,The right is ‘char path’ not pointer path。now it can output wav file。

  • You must to post comments
Best Answer
0
0

The output path needs to include the file name and extension.
eg. “outputpath.wav”

  • vicczhang

    yes it had set

  • Cameron Baron

    If you are still getting an error, can you tell me the error?

  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.