0
0

Hello,

I always retrieve An invalid Channel when I call FMOD_ChannelGroup_GetChannel.
This is my code :

////////////////////////////////////////////////////////////////////////
Res := FMOD_ChannelGroup_GetNumChannels(MyChannelGroup, NumChannels);
ErrorCheck(Res);
for i := 0 to NumChannels – 1 do
begin
Res := FMOD_ChannelGroup_GetChannel(MyChannelGroup, i, Channel);
Self.ErrorCheck(Res);
Res := FMOD_Channel_GetFrequency(Channel, Frequency);
Self.ErrorCheck(Res);
end;
////////////////////////////////////////////////////////////////////////

The number of Channel is the right number but the Channels i retrieve is invalid (Message: FMOD error! (32) An invalid object handle was used. when i call FMOD_Channel_GetFrequency). Can someone Help Me ?

  • You must to post comments
0
0

Thank You for your quick answer 😀
It’s not possible those channels aren’t playing any more because I try to change Frequency of all the channels contained in the ChannelGroup while playing. I’m sure they are still playing because I hear them.
(Sorry for my English I’m French)

  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.