Make input mapping parameter const in multistream API
diff --git a/include/opus_multistream.h b/include/opus_multistream.h
index 1fdb881..d5217b1 100644
--- a/include/opus_multistream.h
+++ b/include/opus_multistream.h
@@ -55,7 +55,7 @@
int channels, /**< Number of channels in the input signal */
int streams, /**< Total number of streams to encode from the input */
int coupled_streams, /**< Number of coupled (stereo) streams to encode */
- unsigned char *mapping, /**< Encoded mapping between channels and streams */
+ const unsigned char *mapping, /**< Encoded mapping between channels and streams */
int application, /**< Coding mode (OPUS_APPLICATION_VOIP/OPUS_APPLICATION_AUDIO) */
int *error /**< Error code */
);
@@ -67,7 +67,7 @@
int channels, /**< Number of channels in the input signal */
int streams, /**< Total number of streams to encode from the input */
int coupled_streams, /**< Number of coupled (stereo) streams to encode */
- unsigned char *mapping, /**< Encoded mapping between channels and streams */
+ const unsigned char *mapping, /**< Encoded mapping between channels and streams */
int application /**< Coding mode (OPUS_APPLICATION_VOIP/OPUS_APPLICATION_AUDIO) */
);
@@ -111,7 +111,7 @@
int channels, /**< Number of channels to decode */
int streams, /**< Total number of coded streams in the multistream */
int coupled_streams, /**< Number of coupled (stereo) streams in the multistream */
- unsigned char *mapping, /**< Stream to channel mapping table */
+ const unsigned char *mapping, /**< Stream to channel mapping table */
int *error /**< Error code */
);
@@ -122,7 +122,7 @@
int channels, /**< Number of channels in the input signal */
int streams, /**< Total number of coded streams */
int coupled_streams, /**< Number of coupled (stereo) streams */
- unsigned char *mapping /**< Stream to channel mapping table */
+ const unsigned char *mapping /**< Stream to channel mapping table */
);
/** Returns the number of samples decoded or a negative error code */