equal
deleted
inserted
replaced
331 if cIsSoundEnabled then |
331 if cIsSoundEnabled then |
332 begin |
332 begin |
333 // call SDL_LockAudio because RecordPostMix may be executing right now |
333 // call SDL_LockAudio because RecordPostMix may be executing right now |
334 SDL_LockAudio(); |
334 SDL_LockAudio(); |
335 Close(audioFile); |
335 Close(audioFile); |
336 end |
336 end; |
337 Close(cameraFile); |
337 Close(cameraFile); |
338 if cIsSoundEnabled then |
338 if cIsSoundEnabled then |
339 begin |
339 begin |
340 Mix_SetPostMix(nil, nil); |
340 Mix_SetPostMix(nil, nil); |
341 SDL_UnlockAudio(); |
341 SDL_UnlockAudio(); |