projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2e0a6cc
)
pitch: Remove useless restriction on number of channel
author
Thibault Saunier
<tsaunier@igalia.com>
Tue, 19 May 2020 14:47:25 +0000
(10:47 -0400)
committer
Thibault Saunier
<tsaunier@igalia.com>
Fri, 22 May 2020 22:18:28 +0000
(18:18 -0400)
It handles any number of channels just fine
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/1292>
ext/soundtouch/gstpitch.cc
patch
|
blob
|
history
diff --git
a/ext/soundtouch/gstpitch.cc
b/ext/soundtouch/gstpitch.cc
index 9ab0d1d7f5bf8ff69597ce27cffb812c357a47f3..3853802a06772a5cb5cb3f098d70c8d2906b5623 100644
(file)
--- a/
ext/soundtouch/gstpitch.cc
+++ b/
ext/soundtouch/gstpitch.cc
@@
-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