aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/audio_format.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/audio_format.h b/src/audio_format.h
index a7ff30830..92d11e9db 100644
--- a/src/audio_format.h
+++ b/src/audio_format.h
@@ -68,7 +68,7 @@ audio_valid_sample_format(unsigned bits)
static inline bool
audio_valid_channel_count(unsigned channels)
{
- return channels == 1 || channels == 2;
+ return channels >= 1 && channels <= 8;
}
/**