diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/pcm_utils.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/pcm_utils.c b/src/pcm_utils.c index bf4b5e4c8..36b1a9b37 100644 --- a/src/pcm_utils.c +++ b/src/pcm_utils.c @@ -455,6 +455,10 @@ size_t pcm_sizeOfConvBuffer(AudioFormat * inFormat, size_t inSize, case 2: outSize >>= 1; break; + default: + ERROR("only 1 or 2 channels are supported " + "for conversion!\n"); + exit(EXIT_FAILURE); } } |