summaryrefslogtreecommitdiff
path: root/sys/androidmedia/gstamcaudiodec.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/androidmedia/gstamcaudiodec.h')
-rw-r--r--sys/androidmedia/gstamcaudiodec.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/sys/androidmedia/gstamcaudiodec.h b/sys/androidmedia/gstamcaudiodec.h
index 5941a0114..0e0c6e10b 100644
--- a/sys/androidmedia/gstamcaudiodec.h
+++ b/sys/androidmedia/gstamcaudiodec.h
@@ -22,7 +22,7 @@
#define __GST_AMC_AUDIO_DEC_H__
#include <gst/gst.h>
-#include <gst/audio/multichannel.h>
+#include <gst/audio/audio.h>
#include <gst/audio/gstaudiodecoder.h>
#include "gstamc.h"
@@ -59,10 +59,12 @@ struct _GstAmcAudioDec
gboolean input_caps_changed;
/* Output format of the codec */
- gint channels, rate;
- GstAudioChannelPosition *positions;
+ GstAudioInfo info;
+ /* AMC positions, might need reordering */
+ GstAudioChannelPosition positions[64];
+ gboolean needs_reorder;
+ gint reorder_map[64];
- GstBuffer *codec_data;
/* TRUE if the component is configured and saw
* the first buffer */
gboolean started;