Skip to content

# Struct bluespy_audio_codec_init_ret

ClassList > bluespy_audio_codec_init_ret

Return structure for the stream initialisation function. More...

- `#include <bluespy.h>`

## Public Attributes

Type | Name
--- | ---
uintptr_t | context_handle Opaque handle to the plugin-allocated state. The host will pass this value back to decode() and deinit().
int | error
bluespy_audio_codec_funcs | fns
bluespy_audio_codec_decoded_format | format

## Detailed Description

Returned by new_codec_stream() to provide the negotiated PCM output format, function table, and any error information.

## Public Attributes Documentation

### variable context_handle

Opaque handle to the plugin-allocated state. The host will pass this value back to decode() and deinit().

    uintptr_t bluespy_audio_codec_init_ret::context_handle;

### variable error

    int bluespy_audio_codec_init_ret::error;

### variable fns

    bluespy_audio_codec_funcs bluespy_audio_codec_init_ret::fns;

### variable format

    bluespy_audio_codec_decoded_format bluespy_audio_codec_init_ret::format;

The documentation for this class was generated from the following file `bluespy.h`