# Class cocos.audio.SDL.audio.SDL_AudioCVT

        ??._CData --+
                    |
    _ctypes.Structure --+
                        |
                       SDL_AudioCVT

Set of audio conversion filters and buffers.

## Methods

Inherited from `_ctypes.Structure`: `__init__`, `__new__` Inherited from `unreachable._CData`: `__ctypes_from_outparam__`, `__hash__`, `__reduce__`, `__setstate__`

## Properties

Inherited from `unreachable._CData`: `_b_base_`, `_b_needsfree_`

## Instance Variables

int | dst_format = `<Field type=c_ushort, ofs=6, size=2>` Destination audio format.
int | filter_index = `<Field type=c_long, ofs=80, size=4>` Current audio conversion function
int | len = `<Field type=c_long, ofs=20, size=4>` Length of original audio buffer
int | len_cvt = `<Field type=c_long, ofs=24, size=4>` Length of converted audio buffer
int | len_mult = `<Field type=c_long, ofs=28, size=4>` Buffer must be len * len_mult big
float | len_ratio = `<Field type=c_double, ofs=32, size=8>` Given len, final size is len * len_ratio
int | needed = `<Field type=c_long, ofs=0, size=4>` 1 if conversion is possible
float | rate_incr = `<Field type=c_double, ofs=8, size=8>` Rate conversion increment
int | src_format = `<Field type=c_ushort, ofs=4, size=2>` Source audio format.

## Class Variables

| _fields_ = ``[``(``'``needed``'``,` <class 'ctypes.c_long'>`)``,` `(``'``src_format``'``...``
| buf = `<Field type=LP_c_ubyte, ofs=16, size=4>`
| filters = `<Field type=CFunctionType_Array_10, ofs=40, size=40>`

## Instance Variable Details

### dst_format

Destination audio format. See SDL_AudioSpec.format

Type:
  int
Value:

      <Field type=c_ushort, ofs=6, size=2>

### src_format

Source audio format. See SDL_AudioSpec.format

Type:
  int
Value:

      <Field type=c_ushort, ofs=4, size=2>

## Class Variable Details

### _fields_

Value:

      [('needed', <class 'ctypes.c_long'>),
       ('src_format', <class 'ctypes.c_ushort'>),
       ('dst_format', <class 'ctypes.c_ushort'>),
       ('rate_incr', <class 'ctypes.c_double'>),
       ('buf', <class 'pyglet.gl.gl.LP_c_ubyte'>),
       ('len', <class 'ctypes.c_long'>),
       ('len_cvt', <class 'ctypes.c_long'>),
       ('len_mult', <class 'ctypes.c_long'>),
      ...