This file is indexed.

/usr/share/doc/portaudio19-doc/doc/html/pa__mac__core_8h.html is in portaudio19-doc 19.6.0-1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.12"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>PortAudio: pa_mac_core.h File Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">PortAudio
   &#160;<span id="projectnumber">2.0</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.12 -->
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
$(function() {
  initMenu('',false,false,'search.php','Search');
});
</script>
<div id="main-nav"></div>
<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="dir_d44c64559bbebec7f509842c48db8b23.html">include</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#nested-classes">Data Structures</a> &#124;
<a href="#define-members">Macros</a> &#124;
<a href="#func-members">Functions</a>  </div>
  <div class="headertitle">
<div class="title">pa_mac_core.h File Reference<div class="ingroups"><a class="el" href="group__public__header.html">Public API definitions for users of PortAudio</a></div></div>  </div>
</div><!--header-->
<div class="contents">

<p>CoreAudio-specific PortAudio API extension header file.  
<a href="#details">More...</a></p>
<div class="textblock"><code>#include &quot;<a class="el" href="portaudio_8h_source.html">portaudio.h</a>&quot;</code><br />
<code>#include &lt;AudioUnit/AudioUnit.h&gt;</code><br />
<code>#include &lt;AudioToolbox/AudioToolbox.h&gt;</code><br />
</div>
<p><a href="pa__mac__core_8h_source.html">Go to the source code of this file.</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a>
Data Structures</h2></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structPaMacCoreStreamInfo.html">PaMacCoreStreamInfo</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="define-members"></a>
Macros</h2></td></tr>
<tr class="memitem:a0a803427bdba498922276075677d0ebe"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="pa__mac__core_8h.html#a0a803427bdba498922276075677d0ebe">paMacCoreChangeDeviceParameters</a>&#160;&#160;&#160;(0x01)</td></tr>
<tr class="separator:a0a803427bdba498922276075677d0ebe"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a481969bad982aec7ba2b8503557533c7"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="pa__mac__core_8h.html#a481969bad982aec7ba2b8503557533c7">paMacCoreFailIfConversionRequired</a>&#160;&#160;&#160;(0x02)</td></tr>
<tr class="separator:a481969bad982aec7ba2b8503557533c7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a65d6a0307a5b231ef673a52e72e0d680"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="pa__mac__core_8h.html#a65d6a0307a5b231ef673a52e72e0d680">paMacCoreConversionQualityMin</a>&#160;&#160;&#160;(0x0100)</td></tr>
<tr class="separator:a65d6a0307a5b231ef673a52e72e0d680"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9143937b271beb0b171a1eaec6c415cd"><td class="memItemLeft" align="right" valign="top"><a id="a9143937b271beb0b171a1eaec6c415cd"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><b>paMacCoreConversionQualityMedium</b>&#160;&#160;&#160;(0x0200)</td></tr>
<tr class="separator:a9143937b271beb0b171a1eaec6c415cd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5693eb74b0a2c2f3121f18f09c2dc632"><td class="memItemLeft" align="right" valign="top"><a id="a5693eb74b0a2c2f3121f18f09c2dc632"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><b>paMacCoreConversionQualityLow</b>&#160;&#160;&#160;(0x0300)</td></tr>
<tr class="separator:a5693eb74b0a2c2f3121f18f09c2dc632"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a64146a265a9bb8426884caa1db31d004"><td class="memItemLeft" align="right" valign="top"><a id="a64146a265a9bb8426884caa1db31d004"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><b>paMacCoreConversionQualityHigh</b>&#160;&#160;&#160;(0x0400)</td></tr>
<tr class="separator:a64146a265a9bb8426884caa1db31d004"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0a00067c7f90d4802b855728cefd6002"><td class="memItemLeft" align="right" valign="top"><a id="a0a00067c7f90d4802b855728cefd6002"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><b>paMacCoreConversionQualityMax</b>&#160;&#160;&#160;(0x0000)</td></tr>
<tr class="separator:a0a00067c7f90d4802b855728cefd6002"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a223d2f56bd0a5964e4122c80b23e6f62"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="pa__mac__core_8h.html#a223d2f56bd0a5964e4122c80b23e6f62">paMacCorePlayNice</a>&#160;&#160;&#160;(0x00)</td></tr>
<tr class="separator:a223d2f56bd0a5964e4122c80b23e6f62"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abec61ce0294900be890928cd0907bcf6"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="pa__mac__core_8h.html#abec61ce0294900be890928cd0907bcf6">paMacCorePro</a>&#160;&#160;&#160;(0x01)</td></tr>
<tr class="separator:abec61ce0294900be890928cd0907bcf6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac589bfdf9e35134552737b4b97253729"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="pa__mac__core_8h.html#ac589bfdf9e35134552737b4b97253729">paMacCoreMinimizeCPUButPlayNice</a>&#160;&#160;&#160;(0x0100)</td></tr>
<tr class="separator:ac589bfdf9e35134552737b4b97253729"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad37d299e9a15db20d3ef04ed12ffbddd"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="pa__mac__core_8h.html#ad37d299e9a15db20d3ef04ed12ffbddd">paMacCoreMinimizeCPU</a>&#160;&#160;&#160;(0x0101)</td></tr>
<tr class="separator:ad37d299e9a15db20d3ef04ed12ffbddd"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:a7fa54d8ad032394157bdb67c9b13087d"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="pa__mac__core_8h.html#a7fa54d8ad032394157bdb67c9b13087d">PaMacCore_SetupStreamInfo</a> (<a class="el" href="structPaMacCoreStreamInfo.html">PaMacCoreStreamInfo</a> *data, unsigned long flags)</td></tr>
<tr class="separator:a7fa54d8ad032394157bdb67c9b13087d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abc811b4cd7b56e5e5d4b4613a49d9356"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="pa__mac__core_8h.html#abc811b4cd7b56e5e5d4b4613a49d9356">PaMacCore_SetupChannelMap</a> (<a class="el" href="structPaMacCoreStreamInfo.html">PaMacCoreStreamInfo</a> *data, const SInt32 *const channelMap, unsigned long channelMapSize)</td></tr>
<tr class="separator:abc811b4cd7b56e5e5d4b4613a49d9356"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad1631115a64682f8e14fadd0a75c027f"><td class="memItemLeft" align="right" valign="top">AudioDeviceID&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="pa__mac__core_8h.html#ad1631115a64682f8e14fadd0a75c027f">PaMacCore_GetStreamInputDevice</a> (<a class="el" href="portaudio_8h.html#a19874734f89958fccf86785490d53b4c">PaStream</a> *s)</td></tr>
<tr class="separator:ad1631115a64682f8e14fadd0a75c027f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a25379f181725095041d159e3bdc8cd8c"><td class="memItemLeft" align="right" valign="top">AudioDeviceID&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="pa__mac__core_8h.html#a25379f181725095041d159e3bdc8cd8c">PaMacCore_GetStreamOutputDevice</a> (<a class="el" href="portaudio_8h.html#a19874734f89958fccf86785490d53b4c">PaStream</a> *s)</td></tr>
<tr class="separator:a25379f181725095041d159e3bdc8cd8c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa8d59756f200f1e97f651c14c961f2d6"><td class="memItemLeft" align="right" valign="top">const char *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="pa__mac__core_8h.html#aa8d59756f200f1e97f651c14c961f2d6">PaMacCore_GetChannelName</a> (int device, int channelIndex, bool input)</td></tr>
<tr class="separator:aa8d59756f200f1e97f651c14c961f2d6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa470cfe0a7a53a6bc7eab4b18f670d31"><td class="memItemLeft" align="right" valign="top"><a class="el" href="portaudio_8h.html#a4949e4a8ef9f9dbe8cbee414ce69841d">PaError</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="pa__mac__core_8h.html#aa470cfe0a7a53a6bc7eab4b18f670d31">PaMacCore_GetBufferSizeRange</a> (<a class="el" href="portaudio_8h.html#ad79317e65bde63d76c4b8e711ac5a361">PaDeviceIndex</a> device, long *minBufferSizeFrames, long *maxBufferSizeFrames)</td></tr>
<tr class="separator:aa470cfe0a7a53a6bc7eab4b18f670d31"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>CoreAudio-specific PortAudio API extension header file. </p>

