Please, find my error…
Why I use UNICODE createSound return “file not found”.
fmodSystem->createSound((char *)File, (FMOD_MODE)(FMOD_SOFTWARE | FMOD_2D | FMOD_CREATESTREAM | FMOD_MPEGSEARCH | FMOD_NONBLOCKING | FMOD_UNICODE), 0, &fmodSound);
In Unicode mode createSound return error, but in non-unicode mode and without FMOD_UNICODE flag createSound return ok.
- LeonCrew answered 12 years ago
when I use looppoint everything works pretty find, but when I call GetPosition at the same time it increases constantly. Do you have any idea? Actually, I expected a position that floats around the start and enpoint of the loop or am I wrong? Do I need to take care of it by my own?
Minor doc bug:
Under FMOD_MODE it says…
For FMOD_CreateSound – for accurate Sound::getLengthMs/Channel::setTime on VBR MP3, AAC and MOD/S3M/XM/IT/MIDI files.[/quote:3jjdr79e]
There is of course no Sound::getLengthMS anymore, just Sound::getLength. 😉
ok i’m not seeing this. I tried stream and sample, for sound and for channel, and it works ok. How are you setting the looppoints, on the sound or the channel, and is it stream/sample hardware or software? Note looppoints don’t work on sample/hardware in dsound.[/quote:ion84lb8]
Sure, we just use software channels. I actually tried Sound-looppoints and channel-loops. It is not working in both cases. You probably know I am using some kind of a readData-Framework 😉 Therefore may be it is in there. SoundA->SoundB->SoundC (everything through readData) and the the looppint on SoundC. The weird thing is that we use a second backend for testing purposes that uses FMODEx, too (NativeFmodEx) and here we do see the same problems. As I can see there is no such thing with multiple readData. I will try to provide a reproducable example.
I see this happening too.
[quote:287i07xs]when I use looppoint everything works pretty find, but when I call GetPosition at the same time it increases constantly. Do you have any idea? Actually, I expected a position that floats around the start and enpoint of the loop or am I wrong? Do I need to take care of it by my own?[/quote:287i07xs]
This is what I call to start looping:
When I call FMOD_Channel_GetPosition the position is increasing.
- Bert answered 12 years ago
Please login first to submit.