aboutsummaryrefslogtreecommitdiffstats
path: root/src/audio.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/audio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/audio.c b/src/audio.c
index 839052dc2..dead45991 100644
--- a/src/audio.c
+++ b/src/audio.c
@@ -231,7 +231,7 @@ static void syncAudioDeviceStates(void)
struct audio_output *audioOutput;
unsigned int i;
- if (!audio_format.channels)
+ if (!audio_format_defined(&audio_format))
return;
for (i = 0; i < audioOutputArraySize; ++i) {