<p>Definition in file <a class="el" href="pa__mac__core_8h_source.html">pa_mac_core.h</a>.</p>
</div><h2 class="groupheader">Macro Definition Documentation</h2>
<a id="a0a803427bdba498922276075677d0ebe"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0a803427bdba498922276075677d0ebe">&sect;&nbsp;</a></span>paMacCoreChangeDeviceParameters</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define paMacCoreChangeDeviceParameters&#160;&#160;&#160;(0x01)</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Flags The following flags alter the behaviour of PA on the mac platform. they can be ORed together. These should work both for opening and checking a device. Allows PortAudio to change things like the device's frame size, which allows for much lower latency, but might disrupt the device if other programs are using it, even when you are just Querying the device. </p>

<p>Definition at line <a class="el" href="pa__mac__core_8h_source.html#l00154">154</a> of file <a class="el" href="pa__mac__core_8h_source.html">pa_mac_core.h</a>.</p>

</div>
</div>
<a id="a65d6a0307a5b231ef673a52e72e0d680"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a65d6a0307a5b231ef673a52e72e0d680">&sect;&nbsp;</a></span>paMacCoreConversionQualityMin</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define paMacCoreConversionQualityMin&#160;&#160;&#160;(0x0100)</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>These flags set the SR conversion quality, if required. The wierd ordering allows Maximum Quality to be the default. </p>

