1<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2<html xmlns="http://www.w3.org/1999/xhtml">
3<head>
4<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
5<meta http-equiv="X-UA-Compatible" content="IE=9"/>
6<meta name="generator" content="Doxygen 1.8.15"/>
7<meta name="viewport" content="width=device-width, initial-scale=1"/>
8<title>Oboe: oboe::AudioStreamBase Class Reference</title>
9<link href="tabs.css" rel="stylesheet" type="text/css"/>
10<script type="text/javascript" src="jquery.js"></script>
11<script type="text/javascript" src="dynsections.js"></script>
12<link href="search/search.css" rel="stylesheet" type="text/css"/>
13<script type="text/javascript" src="search/searchdata.js"></script>
14<script type="text/javascript" src="search/search.js"></script>
15<link href="doxygen.css" rel="stylesheet" type="text/css" />
16</head>
17<body>
18<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
19<div id="titlearea">
20<table cellspacing="0" cellpadding="0">
21 <tbody>
22 <tr style="height: 56px;">
23  <td id="projectalign" style="padding-left: 0.5em;">
24   <div id="projectname">Oboe
25   &#160;<span id="projectnumber">1.5</span>
26   </div>
27   <div id="projectbrief">A library for creating real-time audio apps on Android</div>
28  </td>
29 </tr>
30 </tbody>
31</table>
32</div>
33<!-- end header part -->
34<!-- Generated by Doxygen 1.8.15 -->
35<script type="text/javascript">
36/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
37var searchBox = new SearchBox("searchBox", "search",false,'Search');
38/* @license-end */
39</script>
40<script type="text/javascript" src="menudata.js"></script>
41<script type="text/javascript" src="menu.js"></script>
42<script type="text/javascript">
43/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
44$(function() {
45  initMenu('',true,false,'search.php','Search');
46  $(document).ready(function() { init_search(); });
47});
48/* @license-end */</script>
49<div id="main-nav"></div>
50<!-- window showing the filter options -->
51<div id="MSearchSelectWindow"
52     onmouseover="return searchBox.OnSearchSelectShow()"
53     onmouseout="return searchBox.OnSearchSelectHide()"
54     onkeydown="return searchBox.OnSearchSelectKey(event)">
55</div>
56
57<!-- iframe showing the search results (closed by default) -->
58<div id="MSearchResultsWindow">
59<iframe src="javascript:void(0)" frameborder="0"
60        name="MSearchResults" id="MSearchResults">
61</iframe>
62</div>
63
64<div id="nav-path" class="navpath">
65  <ul>
66<li class="navelem"><a class="el" href="namespaceoboe.html">oboe</a></li><li class="navelem"><a class="el" href="classoboe_1_1_audio_stream_base.html">AudioStreamBase</a></li>  </ul>
67</div>
68</div><!-- top -->
69<div class="header">
70  <div class="summary">
71<a href="#pub-methods">Public Member Functions</a> &#124;
72<a href="#pro-methods">Protected Member Functions</a> &#124;
73<a href="#pro-attribs">Protected Attributes</a> &#124;
74<a href="classoboe_1_1_audio_stream_base-members.html">List of all members</a>  </div>
75  <div class="headertitle">
76<div class="title">oboe::AudioStreamBase Class Reference</div>  </div>
77</div><!--header-->
78<div class="contents">
79
80<p><code>#include &lt;<a class="el" href="_audio_stream_base_8h_source.html">AudioStreamBase.h</a>&gt;</code></p>
81<div class="dynheader">
82Inheritance diagram for oboe::AudioStreamBase:</div>
83<div class="dyncontent">
84 <div class="center">
85  <img src="classoboe_1_1_audio_stream_base.png" usemap="#oboe::AudioStreamBase_map" alt=""/>
86  <map id="oboe::AudioStreamBase_map" name="oboe::AudioStreamBase_map">
87<area href="classoboe_1_1_audio_stream.html" alt="oboe::AudioStream" shape="rect" coords="0,56,158,80"/>
88<area href="classoboe_1_1_audio_stream_builder.html" alt="oboe::AudioStreamBuilder" shape="rect" coords="168,56,326,80"/>
89  </map>
90</div></div>
91<table class="memberdecls">
92<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
93Public Member Functions</h2></td></tr>
94<tr class="memitem:aa6b103e1b0f808bbc4949d56f0829f98"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classoboe_1_1_audio_stream_base.html#aa6b103e1b0f808bbc4949d56f0829f98">AudioStreamBase</a> (const <a class="el" href="classoboe_1_1_audio_stream_base.html">AudioStreamBase</a> &amp;)=default</td></tr>
95<tr class="separator:aa6b103e1b0f808bbc4949d56f0829f98"><td class="memSeparator" colspan="2">&#160;</td></tr>
96<tr class="memitem:aa9c987a59555d7a60b9f7a63f4afc7fc"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classoboe_1_1_audio_stream_base.html">AudioStreamBase</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classoboe_1_1_audio_stream_base.html#aa9c987a59555d7a60b9f7a63f4afc7fc">operator=</a> (const <a class="el" href="classoboe_1_1_audio_stream_base.html">AudioStreamBase</a> &amp;)=default</td></tr>
97<tr class="separator:aa9c987a59555d7a60b9f7a63f4afc7fc"><td class="memSeparator" colspan="2">&#160;</td></tr>
98<tr class="memitem:a87e6bf37d6a2a5e983b8ca8d29aea575"><td class="memItemLeft" align="right" valign="top">int32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classoboe_1_1_audio_stream_base.html#a87e6bf37d6a2a5e983b8ca8d29aea575">getChannelCount</a> () const</td></tr>
99<tr class="separator:a87e6bf37d6a2a5e983b8ca8d29aea575"><td class="memSeparator" colspan="2">&#160;</td></tr>
100<tr class="memitem:a6f86f2233a04c5a0b056f0c1c261f1b1"><td class="memItemLeft" align="right" valign="top"><a class="el" href="namespaceoboe.html#af2147500089212955498a08ef2edb5ae">Direction</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classoboe_1_1_audio_stream_base.html#a6f86f2233a04c5a0b056f0c1c261f1b1">getDirection</a> () const</td></tr>
101<tr class="separator:a6f86f2233a04c5a0b056f0c1c261f1b1"><td class="memSeparator" colspan="2">&#160;</td></tr>
102<tr class="memitem:ae9d32f3e09174bad69e74f147ee33087"><td class="memItemLeft" align="right" valign="top">int32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classoboe_1_1_audio_stream_base.html#ae9d32f3e09174bad69e74f147ee33087">getSampleRate</a> () const</td></tr>
103<tr class="separator:ae9d32f3e09174bad69e74f147ee33087"><td class="memSeparator" colspan="2">&#160;</td></tr>
104<tr class="memitem:a8878a90949badbb5486cc2e022a57086"><td class="memItemLeft" align="right" valign="top">int32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classoboe_1_1_audio_stream_base.html#a8878a90949badbb5486cc2e022a57086">getFramesPerCallback</a> () const</td></tr>
105<tr class="separator:a8878a90949badbb5486cc2e022a57086"><td class="memSeparator" colspan="2">&#160;</td></tr>
106<tr class="memitem:abc3ee2815568b425d15a40e132aa8e38"><td class="memItemLeft" align="right" valign="top">int32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classoboe_1_1_audio_stream_base.html#abc3ee2815568b425d15a40e132aa8e38">getFramesPerDataCallback</a> () const</td></tr>
107<tr class="separator:abc3ee2815568b425d15a40e132aa8e38"><td class="memSeparator" colspan="2">&#160;</td></tr>
108<tr class="memitem:ab1e640461d7bf9d596decb913da7ac86"><td class="memItemLeft" align="right" valign="top"><a class="el" href="namespaceoboe.html#a92afc593e856571aacbfd02e57075df6">AudioFormat</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classoboe_1_1_audio_stream_base.html#ab1e640461d7bf9d596decb913da7ac86">getFormat</a> () const</td></tr>
109<tr class="separator:ab1e640461d7bf9d596decb913da7ac86"><td class="memSeparator" colspan="2">&#160;</td></tr>
110<tr class="memitem:af5217ab05bfde0d7637024b599302d0b"><td class="memItemLeft" align="right" valign="top">virtual int32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classoboe_1_1_audio_stream_base.html#af5217ab05bfde0d7637024b599302d0b">getBufferSizeInFrames</a> ()</td></tr>
111<tr class="separator:af5217ab05bfde0d7637024b599302d0b"><td class="memSeparator" colspan="2">&#160;</td></tr>
112<tr class="memitem:ab1531253e64aaebe9e9eddbafb9098fc"><td class="memItemLeft" align="right" valign="top">virtual int32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classoboe_1_1_audio_stream_base.html#ab1531253e64aaebe9e9eddbafb9098fc">getBufferCapacityInFrames</a> () const</td></tr>
113<tr class="separator:ab1531253e64aaebe9e9eddbafb9098fc"><td class="memSeparator" colspan="2">&#160;</td></tr>
114<tr class="memitem:a1fb033fc963f971bd1aa8f6707e49b41"><td class="memItemLeft" align="right" valign="top"><a class="el" href="namespaceoboe.html#a8330247b25429953a08354f41834d520">SharingMode</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classoboe_1_1_audio_stream_base.html#a1fb033fc963f971bd1aa8f6707e49b41">getSharingMode</a> () const</td></tr>
115<tr class="separator:a1fb033fc963f971bd1aa8f6707e49b41"><td class="memSeparator" colspan="2">&#160;</td></tr>
116<tr class="memitem:a2ddb935de0e24dd7ae8e2cfbecac9fdc"><td class="memItemLeft" align="right" valign="top"><a class="el" href="namespaceoboe.html#a1068781f3920654b1bfd7ed136468184">PerformanceMode</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classoboe_1_1_audio_stream_base.html#a2ddb935de0e24dd7ae8e2cfbecac9fdc">getPerformanceMode</a> () const</td></tr>
117<tr class="separator:a2ddb935de0e24dd7ae8e2cfbecac9fdc"><td class="memSeparator" colspan="2">&#160;</td></tr>
118<tr class="memitem:a093057d625bc896864b959974c265f21"><td class="memItemLeft" align="right" valign="top">int32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classoboe_1_1_audio_stream_base.html#a093057d625bc896864b959974c265f21">getDeviceId</a> () const</td></tr>
119<tr class="separator:a093057d625bc896864b959974c265f21"><td class="memSeparator" colspan="2">&#160;</td></tr>
120<tr class="memitem:a9fb2f34ae62dbda2c10e8513b754fa0c"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classoboe_1_1_audio_stream_data_callback.html">AudioStreamDataCallback</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classoboe_1_1_audio_stream_base.html#a9fb2f34ae62dbda2c10e8513b754fa0c">getDataCallback</a> () const</td></tr>
121<tr class="separator:a9fb2f34ae62dbda2c10e8513b754fa0c"><td class="memSeparator" colspan="2">&#160;</td></tr>
122<tr class="memitem:a1328fb9288166ff325995ce1ea1867f0"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classoboe_1_1_audio_stream_error_callback.html">AudioStreamErrorCallback</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classoboe_1_1_audio_stream_base.html#a1328fb9288166ff325995ce1ea1867f0">getErrorCallback</a> () const</td></tr>
123<tr class="separator:a1328fb9288166ff325995ce1ea1867f0"><td class="memSeparator" colspan="2">&#160;</td></tr>
124<tr class="memitem:a9a54d38b985a2eb12c6972104dc0ce73"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classoboe_1_1_audio_stream_base.html#a9a54d38b985a2eb12c6972104dc0ce73">isDataCallbackSpecified</a> () const</td></tr>
125<tr class="separator:a9a54d38b985a2eb12c6972104dc0ce73"><td class="memSeparator" colspan="2">&#160;</td></tr>
126<tr class="memitem:aef579f6d1f779c89d051f0963f2976b3"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classoboe_1_1_audio_stream_base.html#aef579f6d1f779c89d051f0963f2976b3">isErrorCallbackSpecified</a> () const</td></tr>
127<tr class="separator:aef579f6d1f779c89d051f0963f2976b3"><td class="memSeparator" colspan="2">&#160;</td></tr>
128<tr class="memitem:a0bcfb2f8bd11c92b541fd910da9af397"><td class="memItemLeft" align="right" valign="top"><a class="el" href="namespaceoboe.html#a104ee8396c173fefac429759ea3c21a0">Usage</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classoboe_1_1_audio_stream_base.html#a0bcfb2f8bd11c92b541fd910da9af397">getUsage</a> () const</td></tr>
129<tr class="separator:a0bcfb2f8bd11c92b541fd910da9af397"><td class="memSeparator" colspan="2">&#160;</td></tr>
130<tr class="memitem:ab12e2d068fa87e0553b01a400d96eb82"><td class="memItemLeft" align="right" valign="top"><a class="el" href="namespaceoboe.html#a2a3cec6f021c1a324df60273710c604b">ContentType</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classoboe_1_1_audio_stream_base.html#ab12e2d068fa87e0553b01a400d96eb82">getContentType</a> () const</td></tr>
131<tr class="separator:ab12e2d068fa87e0553b01a400d96eb82"><td class="memSeparator" colspan="2">&#160;</td></tr>
132<tr class="memitem:a5c773b93b8aa38191c7199cab023428a"><td class="memItemLeft" align="right" valign="top"><a class="el" href="namespaceoboe.html#a4477ed232b02e2694d9309baf55a8f06">InputPreset</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classoboe_1_1_audio_stream_base.html#a5c773b93b8aa38191c7199cab023428a">getInputPreset</a> () const</td></tr>
133<tr class="separator:a5c773b93b8aa38191c7199cab023428a"><td class="memSeparator" colspan="2">&#160;</td></tr>
134<tr class="memitem:aa3c502ce09bbad7690a2dd6acaf8892e"><td class="memItemLeft" align="right" valign="top"><a class="el" href="namespaceoboe.html#a5752250c10e96179e3618d7f72937eaf">SessionId</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classoboe_1_1_audio_stream_base.html#aa3c502ce09bbad7690a2dd6acaf8892e">getSessionId</a> () const</td></tr>
135<tr class="separator:aa3c502ce09bbad7690a2dd6acaf8892e"><td class="memSeparator" colspan="2">&#160;</td></tr>
136<tr class="memitem:aa4ec3aa76e69350fbce6f00786211495"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classoboe_1_1_audio_stream_base.html#aa4ec3aa76e69350fbce6f00786211495">isChannelConversionAllowed</a> () const</td></tr>
137<tr class="separator:aa4ec3aa76e69350fbce6f00786211495"><td class="memSeparator" colspan="2">&#160;</td></tr>
138<tr class="memitem:ace3625a7332bf02a86818fdf63fcccb4"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classoboe_1_1_audio_stream_base.html#ace3625a7332bf02a86818fdf63fcccb4">isFormatConversionAllowed</a> () const</td></tr>
139<tr class="separator:ace3625a7332bf02a86818fdf63fcccb4"><td class="memSeparator" colspan="2">&#160;</td></tr>
140<tr class="memitem:a1de8d6982d411a0cf50a32efba0ca3f2"><td class="memItemLeft" align="right" valign="top"><a class="el" href="namespaceoboe.html#a82f3720eba7654aceb7282be36f9ff1d">SampleRateConversionQuality</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classoboe_1_1_audio_stream_base.html#a1de8d6982d411a0cf50a32efba0ca3f2">getSampleRateConversionQuality</a> () const</td></tr>
141<tr class="separator:a1de8d6982d411a0cf50a32efba0ca3f2"><td class="memSeparator" colspan="2">&#160;</td></tr>
142</table><table class="memberdecls">
143<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-methods"></a>
144Protected Member Functions</h2></td></tr>
145<tr class="memitem:a5d5e07e98921d0193a5c0ccbe06f68c2"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="namespaceoboe.html#a486512e787b609c80ba4436f23929af1">Result</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classoboe_1_1_audio_stream_base.html#a5d5e07e98921d0193a5c0ccbe06f68c2">isValidConfig</a> ()</td></tr>
146<tr class="separator:a5d5e07e98921d0193a5c0ccbe06f68c2"><td class="memSeparator" colspan="2">&#160;</td></tr>
147</table><table class="memberdecls">
148<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-attribs"></a>
149Protected Attributes</h2></td></tr>
150<tr class="memitem:a6d8493f66a945cb426506c70f0358e5f"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classoboe_1_1_audio_stream_data_callback.html">AudioStreamDataCallback</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classoboe_1_1_audio_stream_base.html#a6d8493f66a945cb426506c70f0358e5f">mDataCallback</a> = nullptr</td></tr>
151<tr class="separator:a6d8493f66a945cb426506c70f0358e5f"><td class="memSeparator" colspan="2">&#160;</td></tr>
152<tr class="memitem:adc0c8cc54adb6d3350c62b8a74b9c57b"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classoboe_1_1_audio_stream_error_callback.html">AudioStreamErrorCallback</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classoboe_1_1_audio_stream_base.html#adc0c8cc54adb6d3350c62b8a74b9c57b">mErrorCallback</a> = nullptr</td></tr>
153<tr class="separator:adc0c8cc54adb6d3350c62b8a74b9c57b"><td class="memSeparator" colspan="2">&#160;</td></tr>
154<tr class="memitem:a3962eb94420ad0ecea70029236001899"><td class="memItemLeft" align="right" valign="top">int32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classoboe_1_1_audio_stream_base.html#a3962eb94420ad0ecea70029236001899">mFramesPerCallback</a> = <a class="el" href="namespaceoboe.html#ab0772052200184e514082eaa89be7905">kUnspecified</a></td></tr>
155<tr class="separator:a3962eb94420ad0ecea70029236001899"><td class="memSeparator" colspan="2">&#160;</td></tr>
156<tr class="memitem:a5ff460bac9d14dfeac4eeddfcbb6e206"><td class="memItemLeft" align="right" valign="top">int32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classoboe_1_1_audio_stream_base.html#a5ff460bac9d14dfeac4eeddfcbb6e206">mChannelCount</a> = <a class="el" href="namespaceoboe.html#ab0772052200184e514082eaa89be7905">kUnspecified</a></td></tr>
157<tr class="separator:a5ff460bac9d14dfeac4eeddfcbb6e206"><td class="memSeparator" colspan="2">&#160;</td></tr>
158<tr class="memitem:a998885bb6c4f37e145f4626ad4177dea"><td class="memItemLeft" align="right" valign="top">int32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classoboe_1_1_audio_stream_base.html#a998885bb6c4f37e145f4626ad4177dea">mSampleRate</a> = <a class="el" href="namespaceoboe.html#ab0772052200184e514082eaa89be7905">kUnspecified</a></td></tr>
159<tr class="separator:a998885bb6c4f37e145f4626ad4177dea"><td class="memSeparator" colspan="2">&#160;</td></tr>
160<tr class="memitem:a23dafa12fb1a6242b088ebd5a52798c8"><td class="memItemLeft" align="right" valign="top">int32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classoboe_1_1_audio_stream_base.html#a23dafa12fb1a6242b088ebd5a52798c8">mDeviceId</a> = <a class="el" href="namespaceoboe.html#ab0772052200184e514082eaa89be7905">kUnspecified</a></td></tr>
161<tr class="separator:a23dafa12fb1a6242b088ebd5a52798c8"><td class="memSeparator" colspan="2">&#160;</td></tr>
162<tr class="memitem:ac81d4719b350f8138aad1af38f0873b6"><td class="memItemLeft" align="right" valign="top">int32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classoboe_1_1_audio_stream_base.html#ac81d4719b350f8138aad1af38f0873b6">mBufferCapacityInFrames</a> = <a class="el" href="namespaceoboe.html#ab0772052200184e514082eaa89be7905">kUnspecified</a></td></tr>
163<tr class="separator:ac81d4719b350f8138aad1af38f0873b6"><td class="memSeparator" colspan="2">&#160;</td></tr>
164<tr class="memitem:a3b65595d26d1eae1b8ce9925a5b98f6a"><td class="memItemLeft" align="right" valign="top">int32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classoboe_1_1_audio_stream_base.html#a3b65595d26d1eae1b8ce9925a5b98f6a">mBufferSizeInFrames</a> = <a class="el" href="namespaceoboe.html#ab0772052200184e514082eaa89be7905">kUnspecified</a></td></tr>
165<tr class="separator:a3b65595d26d1eae1b8ce9925a5b98f6a"><td class="memSeparator" colspan="2">&#160;</td></tr>
166<tr class="memitem:a54061319ed348329a29d883a5de2482e"><td class="memItemLeft" align="right" valign="top">int32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classoboe_1_1_audio_stream_base.html#a54061319ed348329a29d883a5de2482e">mFramesPerBurst</a> = <a class="el" href="namespaceoboe.html#ab0772052200184e514082eaa89be7905">kUnspecified</a></td></tr>
167<tr class="separator:a54061319ed348329a29d883a5de2482e"><td class="memSeparator" colspan="2">&#160;</td></tr>
168<tr class="memitem:ae9187492b679c97a0963e264954be473"><td class="memItemLeft" align="right" valign="top"><a class="el" href="namespaceoboe.html#a8330247b25429953a08354f41834d520">SharingMode</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classoboe_1_1_audio_stream_base.html#ae9187492b679c97a0963e264954be473">mSharingMode</a> = <a class="el" href="namespaceoboe.html#a8330247b25429953a08354f41834d520aa6156ea9d66fef24e87e841fbabf7cca">SharingMode::Shared</a></td></tr>
169<tr class="separator:ae9187492b679c97a0963e264954be473"><td class="memSeparator" colspan="2">&#160;</td></tr>
170<tr class="memitem:a7869f04836c2c2bdc10c7309ad4b8e09"><td class="memItemLeft" align="right" valign="top"><a class="el" href="namespaceoboe.html#a92afc593e856571aacbfd02e57075df6">AudioFormat</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classoboe_1_1_audio_stream_base.html#a7869f04836c2c2bdc10c7309ad4b8e09">mFormat</a> = AudioFormat::Unspecified</td></tr>
171<tr class="separator:a7869f04836c2c2bdc10c7309ad4b8e09"><td class="memSeparator" colspan="2">&#160;</td></tr>
172<tr class="memitem:a26e9294721561d3b16bcaeec5faf4880"><td class="memItemLeft" align="right" valign="top"><a class="el" href="namespaceoboe.html#af2147500089212955498a08ef2edb5ae">Direction</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classoboe_1_1_audio_stream_base.html#a26e9294721561d3b16bcaeec5faf4880">mDirection</a> = <a class="el" href="namespaceoboe.html#af2147500089212955498a08ef2edb5aea29c2c02a361c9d7028472e5d92cd4a54">Direction::Output</a></td></tr>
173<tr class="separator:a26e9294721561d3b16bcaeec5faf4880"><td class="memSeparator" colspan="2">&#160;</td></tr>
174<tr class="memitem:ab99671c2d0552557e75dc7b4afe91765"><td class="memItemLeft" align="right" valign="top"><a class="el" href="namespaceoboe.html#a1068781f3920654b1bfd7ed136468184">PerformanceMode</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classoboe_1_1_audio_stream_base.html#ab99671c2d0552557e75dc7b4afe91765">mPerformanceMode</a> = PerformanceMode::None</td></tr>
175<tr class="separator:ab99671c2d0552557e75dc7b4afe91765"><td class="memSeparator" colspan="2">&#160;</td></tr>
176<tr class="memitem:a5b518e82f39c9fcbd7050fd66adb253c"><td class="memItemLeft" align="right" valign="top"><a class="el" href="namespaceoboe.html#a104ee8396c173fefac429759ea3c21a0">Usage</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classoboe_1_1_audio_stream_base.html#a5b518e82f39c9fcbd7050fd66adb253c">mUsage</a> = <a class="el" href="namespaceoboe.html#a104ee8396c173fefac429759ea3c21a0a3b563524fdb17b4a86590470d40bef74">Usage::Media</a></td></tr>
177<tr class="separator:a5b518e82f39c9fcbd7050fd66adb253c"><td class="memSeparator" colspan="2">&#160;</td></tr>
178<tr class="memitem:a5f8f0e5add381b841856de80ea4cdb2b"><td class="memItemLeft" align="right" valign="top"><a class="el" href="namespaceoboe.html#a2a3cec6f021c1a324df60273710c604b">ContentType</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classoboe_1_1_audio_stream_base.html#a5f8f0e5add381b841856de80ea4cdb2b">mContentType</a> = ContentType::Music</td></tr>
179<tr class="separator:a5f8f0e5add381b841856de80ea4cdb2b"><td class="memSeparator" colspan="2">&#160;</td></tr>
180<tr class="memitem:a1e5d4f5b30c4cc36f81ffd858cc00589"><td class="memItemLeft" align="right" valign="top"><a class="el" href="namespaceoboe.html#a4477ed232b02e2694d9309baf55a8f06">InputPreset</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classoboe_1_1_audio_stream_base.html#a1e5d4f5b30c4cc36f81ffd858cc00589">mInputPreset</a> = InputPreset::VoiceRecognition</td></tr>
181<tr class="separator:a1e5d4f5b30c4cc36f81ffd858cc00589"><td class="memSeparator" colspan="2">&#160;</td></tr>
182<tr class="memitem:abe1c1e9cada1ced9b5c1504ac9b07737"><td class="memItemLeft" align="right" valign="top"><a class="el" href="namespaceoboe.html#a5752250c10e96179e3618d7f72937eaf">SessionId</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classoboe_1_1_audio_stream_base.html#abe1c1e9cada1ced9b5c1504ac9b07737">mSessionId</a> = SessionId::None</td></tr>
183<tr class="separator:abe1c1e9cada1ced9b5c1504ac9b07737"><td class="memSeparator" colspan="2">&#160;</td></tr>
184<tr class="memitem:ae47a39b573250751f933dd159d09bf0f"><td class="memItemLeft" align="right" valign="top"><a id="ae47a39b573250751f933dd159d09bf0f"></a>
185bool&#160;</td><td class="memItemRight" valign="bottom"><b>mChannelConversionAllowed</b> = false</td></tr>
186<tr class="separator:ae47a39b573250751f933dd159d09bf0f"><td class="memSeparator" colspan="2">&#160;</td></tr>
187<tr class="memitem:a9394a88eb5f8b74fa72eabf28f403f87"><td class="memItemLeft" align="right" valign="top"><a id="a9394a88eb5f8b74fa72eabf28f403f87"></a>
188bool&#160;</td><td class="memItemRight" valign="bottom"><b>mFormatConversionAllowed</b> = false</td></tr>
189<tr class="separator:a9394a88eb5f8b74fa72eabf28f403f87"><td class="memSeparator" colspan="2">&#160;</td></tr>
190<tr class="memitem:a2dd35a6f009f36172838260144218f6d"><td class="memItemLeft" align="right" valign="top"><a id="a2dd35a6f009f36172838260144218f6d"></a>
191<a class="el" href="namespaceoboe.html#a82f3720eba7654aceb7282be36f9ff1d">SampleRateConversionQuality</a>&#160;</td><td class="memItemRight" valign="bottom"><b>mSampleRateConversionQuality</b> = SampleRateConversionQuality::None</td></tr>
192<tr class="separator:a2dd35a6f009f36172838260144218f6d"><td class="memSeparator" colspan="2">&#160;</td></tr>
193</table>
194<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
195<div class="textblock"><p>Base class containing parameters for audio streams and builders. </p>
196</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
197<a id="aa6b103e1b0f808bbc4949d56f0829f98"></a>
198<h2 class="memtitle"><span class="permalink"><a href="#aa6b103e1b0f808bbc4949d56f0829f98">&#9670;&nbsp;</a></span>AudioStreamBase()</h2>
199
200<div class="memitem">
201<div class="memproto">
202<table class="mlabels">
203  <tr>
204  <td class="mlabels-left">
205      <table class="memname">
206        <tr>
207          <td class="memname">oboe::AudioStreamBase::AudioStreamBase </td>
208          <td>(</td>
209          <td class="paramtype">const <a class="el" href="classoboe_1_1_audio_stream_base.html">AudioStreamBase</a> &amp;&#160;</td>
210          <td class="paramname"></td><td>)</td>
211          <td></td>
212        </tr>
213      </table>
214  </td>
215  <td class="mlabels-right">
216<span class="mlabels"><span class="mlabel">default</span></span>  </td>
217  </tr>
218</table>
219</div><div class="memdoc">
220<p>Default copy constructor </p>
221
222</div>
223</div>
224<h2 class="groupheader">Member Function Documentation</h2>
225<a id="ab1531253e64aaebe9e9eddbafb9098fc"></a>
226<h2 class="memtitle"><span class="permalink"><a href="#ab1531253e64aaebe9e9eddbafb9098fc">&#9670;&nbsp;</a></span>getBufferCapacityInFrames()</h2>
227
228<div class="memitem">
229<div class="memproto">
230<table class="mlabels">
231  <tr>
232  <td class="mlabels-left">
233      <table class="memname">
234        <tr>
235          <td class="memname">virtual int32_t oboe::AudioStreamBase::getBufferCapacityInFrames </td>
236          <td>(</td>
237          <td class="paramname"></td><td>)</td>
238          <td> const</td>
239        </tr>
240      </table>
241  </td>
242  <td class="mlabels-right">
243<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">virtual</span></span>  </td>
244  </tr>
245</table>
246</div><div class="memdoc">
247<dl class="section return"><dt>Returns</dt><dd>capacityInFrames or kUnspecified </dd></dl>
248
249</div>
250</div>
251<a id="af5217ab05bfde0d7637024b599302d0b"></a>
252<h2 class="memtitle"><span class="permalink"><a href="#af5217ab05bfde0d7637024b599302d0b">&#9670;&nbsp;</a></span>getBufferSizeInFrames()</h2>
253
254<div class="memitem">
255<div class="memproto">
256<table class="mlabels">
257  <tr>
258  <td class="mlabels-left">
259      <table class="memname">
260        <tr>
261          <td class="memname">virtual int32_t oboe::AudioStreamBase::getBufferSizeInFrames </td>
262          <td>(</td>
263          <td class="paramname"></td><td>)</td>
264          <td></td>
265        </tr>
266      </table>
267  </td>
268  <td class="mlabels-right">
269<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">virtual</span></span>  </td>
270  </tr>
271</table>
272</div><div class="memdoc">
273<p>Query the maximum number of frames that can be filled without blocking. If the stream has been closed the last known value will be returned.</p>
274<dl class="section return"><dt>Returns</dt><dd>buffer size </dd></dl>
275
276</div>
277</div>
278<a id="a87e6bf37d6a2a5e983b8ca8d29aea575"></a>
279<h2 class="memtitle"><span class="permalink"><a href="#a87e6bf37d6a2a5e983b8ca8d29aea575">&#9670;&nbsp;</a></span>getChannelCount()</h2>
280
281<div class="memitem">
282<div class="memproto">
283<table class="mlabels">
284  <tr>
285  <td class="mlabels-left">
286      <table class="memname">
287        <tr>
288          <td class="memname">int32_t oboe::AudioStreamBase::getChannelCount </td>
289          <td>(</td>
290          <td class="paramname"></td><td>)</td>
291          <td> const</td>
292        </tr>
293      </table>
294  </td>
295  <td class="mlabels-right">
296<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
297  </tr>
298</table>
299</div><div class="memdoc">
300<dl class="section return"><dt>Returns</dt><dd>number of channels, for example 2 for stereo, or kUnspecified </dd></dl>
301
302</div>
303</div>
304<a id="ab12e2d068fa87e0553b01a400d96eb82"></a>
305<h2 class="memtitle"><span class="permalink"><a href="#ab12e2d068fa87e0553b01a400d96eb82">&#9670;&nbsp;</a></span>getContentType()</h2>
306
307<div class="memitem">
308<div class="memproto">
309<table class="mlabels">
310  <tr>
311  <td class="mlabels-left">
312      <table class="memname">
313        <tr>
314          <td class="memname"><a class="el" href="namespaceoboe.html#a2a3cec6f021c1a324df60273710c604b">ContentType</a> oboe::AudioStreamBase::getContentType </td>
315          <td>(</td>
316          <td class="paramname"></td><td>)</td>
317          <td> const</td>
318        </tr>
319      </table>
320  </td>
321  <td class="mlabels-right">
322<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
323  </tr>
324</table>
325</div><div class="memdoc">
326<dl class="section return"><dt>Returns</dt><dd>the stream's content type. </dd></dl>
327
328</div>
329</div>
330<a id="a9fb2f34ae62dbda2c10e8513b754fa0c"></a>
331<h2 class="memtitle"><span class="permalink"><a href="#a9fb2f34ae62dbda2c10e8513b754fa0c">&#9670;&nbsp;</a></span>getDataCallback()</h2>
332
333<div class="memitem">
334<div class="memproto">
335<table class="mlabels">
336  <tr>
337  <td class="mlabels-left">
338      <table class="memname">
339        <tr>
340          <td class="memname"><a class="el" href="classoboe_1_1_audio_stream_data_callback.html">AudioStreamDataCallback</a>* oboe::AudioStreamBase::getDataCallback </td>
341          <td>(</td>
342          <td class="paramname"></td><td>)</td>
343          <td> const</td>
344        </tr>
345      </table>
346  </td>
347  <td class="mlabels-right">
348<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
349  </tr>
350</table>
351</div><div class="memdoc">
352<p>For internal use only. </p><dl class="section return"><dt>Returns</dt><dd>the data callback object for this stream, if set. </dd></dl>
353
354</div>
355</div>
356<a id="a093057d625bc896864b959974c265f21"></a>
357<h2 class="memtitle"><span class="permalink"><a href="#a093057d625bc896864b959974c265f21">&#9670;&nbsp;</a></span>getDeviceId()</h2>
358
359<div class="memitem">
360<div class="memproto">
361<table class="mlabels">
362  <tr>
363  <td class="mlabels-left">
364      <table class="memname">
365        <tr>
366          <td class="memname">int32_t oboe::AudioStreamBase::getDeviceId </td>
367          <td>(</td>
368          <td class="paramname"></td><td>)</td>
369          <td> const</td>
370        </tr>
371      </table>
372  </td>
373  <td class="mlabels-right">
374<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
375  </tr>
376</table>
377</div><div class="memdoc">
378<dl class="section return"><dt>Returns</dt><dd>the device ID of the stream. </dd></dl>
379
380</div>
381</div>
382<a id="a6f86f2233a04c5a0b056f0c1c261f1b1"></a>
383<h2 class="memtitle"><span class="permalink"><a href="#a6f86f2233a04c5a0b056f0c1c261f1b1">&#9670;&nbsp;</a></span>getDirection()</h2>
384
385<div class="memitem">
386<div class="memproto">
387<table class="mlabels">
388  <tr>
389  <td class="mlabels-left">
390      <table class="memname">
391        <tr>
392          <td class="memname"><a class="el" href="namespaceoboe.html#af2147500089212955498a08ef2edb5ae">Direction</a> oboe::AudioStreamBase::getDirection </td>
393          <td>(</td>
394          <td class="paramname"></td><td>)</td>
395          <td> const</td>
396        </tr>
397      </table>
398  </td>
399  <td class="mlabels-right">
400<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
401  </tr>
402</table>
403</div><div class="memdoc">
404<dl class="section return"><dt>Returns</dt><dd><a class="el" href="namespaceoboe.html#af2147500089212955498a08ef2edb5aea324118a6721dd6b8a9b9f4e327df2bf5">Direction::Input</a> or <a class="el" href="namespaceoboe.html#af2147500089212955498a08ef2edb5aea29c2c02a361c9d7028472e5d92cd4a54">Direction::Output</a> </dd></dl>
405
406</div>
407</div>
408<a id="a1328fb9288166ff325995ce1ea1867f0"></a>
409<h2 class="memtitle"><span class="permalink"><a href="#a1328fb9288166ff325995ce1ea1867f0">&#9670;&nbsp;</a></span>getErrorCallback()</h2>
410
411<div class="memitem">
412<div class="memproto">
413<table class="mlabels">
414  <tr>
415  <td class="mlabels-left">
416      <table class="memname">
417        <tr>
418          <td class="memname"><a class="el" href="classoboe_1_1_audio_stream_error_callback.html">AudioStreamErrorCallback</a>* oboe::AudioStreamBase::getErrorCallback </td>
419          <td>(</td>
420          <td class="paramname"></td><td>)</td>
421          <td> const</td>
422        </tr>
423      </table>
424  </td>
425  <td class="mlabels-right">
426<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
427  </tr>
428</table>
429</div><div class="memdoc">
430<p>For internal use only. </p><dl class="section return"><dt>Returns</dt><dd>the error callback object for this stream, if set. </dd></dl>
431
432</div>
433</div>
434<a id="ab1e640461d7bf9d596decb913da7ac86"></a>
435<h2 class="memtitle"><span class="permalink"><a href="#ab1e640461d7bf9d596decb913da7ac86">&#9670;&nbsp;</a></span>getFormat()</h2>
436
437<div class="memitem">
438<div class="memproto">
439<table class="mlabels">
440  <tr>
441  <td class="mlabels-left">
442      <table class="memname">
443        <tr>
444          <td class="memname"><a class="el" href="namespaceoboe.html#a92afc593e856571aacbfd02e57075df6">AudioFormat</a> oboe::AudioStreamBase::getFormat </td>
445          <td>(</td>
446          <td class="paramname"></td><td>)</td>
447          <td> const</td>
448        </tr>
449      </table>
450  </td>
451  <td class="mlabels-right">
452<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
453  </tr>
454</table>
455</div><div class="memdoc">
456<dl class="section return"><dt>Returns</dt><dd>the audio sample format (e.g. Float or I16) </dd></dl>
457
458</div>
459</div>
460<a id="a8878a90949badbb5486cc2e022a57086"></a>
461<h2 class="memtitle"><span class="permalink"><a href="#a8878a90949badbb5486cc2e022a57086">&#9670;&nbsp;</a></span>getFramesPerCallback()</h2>
462
463<div class="memitem">
464<div class="memproto">
465<table class="mlabels">
466  <tr>
467  <td class="mlabels-left">
468      <table class="memname">
469        <tr>
470          <td class="memname">int32_t oboe::AudioStreamBase::getFramesPerCallback </td>
471          <td>(</td>
472          <td class="paramname"></td><td>)</td>
473          <td> const</td>
474        </tr>
475      </table>
476  </td>
477  <td class="mlabels-right">
478<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
479  </tr>
480</table>
481</div><div class="memdoc">
482<dl class="deprecated"><dt><b><a class="el" href="deprecated.html#_deprecated000002">Deprecated:</a></b></dt><dd>use <code>getFramesPerDataCallback</code> instead. </dd></dl>
483
484</div>
485</div>
486<a id="abc3ee2815568b425d15a40e132aa8e38"></a>
487<h2 class="memtitle"><span class="permalink"><a href="#abc3ee2815568b425d15a40e132aa8e38">&#9670;&nbsp;</a></span>getFramesPerDataCallback()</h2>
488
489<div class="memitem">
490<div class="memproto">
491<table class="mlabels">
492  <tr>
493  <td class="mlabels-left">
494      <table class="memname">
495        <tr>
496          <td class="memname">int32_t oboe::AudioStreamBase::getFramesPerDataCallback </td>
497          <td>(</td>
498          <td class="paramname"></td><td>)</td>
499          <td> const</td>
500        </tr>
501      </table>
502  </td>
503  <td class="mlabels-right">
504<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
505  </tr>
506</table>
507</div><div class="memdoc">
508<dl class="section return"><dt>Returns</dt><dd>the number of frames in each data callback or kUnspecified. </dd></dl>
509
510</div>
511</div>
512<a id="a5c773b93b8aa38191c7199cab023428a"></a>
513<h2 class="memtitle"><span class="permalink"><a href="#a5c773b93b8aa38191c7199cab023428a">&#9670;&nbsp;</a></span>getInputPreset()</h2>
514
515<div class="memitem">
516<div class="memproto">
517<table class="mlabels">
518  <tr>
519  <td class="mlabels-left">
520      <table class="memname">
521        <tr>
522          <td class="memname"><a class="el" href="namespaceoboe.html#a4477ed232b02e2694d9309baf55a8f06">InputPreset</a> oboe::AudioStreamBase::getInputPreset </td>
523          <td>(</td>
524          <td class="paramname"></td><td>)</td>
525          <td> const</td>
526        </tr>
527      </table>
528  </td>
529  <td class="mlabels-right">
530<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
531  </tr>
532</table>
533</div><div class="memdoc">
534<dl class="section return"><dt>Returns</dt><dd>the stream's input preset. </dd></dl>
535
536</div>
537</div>
538<a id="a2ddb935de0e24dd7ae8e2cfbecac9fdc"></a>
539<h2 class="memtitle"><span class="permalink"><a href="#a2ddb935de0e24dd7ae8e2cfbecac9fdc">&#9670;&nbsp;</a></span>getPerformanceMode()</h2>
540
541<div class="memitem">
542<div class="memproto">
543<table class="mlabels">
544  <tr>
545  <td class="mlabels-left">
546      <table class="memname">
547        <tr>
548          <td class="memname"><a class="el" href="namespaceoboe.html#a1068781f3920654b1bfd7ed136468184">PerformanceMode</a> oboe::AudioStreamBase::getPerformanceMode </td>
549          <td>(</td>
550          <td class="paramname"></td><td>)</td>
551          <td> const</td>
552        </tr>
553      </table>
554  </td>
555  <td class="mlabels-right">
556<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
557  </tr>
558</table>
559</div><div class="memdoc">
560<dl class="section return"><dt>Returns</dt><dd>the performance mode of the stream. </dd></dl>
561
562</div>
563</div>
564<a id="ae9d32f3e09174bad69e74f147ee33087"></a>
565<h2 class="memtitle"><span class="permalink"><a href="#ae9d32f3e09174bad69e74f147ee33087">&#9670;&nbsp;</a></span>getSampleRate()</h2>
566
567<div class="memitem">
568<div class="memproto">
569<table class="mlabels">
570  <tr>
571  <td class="mlabels-left">
572      <table class="memname">
573        <tr>
574          <td class="memname">int32_t oboe::AudioStreamBase::getSampleRate </td>
575          <td>(</td>
576          <td class="paramname"></td><td>)</td>
577          <td> const</td>
578        </tr>
579      </table>
580  </td>
581  <td class="mlabels-right">
582<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
583  </tr>
584</table>
585</div><div class="memdoc">
586<dl class="section return"><dt>Returns</dt><dd>sample rate for the stream or kUnspecified </dd></dl>
587
588</div>
589</div>
590<a id="a1de8d6982d411a0cf50a32efba0ca3f2"></a>
591<h2 class="memtitle"><span class="permalink"><a href="#a1de8d6982d411a0cf50a32efba0ca3f2">&#9670;&nbsp;</a></span>getSampleRateConversionQuality()</h2>
592
593<div class="memitem">
594<div class="memproto">
595<table class="mlabels">
596  <tr>
597  <td class="mlabels-left">
598      <table class="memname">
599        <tr>
600          <td class="memname"><a class="el" href="namespaceoboe.html#a82f3720eba7654aceb7282be36f9ff1d">SampleRateConversionQuality</a> oboe::AudioStreamBase::getSampleRateConversionQuality </td>
601          <td>(</td>
602          <td class="paramname"></td><td>)</td>
603          <td> const</td>
604        </tr>
605      </table>
606  </td>
607  <td class="mlabels-right">
608<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
609  </tr>
610</table>
611</div><div class="memdoc">
612<dl class="section return"><dt>Returns</dt><dd>whether and how Oboe can convert sample rates to achieve optimal results. </dd></dl>
613
614</div>
615</div>
616<a id="aa3c502ce09bbad7690a2dd6acaf8892e"></a>
617<h2 class="memtitle"><span class="permalink"><a href="#aa3c502ce09bbad7690a2dd6acaf8892e">&#9670;&nbsp;</a></span>getSessionId()</h2>
618
619<div class="memitem">
620<div class="memproto">
621<table class="mlabels">
622  <tr>
623  <td class="mlabels-left">
624      <table class="memname">
625        <tr>
626          <td class="memname"><a class="el" href="namespaceoboe.html#a5752250c10e96179e3618d7f72937eaf">SessionId</a> oboe::AudioStreamBase::getSessionId </td>
627          <td>(</td>
628          <td class="paramname"></td><td>)</td>
629          <td> const</td>
630        </tr>
631      </table>
632  </td>
633  <td class="mlabels-right">
634<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
635  </tr>
636</table>
637</div><div class="memdoc">
638<dl class="section return"><dt>Returns</dt><dd>the stream's session ID allocation strategy (None or Allocate). </dd></dl>
639
640</div>
641</div>
642<a id="a1fb033fc963f971bd1aa8f6707e49b41"></a>
643<h2 class="memtitle"><span class="permalink"><a href="#a1fb033fc963f971bd1aa8f6707e49b41">&#9670;&nbsp;</a></span>getSharingMode()</h2>
644
645<div class="memitem">
646<div class="memproto">
647<table class="mlabels">
648  <tr>
649  <td class="mlabels-left">
650      <table class="memname">
651        <tr>
652          <td class="memname"><a class="el" href="namespaceoboe.html#a8330247b25429953a08354f41834d520">SharingMode</a> oboe::AudioStreamBase::getSharingMode </td>
653          <td>(</td>
654          <td class="paramname"></td><td>)</td>
655          <td> const</td>
656        </tr>
657      </table>
658  </td>
659  <td class="mlabels-right">
660<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
661  </tr>
662</table>
663</div><div class="memdoc">
664<dl class="section return"><dt>Returns</dt><dd>the sharing mode of the stream. </dd></dl>
665
666</div>
667</div>
668<a id="a0bcfb2f8bd11c92b541fd910da9af397"></a>
669<h2 class="memtitle"><span class="permalink"><a href="#a0bcfb2f8bd11c92b541fd910da9af397">&#9670;&nbsp;</a></span>getUsage()</h2>
670
671<div class="memitem">
672<div class="memproto">
673<table class="mlabels">
674  <tr>
675  <td class="mlabels-left">
676      <table class="memname">
677        <tr>
678          <td class="memname"><a class="el" href="namespaceoboe.html#a104ee8396c173fefac429759ea3c21a0">Usage</a> oboe::AudioStreamBase::getUsage </td>
679          <td>(</td>
680          <td class="paramname"></td><td>)</td>
681          <td> const</td>
682        </tr>
683      </table>
684  </td>
685  <td class="mlabels-right">
686<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
687  </tr>
688</table>
689</div><div class="memdoc">
690<dl class="section return"><dt>Returns</dt><dd>the usage for this stream. </dd></dl>
691
692</div>
693</div>
694<a id="aa4ec3aa76e69350fbce6f00786211495"></a>
695<h2 class="memtitle"><span class="permalink"><a href="#aa4ec3aa76e69350fbce6f00786211495">&#9670;&nbsp;</a></span>isChannelConversionAllowed()</h2>
696
697<div class="memitem">
698<div class="memproto">
699<table class="mlabels">
700  <tr>
701  <td class="mlabels-left">
702      <table class="memname">
703        <tr>
704          <td class="memname">bool oboe::AudioStreamBase::isChannelConversionAllowed </td>
705          <td>(</td>
706          <td class="paramname"></td><td>)</td>
707          <td> const</td>
708        </tr>
709      </table>
710  </td>
711  <td class="mlabels-right">
712<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
713  </tr>
714</table>
715</div><div class="memdoc">
716<dl class="section return"><dt>Returns</dt><dd>true if Oboe can convert channel counts to achieve optimal results. </dd></dl>
717
718</div>
719</div>
720<a id="a9a54d38b985a2eb12c6972104dc0ce73"></a>
721<h2 class="memtitle"><span class="permalink"><a href="#a9a54d38b985a2eb12c6972104dc0ce73">&#9670;&nbsp;</a></span>isDataCallbackSpecified()</h2>
722
723<div class="memitem">
724<div class="memproto">
725<table class="mlabels">
726  <tr>
727  <td class="mlabels-left">
728      <table class="memname">
729        <tr>
730          <td class="memname">bool oboe::AudioStreamBase::isDataCallbackSpecified </td>
731          <td>(</td>
732          <td class="paramname"></td><td>)</td>
733          <td> const</td>
734        </tr>
735      </table>
736  </td>
737  <td class="mlabels-right">
738<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
739  </tr>
740</table>
741</div><div class="memdoc">
742<dl class="section return"><dt>Returns</dt><dd>true if a data callback was set for this stream </dd></dl>
743
744</div>
745</div>
746<a id="aef579f6d1f779c89d051f0963f2976b3"></a>
747<h2 class="memtitle"><span class="permalink"><a href="#aef579f6d1f779c89d051f0963f2976b3">&#9670;&nbsp;</a></span>isErrorCallbackSpecified()</h2>
748
749<div class="memitem">
750<div class="memproto">
751<table class="mlabels">
752  <tr>
753  <td class="mlabels-left">
754      <table class="memname">
755        <tr>
756          <td class="memname">bool oboe::AudioStreamBase::isErrorCallbackSpecified </td>
757          <td>(</td>
758          <td class="paramname"></td><td>)</td>
759          <td> const</td>
760        </tr>
761      </table>
762  </td>
763  <td class="mlabels-right">
764<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
765  </tr>
766</table>
767</div><div class="memdoc">
768<p>Note that if the app does not set an error callback then a default one may be provided. </p><dl class="section return"><dt>Returns</dt><dd>true if an error callback was set for this stream </dd></dl>
769
770</div>
771</div>
772<a id="ace3625a7332bf02a86818fdf63fcccb4"></a>
773<h2 class="memtitle"><span class="permalink"><a href="#ace3625a7332bf02a86818fdf63fcccb4">&#9670;&nbsp;</a></span>isFormatConversionAllowed()</h2>
774
775<div class="memitem">
776<div class="memproto">
777<table class="mlabels">
778  <tr>
779  <td class="mlabels-left">
780      <table class="memname">
781        <tr>
782          <td class="memname">bool oboe::AudioStreamBase::isFormatConversionAllowed </td>
783          <td>(</td>
784          <td class="paramname"></td><td>)</td>
785          <td> const</td>
786        </tr>
787      </table>
788  </td>
789  <td class="mlabels-right">
790<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
791  </tr>
792</table>
793</div><div class="memdoc">
794<dl class="section return"><dt>Returns</dt><dd>true if Oboe can convert data formats to achieve optimal results. </dd></dl>
795
796</div>
797</div>
798<a id="a5d5e07e98921d0193a5c0ccbe06f68c2"></a>
799<h2 class="memtitle"><span class="permalink"><a href="#a5d5e07e98921d0193a5c0ccbe06f68c2">&#9670;&nbsp;</a></span>isValidConfig()</h2>
800
801<div class="memitem">
802<div class="memproto">
803<table class="mlabels">
804  <tr>
805  <td class="mlabels-left">
806      <table class="memname">
807        <tr>
808          <td class="memname">virtual <a class="el" href="namespaceoboe.html#a486512e787b609c80ba4436f23929af1">Result</a> oboe::AudioStreamBase::isValidConfig </td>
809          <td>(</td>
810          <td class="paramname"></td><td>)</td>
811          <td></td>
812        </tr>
813      </table>
814  </td>
815  <td class="mlabels-right">
816<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">protected</span><span class="mlabel">virtual</span></span>  </td>
817  </tr>
818</table>
819</div><div class="memdoc">
820<p>Validate stream parameters that might not be checked in lower layers </p>
821
822</div>
823</div>
824<a id="aa9c987a59555d7a60b9f7a63f4afc7fc"></a>
825<h2 class="memtitle"><span class="permalink"><a href="#aa9c987a59555d7a60b9f7a63f4afc7fc">&#9670;&nbsp;</a></span>operator=()</h2>
826
827<div class="memitem">
828<div class="memproto">
829<table class="mlabels">
830  <tr>
831  <td class="mlabels-left">
832      <table class="memname">
833        <tr>
834          <td class="memname"><a class="el" href="classoboe_1_1_audio_stream_base.html">AudioStreamBase</a>&amp; oboe::AudioStreamBase::operator= </td>
835          <td>(</td>
836          <td class="paramtype">const <a class="el" href="classoboe_1_1_audio_stream_base.html">AudioStreamBase</a> &amp;&#160;</td>
837          <td class="paramname"></td><td>)</td>
838          <td></td>
839        </tr>
840      </table>
841  </td>
842  <td class="mlabels-right">
843<span class="mlabels"><span class="mlabel">default</span></span>  </td>
844  </tr>
845</table>
846</div><div class="memdoc">
847<p>Default assignment operator </p>
848
849</div>
850</div>
851<h2 class="groupheader">Member Data Documentation</h2>
852<a id="ac81d4719b350f8138aad1af38f0873b6"></a>
853<h2 class="memtitle"><span class="permalink"><a href="#ac81d4719b350f8138aad1af38f0873b6">&#9670;&nbsp;</a></span>mBufferCapacityInFrames</h2>
854
855<div class="memitem">
856<div class="memproto">
857<table class="mlabels">
858  <tr>
859  <td class="mlabels-left">
860      <table class="memname">
861        <tr>
862          <td class="memname">int32_t oboe::AudioStreamBase::mBufferCapacityInFrames = <a class="el" href="namespaceoboe.html#ab0772052200184e514082eaa89be7905">kUnspecified</a></td>
863        </tr>
864      </table>
865  </td>
866  <td class="mlabels-right">
867<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
868  </tr>
869</table>
870</div><div class="memdoc">
871<p>Stream buffer capacity specified as a number of audio frames </p>
872
873</div>
874</div>
875<a id="a3b65595d26d1eae1b8ce9925a5b98f6a"></a>
876<h2 class="memtitle"><span class="permalink"><a href="#a3b65595d26d1eae1b8ce9925a5b98f6a">&#9670;&nbsp;</a></span>mBufferSizeInFrames</h2>
877
878<div class="memitem">
879<div class="memproto">
880<table class="mlabels">
881  <tr>
882  <td class="mlabels-left">
883      <table class="memname">
884        <tr>
885          <td class="memname">int32_t oboe::AudioStreamBase::mBufferSizeInFrames = <a class="el" href="namespaceoboe.html#ab0772052200184e514082eaa89be7905">kUnspecified</a></td>
886        </tr>
887      </table>
888  </td>
889  <td class="mlabels-right">
890<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
891  </tr>
892</table>
893</div><div class="memdoc">
894<p>Stream buffer size specified as a number of audio frames </p>
895
896</div>
897</div>
898<a id="a5ff460bac9d14dfeac4eeddfcbb6e206"></a>
899<h2 class="memtitle"><span class="permalink"><a href="#a5ff460bac9d14dfeac4eeddfcbb6e206">&#9670;&nbsp;</a></span>mChannelCount</h2>
900
901<div class="memitem">
902<div class="memproto">
903<table class="mlabels">
904  <tr>
905  <td class="mlabels-left">
906      <table class="memname">
907        <tr>
908          <td class="memname">int32_t oboe::AudioStreamBase::mChannelCount = <a class="el" href="namespaceoboe.html#ab0772052200184e514082eaa89be7905">kUnspecified</a></td>
909        </tr>
910      </table>
911  </td>
912  <td class="mlabels-right">
913<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
914  </tr>
915</table>
916</div><div class="memdoc">
917<p>Stream channel count </p>
918
919</div>
920</div>
921<a id="a5f8f0e5add381b841856de80ea4cdb2b"></a>
922<h2 class="memtitle"><span class="permalink"><a href="#a5f8f0e5add381b841856de80ea4cdb2b">&#9670;&nbsp;</a></span>mContentType</h2>
923
924<div class="memitem">
925<div class="memproto">
926<table class="mlabels">
927  <tr>
928  <td class="mlabels-left">
929      <table class="memname">
930        <tr>
931          <td class="memname"><a class="el" href="namespaceoboe.html#a2a3cec6f021c1a324df60273710c604b">ContentType</a> oboe::AudioStreamBase::mContentType = ContentType::Music</td>
932        </tr>
933      </table>
934  </td>
935  <td class="mlabels-right">
936<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
937  </tr>
938</table>
939</div><div class="memdoc">
940<p>Stream content type. Only active on Android 28+ </p>
941
942</div>
943</div>
944<a id="a6d8493f66a945cb426506c70f0358e5f"></a>
945<h2 class="memtitle"><span class="permalink"><a href="#a6d8493f66a945cb426506c70f0358e5f">&#9670;&nbsp;</a></span>mDataCallback</h2>
946
947<div class="memitem">
948<div class="memproto">
949<table class="mlabels">
950  <tr>
951  <td class="mlabels-left">
952      <table class="memname">
953        <tr>
954          <td class="memname"><a class="el" href="classoboe_1_1_audio_stream_data_callback.html">AudioStreamDataCallback</a>* oboe::AudioStreamBase::mDataCallback = nullptr</td>
955        </tr>
956      </table>
957  </td>
958  <td class="mlabels-right">
959<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
960  </tr>
961</table>
962</div><div class="memdoc">
963<p>The callback which will be fired when new data is ready to be read/written. </p>
964
965</div>
966</div>
967<a id="a23dafa12fb1a6242b088ebd5a52798c8"></a>
968<h2 class="memtitle"><span class="permalink"><a href="#a23dafa12fb1a6242b088ebd5a52798c8">&#9670;&nbsp;</a></span>mDeviceId</h2>
969
970<div class="memitem">
971<div class="memproto">
972<table class="mlabels">
973  <tr>
974  <td class="mlabels-left">
975      <table class="memname">
976        <tr>
977          <td class="memname">int32_t oboe::AudioStreamBase::mDeviceId = <a class="el" href="namespaceoboe.html#ab0772052200184e514082eaa89be7905">kUnspecified</a></td>
978        </tr>
979      </table>
980  </td>
981  <td class="mlabels-right">
982<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
983  </tr>
984</table>
985</div><div class="memdoc">
986<p>Stream audio device ID </p>
987
988</div>
989</div>
990<a id="a26e9294721561d3b16bcaeec5faf4880"></a>
991<h2 class="memtitle"><span class="permalink"><a href="#a26e9294721561d3b16bcaeec5faf4880">&#9670;&nbsp;</a></span>mDirection</h2>
992
993<div class="memitem">
994<div class="memproto">
995<table class="mlabels">
996  <tr>
997  <td class="mlabels-left">
998      <table class="memname">
999        <tr>
1000          <td class="memname"><a class="el" href="namespaceoboe.html#af2147500089212955498a08ef2edb5ae">Direction</a> oboe::AudioStreamBase::mDirection = <a class="el" href="namespaceoboe.html#af2147500089212955498a08ef2edb5aea29c2c02a361c9d7028472e5d92cd4a54">Direction::Output</a></td>
1001        </tr>
1002      </table>
1003  </td>
1004  <td class="mlabels-right">
1005<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
1006  </tr>
1007</table>
1008</div><div class="memdoc">
1009<p>Stream direction </p>
1010
1011</div>
1012</div>
1013<a id="adc0c8cc54adb6d3350c62b8a74b9c57b"></a>
1014<h2 class="memtitle"><span class="permalink"><a href="#adc0c8cc54adb6d3350c62b8a74b9c57b">&#9670;&nbsp;</a></span>mErrorCallback</h2>
1015
1016<div class="memitem">
1017<div class="memproto">
1018<table class="mlabels">
1019  <tr>
1020  <td class="mlabels-left">
1021      <table class="memname">
1022        <tr>
1023          <td class="memname"><a class="el" href="classoboe_1_1_audio_stream_error_callback.html">AudioStreamErrorCallback</a>* oboe::AudioStreamBase::mErrorCallback = nullptr</td>
1024        </tr>
1025      </table>
1026  </td>
1027  <td class="mlabels-right">
1028<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
1029  </tr>
1030</table>
1031</div><div class="memdoc">
1032<p>The callback which will be fired when an error or a disconnect occurs. </p>
1033
1034</div>
1035</div>
1036<a id="a7869f04836c2c2bdc10c7309ad4b8e09"></a>
1037<h2 class="memtitle"><span class="permalink"><a href="#a7869f04836c2c2bdc10c7309ad4b8e09">&#9670;&nbsp;</a></span>mFormat</h2>
1038
1039<div class="memitem">
1040<div class="memproto">
1041<table class="mlabels">
1042  <tr>
1043  <td class="mlabels-left">
1044      <table class="memname">
1045        <tr>
1046          <td class="memname"><a class="el" href="namespaceoboe.html#a92afc593e856571aacbfd02e57075df6">AudioFormat</a> oboe::AudioStreamBase::mFormat = AudioFormat::Unspecified</td>
1047        </tr>
1048      </table>
1049  </td>
1050  <td class="mlabels-right">
1051<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
1052  </tr>
1053</table>
1054</div><div class="memdoc">
1055<p>Format of audio frames </p>
1056
1057</div>
1058</div>
1059<a id="a54061319ed348329a29d883a5de2482e"></a>
1060<h2 class="memtitle"><span class="permalink"><a href="#a54061319ed348329a29d883a5de2482e">&#9670;&nbsp;</a></span>mFramesPerBurst</h2>
1061
1062<div class="memitem">
1063<div class="memproto">
1064<table class="mlabels">
1065  <tr>
1066  <td class="mlabels-left">
1067      <table class="memname">
1068        <tr>
1069          <td class="memname">int32_t oboe::AudioStreamBase::mFramesPerBurst = <a class="el" href="namespaceoboe.html#ab0772052200184e514082eaa89be7905">kUnspecified</a></td>
1070        </tr>
1071      </table>
1072  </td>
1073  <td class="mlabels-right">
1074<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
1075  </tr>
1076</table>
1077</div><div class="memdoc">
1078<p>Number of frames which will be copied to/from the audio device in a single read/write operation </p>
1079
1080</div>
1081</div>
1082<a id="a3962eb94420ad0ecea70029236001899"></a>
1083<h2 class="memtitle"><span class="permalink"><a href="#a3962eb94420ad0ecea70029236001899">&#9670;&nbsp;</a></span>mFramesPerCallback</h2>
1084
1085<div class="memitem">
1086<div class="memproto">
1087<table class="mlabels">
1088  <tr>
1089  <td class="mlabels-left">
1090      <table class="memname">
1091        <tr>
1092          <td class="memname">int32_t oboe::AudioStreamBase::mFramesPerCallback = <a class="el" href="namespaceoboe.html#ab0772052200184e514082eaa89be7905">kUnspecified</a></td>
1093        </tr>
1094      </table>
1095  </td>
1096  <td class="mlabels-right">
1097<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
1098  </tr>
1099</table>
1100</div><div class="memdoc">
1101<p>Number of audio frames which will be requested in each callback </p>
1102
1103</div>
1104</div>
1105<a id="a1e5d4f5b30c4cc36f81ffd858cc00589"></a>
1106<h2 class="memtitle"><span class="permalink"><a href="#a1e5d4f5b30c4cc36f81ffd858cc00589">&#9670;&nbsp;</a></span>mInputPreset</h2>
1107
1108<div class="memitem">
1109<div class="memproto">
1110<table class="mlabels">
1111  <tr>
1112  <td class="mlabels-left">
1113      <table class="memname">
1114        <tr>
1115          <td class="memname"><a class="el" href="namespaceoboe.html#a4477ed232b02e2694d9309baf55a8f06">InputPreset</a> oboe::AudioStreamBase::mInputPreset = InputPreset::VoiceRecognition</td>
1116        </tr>
1117      </table>
1118  </td>
1119  <td class="mlabels-right">
1120<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
1121  </tr>
1122</table>
1123</div><div class="memdoc">
1124<p>Stream input preset. Only active on Android 28+ TODO InputPreset::Unspecified should be considered as a possible default alternative. </p>
1125
1126</div>
1127</div>
1128<a id="ab99671c2d0552557e75dc7b4afe91765"></a>
1129<h2 class="memtitle"><span class="permalink"><a href="#ab99671c2d0552557e75dc7b4afe91765">&#9670;&nbsp;</a></span>mPerformanceMode</h2>
1130
1131<div class="memitem">
1132<div class="memproto">
1133<table class="mlabels">
1134  <tr>
1135  <td class="mlabels-left">
1136      <table class="memname">
1137        <tr>
1138          <td class="memname"><a class="el" href="namespaceoboe.html#a1068781f3920654b1bfd7ed136468184">PerformanceMode</a> oboe::AudioStreamBase::mPerformanceMode = PerformanceMode::None</td>
1139        </tr>
1140      </table>
1141  </td>
1142  <td class="mlabels-right">
1143<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
1144  </tr>
1145</table>
1146</div><div class="memdoc">
1147<p>Stream performance mode </p>
1148
1149</div>
1150</div>
1151<a id="a998885bb6c4f37e145f4626ad4177dea"></a>
1152<h2 class="memtitle"><span class="permalink"><a href="#a998885bb6c4f37e145f4626ad4177dea">&#9670;&nbsp;</a></span>mSampleRate</h2>
1153
1154<div class="memitem">
1155<div class="memproto">
1156<table class="mlabels">
1157  <tr>
1158  <td class="mlabels-left">
1159      <table class="memname">
1160        <tr>
1161          <td class="memname">int32_t oboe::AudioStreamBase::mSampleRate = <a class="el" href="namespaceoboe.html#ab0772052200184e514082eaa89be7905">kUnspecified</a></td>
1162        </tr>
1163      </table>
1164  </td>
1165  <td class="mlabels-right">
1166<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
1167  </tr>
1168</table>
1169</div><div class="memdoc">
1170<p>Stream sample rate </p>
1171
1172</div>
1173</div>
1174<a id="abe1c1e9cada1ced9b5c1504ac9b07737"></a>
1175<h2 class="memtitle"><span class="permalink"><a href="#abe1c1e9cada1ced9b5c1504ac9b07737">&#9670;&nbsp;</a></span>mSessionId</h2>
1176
1177<div class="memitem">
1178<div class="memproto">
1179<table class="mlabels">
1180  <tr>
1181  <td class="mlabels-left">
1182      <table class="memname">
1183        <tr>
1184          <td class="memname"><a class="el" href="namespaceoboe.html#a5752250c10e96179e3618d7f72937eaf">SessionId</a> oboe::AudioStreamBase::mSessionId = SessionId::None</td>
1185        </tr>
1186      </table>
1187  </td>
1188  <td class="mlabels-right">
1189<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
1190  </tr>
1191</table>
1192</div><div class="memdoc">
1193<p>Stream session ID allocation strategy. Only active on Android 28+ </p>
1194
1195</div>
1196</div>
1197<a id="ae9187492b679c97a0963e264954be473"></a>
1198<h2 class="memtitle"><span class="permalink"><a href="#ae9187492b679c97a0963e264954be473">&#9670;&nbsp;</a></span>mSharingMode</h2>
1199
1200<div class="memitem">
1201<div class="memproto">
1202<table class="mlabels">
1203  <tr>
1204  <td class="mlabels-left">
1205      <table class="memname">
1206        <tr>
1207          <td class="memname"><a class="el" href="namespaceoboe.html#a8330247b25429953a08354f41834d520">SharingMode</a> oboe::AudioStreamBase::mSharingMode = <a class="el" href="namespaceoboe.html#a8330247b25429953a08354f41834d520aa6156ea9d66fef24e87e841fbabf7cca">SharingMode::Shared</a></td>
1208        </tr>
1209      </table>
1210  </td>
1211  <td class="mlabels-right">
1212<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
1213  </tr>
1214</table>
1215</div><div class="memdoc">
1216<p>Stream sharing mode </p>
1217
1218</div>
1219</div>
1220<a id="a5b518e82f39c9fcbd7050fd66adb253c"></a>
1221<h2 class="memtitle"><span class="permalink"><a href="#a5b518e82f39c9fcbd7050fd66adb253c">&#9670;&nbsp;</a></span>mUsage</h2>
1222
1223<div class="memitem">
1224<div class="memproto">
1225<table class="mlabels">
1226  <tr>
1227  <td class="mlabels-left">
1228      <table class="memname">
1229        <tr>
1230          <td class="memname"><a class="el" href="namespaceoboe.html#a104ee8396c173fefac429759ea3c21a0">Usage</a> oboe::AudioStreamBase::mUsage = <a class="el" href="namespaceoboe.html#a104ee8396c173fefac429759ea3c21a0a3b563524fdb17b4a86590470d40bef74">Usage::Media</a></td>
1231        </tr>
1232      </table>
1233  </td>
1234  <td class="mlabels-right">
1235<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
1236  </tr>
1237</table>
1238</div><div class="memdoc">
1239<p>Stream usage. Only active on Android 28+ </p>
1240
1241</div>
1242</div>
1243<hr/>The documentation for this class was generated from the following file:<ul>
1244<li>include/oboe/<a class="el" href="_audio_stream_base_8h_source.html">AudioStreamBase.h</a></li>
1245</ul>
1246</div><!-- contents -->
1247<!-- start footer part -->
1248<hr class="footer"/><address class="footer"><small>
1249Generated by &#160;<a href="http://www.doxygen.org/index.html">
1250<img class="footer" src="doxygen.png" alt="doxygen"/>
1251</a> 1.8.15
1252</small></address>
1253</body>
1254</html>
1255