resolt bug en jail_audio
treballant en Screen::renderInfo() deixa el programa congelat
This commit is contained in:
@@ -486,7 +486,7 @@ void JA_StopChannel(const int channel)
|
||||
{
|
||||
if (channels[i].state != JA_CHANNEL_FREE)
|
||||
SDL_DestroyAudioStream(channels[i].stream);
|
||||
channels[channel].stream = nullptr;
|
||||
channels[i].stream = nullptr;
|
||||
channels[i].state = JA_CHANNEL_FREE;
|
||||
channels[i].pos = 0;
|
||||
channels[i].sound = NULL;
|
||||
|
||||
Reference in New Issue
Block a user