# tflite_support.metadata_schema_py_generated.AudioProperties

<br />

|---|
| [![](https://www.tensorflow.org/images/GitHub-Mark-32px.png) View source on GitHub](https://github.com/tensorflow/tflite-support/blob/v0.4.4/tensorflow_lite_support/metadata/metadata_schema_py_generated.py#L491-L525) |

## Methods

### `AudioPropertiesBufferHasIdentifier`

[View source](https://github.com/tensorflow/tflite-support/blob/v0.4.4/tensorflow_lite_support/metadata/metadata_schema_py_generated.py#L505-L507)

```python
@classmethod
AudioPropertiesBufferHasIdentifier(
    buf, offset, size_prefixed=False
)
```

### `Channels`

[View source](https://github.com/tensorflow/tflite-support/blob/v0.4.4/tensorflow_lite_support/metadata/metadata_schema_py_generated.py#L521-L525)

```python
Channels()
```

### `GetRootAs`

[View source](https://github.com/tensorflow/tflite-support/blob/v0.4.4/tensorflow_lite_support/metadata/metadata_schema_py_generated.py#L494-L499)

```python
@classmethod
GetRootAs(
    buf, offset=0
)
```

### `GetRootAsAudioProperties`

[View source](https://github.com/tensorflow/tflite-support/blob/v0.4.4/tensorflow_lite_support/metadata/metadata_schema_py_generated.py#L501-L504)

```python
@classmethod
GetRootAsAudioProperties(
    buf, offset=0
)
```

This method is deprecated. Please switch to GetRootAs.

### `Init`

[View source](https://github.com/tensorflow/tflite-support/blob/v0.4.4/tensorflow_lite_support/metadata/metadata_schema_py_generated.py#L510-L511)

```python
Init(
    buf, pos
)
```

### `SampleRate`

[View source](https://github.com/tensorflow/tflite-support/blob/v0.4.4/tensorflow_lite_support/metadata/metadata_schema_py_generated.py#L514-L518)

```python
SampleRate()
```