pitch: Remove useless restriction on number of channel

It handles any number of channels just fine

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/1292>
This commit is contained in:
Thibault Saunier 2020-05-19 10:47:25 -04:00
parent 2e0a6cc020
commit 5a2c358a2b

View file

@ -73,13 +73,13 @@ enum
"audio/x-raw, " \
"format = (string) " GST_AUDIO_NE (F32) ", " \
"rate = (int) [ 8000, MAX ], " \
"channels = (int) [ 1, 2 ]"
"channels = (int) [ 1, MAX ]"
#elif defined(SOUNDTOUCH_INTEGER_SAMPLES)
#define SUPPORTED_CAPS \
"audio/x-raw, " \
"format = (string) " GST_AUDIO_NE (S16) ", " \
"rate = (int) [ 8000, MAX ], " \
"channels = (int) [ 1, 2 ]"
"channels = (int) [ 1, MAX ]"
#else
#error "Only integer or float samples are supported"
#endif