resolt bug en jail_audio

treballant en Screen::renderInfo() deixa el programa congelat
This commit is contained in:
2025-03-28 17:23:08 +01:00
parent 25cd6b00eb
commit 1db80485a6
4 changed files with 49 additions and 18 deletions

View File

@@ -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;