mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-22 23:28:16 +00:00
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:
parent
2e0a6cc020
commit
5a2c358a2b
1 changed files with 2 additions and 2 deletions
|
@ -73,13 +73,13 @@ enum
|
||||||
"audio/x-raw, " \
|
"audio/x-raw, " \
|
||||||
"format = (string) " GST_AUDIO_NE (F32) ", " \
|
"format = (string) " GST_AUDIO_NE (F32) ", " \
|
||||||
"rate = (int) [ 8000, MAX ], " \
|
"rate = (int) [ 8000, MAX ], " \
|
||||||
"channels = (int) [ 1, 2 ]"
|
"channels = (int) [ 1, MAX ]"
|
||||||
#elif defined(SOUNDTOUCH_INTEGER_SAMPLES)
|
#elif defined(SOUNDTOUCH_INTEGER_SAMPLES)
|
||||||
#define SUPPORTED_CAPS \
|
#define SUPPORTED_CAPS \
|
||||||
"audio/x-raw, " \
|
"audio/x-raw, " \
|
||||||
"format = (string) " GST_AUDIO_NE (S16) ", " \
|
"format = (string) " GST_AUDIO_NE (S16) ", " \
|
||||||
"rate = (int) [ 8000, MAX ], " \
|
"rate = (int) [ 8000, MAX ], " \
|
||||||
"channels = (int) [ 1, 2 ]"
|
"channels = (int) [ 1, MAX ]"
|
||||||
#else
|
#else
|
||||||
#error "Only integer or float samples are supported"
|
#error "Only integer or float samples are supported"
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in a new issue