質問

whenever I try using Sound.getMusicSpeed() or Sound.setMusicSpeed, the returned result is a "Unsupported file or audio format". I tried with a .mp3, a .ogg and a .wav, but they all return the same error. I tried both in C++ and wit the C# wrapper. Is there anything specific I should know about get/setMusicSpeed()? The documentation on this function is pretty straight forward. Thanks!

役に立ちましたか?

解決

A bit of seaching on the internet revealed this link

http://zwischenwelt.org/~hagish/irisdocs/trunk/doc/api_cpp/html/fmod_8hpp-source.html

which further searching leads me to this comment

"00246 // For MOD/S3M/XM/IT/MID sequenced formats only."

a bit more googling leads to the discovery that mp3, ogg, and wav are NOT such sequenced formats.

ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top