33 #ifndef OPUS_MULTISTREAM_H
34 #define OPUS_MULTISTREAM_H
47 #define __opus_check_encstate_ptr(ptr) ((ptr) + ((ptr) - (OpusEncoder**)(ptr)))
48 #define __opus_check_decstate_ptr(ptr) ((ptr) + ((ptr) - (OpusDecoder**)(ptr)))
55 #define OPUS_MULTISTREAM_GET_ENCODER_STATE_REQUEST 5120
56 #define OPUS_MULTISTREAM_GET_DECODER_STATE_REQUEST 5122
86 #define OPUS_MULTISTREAM_GET_ENCODER_STATE(x,y) OPUS_MULTISTREAM_GET_ENCODER_STATE_REQUEST, __opus_check_int(x), __opus_check_encstate_ptr(y)
99 #define OPUS_MULTISTREAM_GET_DECODER_STATE(x,y) OPUS_MULTISTREAM_GET_DECODER_STATE_REQUEST, __opus_check_int(x), __opus_check_decstate_ptr(y)
262 const unsigned char *mapping,
272 int *coupled_streams,
273 unsigned char *mapping,
332 const unsigned char *mapping,
342 int *coupled_streams,
343 unsigned char *mapping,
345 ) OPUS_ARG_NONNULL(1) OPUS_ARG_NONNULL(6);
383 ) OPUS_ARG_NONNULL(1) OPUS_ARG_NONNULL(2) OPUS_ARG_NONNULL(4);
428 ) OPUS_ARG_NONNULL(1) OPUS_ARG_NONNULL(2) OPUS_ARG_NONNULL(4);
509 const
unsigned char *mapping,
511 ) OPUS_ARG_NONNULL(5);
553 const
unsigned char *mapping
554 ) OPUS_ARG_NONNULL(1) OPUS_ARG_NONNULL(6);
587 const
unsigned char *data,
592 ) OPUS_ARG_NONNULL(1) OPUS_ARG_NONNULL(4);
625 const
unsigned char *data,
630 ) OPUS_ARG_NONNULL(1) OPUS_ARG_NONNULL(4);