diff options
Diffstat (limited to 'src/audio.c')
-rw-r--r-- | src/audio.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/audio.c b/src/audio.c index 446eff40e..aba275f2f 100644 --- a/src/audio.c +++ b/src/audio.c @@ -145,6 +145,7 @@ int isCurrentAudioFormat(AudioFormat * audioFormat) { int openAudioDevice(AudioFormat * audioFormat) { if(!aoOutput->open || !isCurrentAudioFormat(audioFormat)) { + copyAudioFormat(&audio_format, audioFormat); return openAudioOutput(aoOutput, audioFormat); } |