<p>Definition at line <a class="el" href="pa__mac__core_8h_source.html#l00163">163</a> of file <a class="el" href="pa__mac__core_8h_source.html">pa_mac_core.h</a>.</p>

</div>
</div>
<a id="a481969bad982aec7ba2b8503557533c7"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a481969bad982aec7ba2b8503557533c7">&sect;&nbsp;</a></span>paMacCoreFailIfConversionRequired</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define paMacCoreFailIfConversionRequired&#160;&#160;&#160;(0x02)</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>In combination with the above flag, causes the stream opening to fail, unless the exact sample rates are supported by the device. </p>

<p>Definition at line <a class="el" href="pa__mac__core_8h_source.html#l00159">159</a> of file <a class="el" href="pa__mac__core_8h_source.html">pa_mac_core.h</a>.</p>

</div>
</div>
<a id="ad37d299e9a15db20d3ef04ed12ffbddd"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad37d299e9a15db20d3ef04ed12ffbddd">&sect;&nbsp;</a></span>paMacCoreMinimizeCPU</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define paMacCoreMinimizeCPU&#160;&#160;&#160;(0x0101)</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>This is a setting to minimize CPU usage, even if that means interrupting the device. </p>

<p>Definition at line <a class="el" href="pa__mac__core_8h_source.html#l00184">184</a> of file <a class="el" href="pa__mac__core_8h_source.html">pa_mac_core.h</a>.</p>

</div>
</div>
<a id="ac589bfdf9e35134552737b4b97253729"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac589bfdf9e35134552737b4b97253729">&sect;&nbsp;</a></span>paMacCoreMinimizeCPUButPlayNice</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define paMacCoreMinimizeCPUButPlayNice&#160;&#160;&#160;(0x0100)</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>This is a setting to minimize CPU usage and still play nice. </p>

<p>Definition at line <a class="el" href="pa__mac__core_8h_source.html#l00182">182</a> of file <a class="el" href="pa__mac__core_8h_source.html">pa_mac_core.h</a>.</p>

</div>
</div>
<a id="a223d2f56bd0a5964e4122c80b23e6f62"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a223d2f56bd0a5964e4122c80b23e6f62">&sect;&nbsp;</a></span>paMacCorePlayNice</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define paMacCorePlayNice&#160;&#160;&#160;(0x00)</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Here are some "preset" combinations of flags (above) to get to some common configurations. THIS IS OVERKILL, but if more flags are added it won't be.This is the default setting: do as much sample rate conversion as possible and as little mucking with the device as possible. </p>

<p>Definition at line <a class="el" href="pa__mac__core_8h_source.html#l00177">177</a> of file <a class="el" href="pa__mac__core_8h_source.html">pa_mac_core.h</a>.</p>

</div>
</div>
<a id="abec61ce0294900be890928cd0907bcf6"></a>
<h2 class="memtitle"><span class="permalink"><a href="#abec61ce0294900be890928cd0907bcf6">&sect;&nbsp;</a></span>paMacCorePro</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define paMacCorePro&#160;&#160;&#160;(0x01)</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>This setting is tuned for pro audio apps. It allows SR conversion on input and output, but it tries to set the appropriate SR on the device. </p>

<p>Definition at line <a class="el" href="pa__mac__core_8h_source.html#l00180">180</a> of file <a class="el" href="pa__mac__core_8h_source.html">pa_mac_core.h</a>.</p>

</div>
</div>
<h2 class="groupheader">Function Documentation</h2>
<a id="aa470cfe0a7a53a6bc7eab4b18f670d31"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa470cfe0a7a53a6bc7eab4b18f670d31">&sect;&nbsp;</a></span>PaMacCore_GetBufferSizeRange()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="portaudio_8h.html#a4949e4a8ef9f9dbe8cbee414ce69841d">PaError</a> PaMacCore_GetBufferSizeRange </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="portaudio_8h.html#ad79317e65bde63d76c4b8e711ac5a361">PaDeviceIndex</a>&#160;</td>
          <td class="paramname"><em>device</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">long *&#160;</td>
          <td class="paramname"><em>minBufferSizeFrames</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">long *&#160;</td>
          <td class="paramname"><em>maxBufferSizeFrames</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Retrieve the range of legal native buffer sizes for the specificed device, in sample frames.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">device</td><td>The global index of the PortAudio device about which the query is being made. </td></tr>
    <tr><td class="paramname">minBufferSizeFrames</td><td>A pointer to the location which will receive the minimum buffer size value. </td></tr>
    <tr><td class="paramname">maxBufferSizeFrames</td><td>A pointer to the location which will receive the maximum buffer size value.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section see"><dt>See also</dt><dd>kAudioDevicePropertyBufferFrameSizeRange in the CoreAudio SDK. </dd></dl>

