<br />

|---|
| [![](https://www.tensorflow.org/images/GitHub-Mark-32px.png) View source on GitHub](https://github.com/google-ai-edge/mediapipe/blob/master/mediapipe/tasks/python/components/containers/audio_data.py#L26-L35) |

Audio format metadata.

    mp.tasks.components.containers.AudioDataFormat(
        num_channels: int = 1, sample_rate: Optional[float] = None
    )

<br />

<br />

<br />

| ## Attributes ||
|---|---|
| `num_channels` | the number of channels of the audio data. |
| `sample_rate` | the audio sample rate. |

<br />

## Methods

### `__eq__`

    __eq__(
        other
    )

Return self==value.

<br />

<br />

<br />

| ## Class Variables ||
|---|---|
| num_channels | `1` |
| sample_rate | `None` |

<br />