tensorflow/lite/g3doc/api_docs/python/tflite_support/metadata_schema_py_generated/AudioProperties.md
page_type: reference
<link rel="stylesheet" href="/site-assets/css/style.css"> <!-- DO NOT EDIT! Automatically generated file. --> <div itemscope itemtype="http://developers.google.com/ReferenceObject"> <meta itemprop="name" content="tflite_support.metadata_schema_py_generated.AudioProperties" /> <meta itemprop="path" content="Stable" /> <meta itemprop="property" content="AudioPropertiesBufferHasIdentifier"/> <meta itemprop="property" content="Channels"/> <meta itemprop="property" content="GetRootAs"/> <meta itemprop="property" content="GetRootAsAudioProperties"/> <meta itemprop="property" content="Init"/> <meta itemprop="property" content="SampleRate"/> </div>View source on GitHub
<a target="_blank" class="external" href="https://github.com/tensorflow/tflite-support/blob/v0.4.4/tensorflow_lite_support/metadata/metadata_schema_py_generated.py#L505-L507">View source</a>
<pre class="devsite-click-to-copy prettyprint lang-py tfo-signature-link"> <code>@classmethod</code> <code>AudioPropertiesBufferHasIdentifier( buf, offset, size_prefixed=False ) </code></pre> <h3 id="Channels"><code>Channels</code></h3><a target="_blank" class="external" href="https://github.com/tensorflow/tflite-support/blob/v0.4.4/tensorflow_lite_support/metadata/metadata_schema_py_generated.py#L521-L525">View source</a>
<pre class="devsite-click-to-copy prettyprint lang-py tfo-signature-link"> <code>Channels() </code></pre> <h3 id="GetRootAs"><code>GetRootAs</code></h3><a target="_blank" class="external" href="https://github.com/tensorflow/tflite-support/blob/v0.4.4/tensorflow_lite_support/metadata/metadata_schema_py_generated.py#L494-L499">View source</a>
<pre class="devsite-click-to-copy prettyprint lang-py tfo-signature-link"> <code>@classmethod</code> <code>GetRootAs( buf, offset=0 ) </code></pre> <h3 id="GetRootAsAudioProperties"><code>GetRootAsAudioProperties</code></h3><a target="_blank" class="external" href="https://github.com/tensorflow/tflite-support/blob/v0.4.4/tensorflow_lite_support/metadata/metadata_schema_py_generated.py#L501-L504">View source</a>
<pre class="devsite-click-to-copy prettyprint lang-py tfo-signature-link"> <code>@classmethod</code> <code>GetRootAsAudioProperties( buf, offset=0 ) </code></pre>This method is deprecated. Please switch to GetRootAs.
<h3 id="Init"><code>Init</code></h3><a target="_blank" class="external" href="https://github.com/tensorflow/tflite-support/blob/v0.4.4/tensorflow_lite_support/metadata/metadata_schema_py_generated.py#L510-L511">View source</a>
<pre class="devsite-click-to-copy prettyprint lang-py tfo-signature-link"> <code>Init( buf, pos ) </code></pre> <h3 id="SampleRate"><code>SampleRate</code></h3><a target="_blank" class="external" href="https://github.com/tensorflow/tflite-support/blob/v0.4.4/tensorflow_lite_support/metadata/metadata_schema_py_generated.py#L514-L518">View source</a>
<pre class="devsite-click-to-copy prettyprint lang-py tfo-signature-link"> <code>SampleRate() </code></pre>