aboutsummaryrefslogtreecommitdiff
path: root/ext/soundtouch/gstpitch.hh
diff options
context:
space:
mode:
Diffstat (limited to 'ext/soundtouch/gstpitch.hh')
-rw-r--r--ext/soundtouch/gstpitch.hh5
1 files changed, 2 insertions, 3 deletions
diff --git a/ext/soundtouch/gstpitch.hh b/ext/soundtouch/gstpitch.hh
index ad1f7f6d..1efb59b0 100644
--- a/ext/soundtouch/gstpitch.hh
+++ b/ext/soundtouch/gstpitch.hh
@@ -21,6 +21,7 @@
#define __GST_PITCH_H__
#include <gst/gst.h>
+#include <gst/audio/audio.h>
G_BEGIN_DECLS
@@ -71,9 +72,7 @@ struct _GstPitch
gfloat seg_arate; /* Rate to apply from input segment */
/* values extracted from caps */
- gint samplerate; /* samplerate */
- gint channels; /* number of audio channels */
- gsize sample_size; /* number of bytes for a single sample */
+ GstAudioInfo info;
/* stream tracking */
GstClockTime next_buffer_time;