hedgewars/uVideoRec.pas
changeset 13498 3bb07c847886
parent 13497 c7df0d96da81
child 13500 b5f8864a38d3
equal deleted inserted replaced
13497:c7df0d96da81 13498:3bb07c847886
   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();