</div>
</div>
<a id="aa8d59756f200f1e97f651c14c961f2d6"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa8d59756f200f1e97f651c14c961f2d6">&sect;&nbsp;</a></span>PaMacCore_GetChannelName()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const char* PaMacCore_GetChannelName </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>device</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>channelIndex</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>input</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Returns a statically allocated string with the device's name for the given channel. NULL will be returned on failure.</p>
<p>This function's implemenation is not complete!</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">device</td><td>The PortAudio device index. </td></tr>
    <tr><td class="paramname">channel</td><td>The channel number who's name is requested. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>a statically allocated string with the name of the device. Because this string is statically allocated, it must be coppied if it is to be saved and used by the user after another call to this function. </dd></dl>

</div>
</div>
<a id="ad1631115a64682f8e14fadd0a75c027f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad1631115a64682f8e14fadd0a75c027f">&sect;&nbsp;</a></span>PaMacCore_GetStreamInputDevice()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">AudioDeviceID PaMacCore_GetStreamInputDevice </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="portaudio_8h.html#a19874734f89958fccf86785490d53b4c">PaStream</a> *&#160;</td>
          <td class="paramname"><em>s</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Retrieve the AudioDeviceID of the input device assigned to an open stream</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">s</td><td>The stream to query.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>A valid AudioDeviceID, or NULL if an error occurred. </dd></dl>

</div>
</div>
<a id="a25379f181725095041d159e3bdc8cd8c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a25379f181725095041d159e3bdc8cd8c">&sect;&nbsp;</a></span>PaMacCore_GetStreamOutputDevice()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">AudioDeviceID PaMacCore_GetStreamOutputDevice </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="portaudio_8h.html#a19874734f89958fccf86785490d53b4c">PaStream</a> *&#160;</td>
          <td class="paramname"><em>s</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Retrieve the AudioDeviceID of the output device assigned to an open stream</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">s</td><td>The stream to query.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>A valid AudioDeviceID, or NULL if an error occurred. </dd></dl>

</div>
</div>
<a id="abc811b4cd7b56e5e5d4b4613a49d9356"></a>
<h2 class="memtitle"><span class="permalink"><a href="#abc811b4cd7b56e5e5d4b4613a49d9356">&sect;&nbsp;</a></span>PaMacCore_SetupChannelMap()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void PaMacCore_SetupChannelMap </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structPaMacCoreStreamInfo.html">PaMacCoreStreamInfo</a> *&#160;</td>
          <td class="paramname"><em>data</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const SInt32 *const&#160;</td>
          <td class="paramname"><em>channelMap</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">unsigned long&#160;</td>
          <td class="paramname"><em>channelMapSize</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>call this after pa_SetupMacCoreStreamInfo to use channel mapping as described in notes.txt. </p><dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">data</td><td>The stream info structure to assign a channel mapping to </td></tr>
    <tr><td class="paramname">channelMap</td><td>The channel map array, as described in notes.txt. This array pointer will be used directly (ie the underlying data will not be copied), so the caller should not free the array until after the stream has been opened. </td></tr>
    <tr><td class="paramname">channelMapSize</td><td>The size of the channel map array. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a7fa54d8ad032394157bdb67c9b13087d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7fa54d8ad032394157bdb67c9b13087d">&sect;&nbsp;</a></span>PaMacCore_SetupStreamInfo()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void PaMacCore_SetupStreamInfo </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structPaMacCoreStreamInfo.html">PaMacCoreStreamInfo</a> *&#160;</td>
          <td class="paramname"><em>data</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">unsigned long&#160;</td>
          <td class="paramname"><em>flags</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Functions Use this function to initialize a paMacCoreStreamInfo struct using the requested flags. Note that channel mapping is turned off after a call to this function. </p><dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">data</td><td>The datastructure to initialize </td></tr>
    <tr><td class="paramname">flags</td><td>The flags to initialize the datastructure with. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.12
</small></address>
</body>
</html>