hedgewars/uVideoRec.pas
branch0.9.24
changeset 13590 62a5eea4ae7a
parent 13589 4acd189a563e
child 13499 b5f8864a38d3
equal deleted inserted replaced
13589:4acd189a563e 13590:62a5eea4ae7a
   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();