mirror of
https://github.com/joel16/uofw.git
synced 2024-11-23 11:39:50 +00:00
1263 lines
55 KiB
HTML
1263 lines
55 KiB
HTML
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://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.9.1"/>
|
|
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
|
<title>uOFW: Audio Module</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="search/search.css" rel="stylesheet" type="text/css"/>
|
|
<script type="text/javascript" src="search/searchdata.js"></script>
|
|
<script type="text/javascript" src="search/search.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">uOFW
|
|
</div>
|
|
<div id="projectbrief">Reverse engineered PSP kernel 6.60.</div>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
<!-- end header part -->
|
|
<!-- Generated by Doxygen 1.9.1 -->
|
|
<script type="text/javascript">
|
|
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
|
|
var searchBox = new SearchBox("searchBox", "search",false,'Search','.html');
|
|
/* @license-end */
|
|
</script>
|
|
<script type="text/javascript" src="menudata.js"></script>
|
|
<script type="text/javascript" src="menu.js"></script>
|
|
<script type="text/javascript">
|
|
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
|
|
$(function() {
|
|
initMenu('',true,false,'search.php','Search');
|
|
$(document).ready(function() { init_search(); });
|
|
});
|
|
/* @license-end */</script>
|
|
<div id="main-nav"></div>
|
|
</div><!-- top -->
|
|
<!-- window showing the filter options -->
|
|
<div id="MSearchSelectWindow"
|
|
onmouseover="return searchBox.OnSearchSelectShow()"
|
|
onmouseout="return searchBox.OnSearchSelectHide()"
|
|
onkeydown="return searchBox.OnSearchSelectKey(event)">
|
|
</div>
|
|
|
|
<!-- iframe showing the search results (closed by default) -->
|
|
<div id="MSearchResultsWindow">
|
|
<iframe src="javascript:void(0)" frameborder="0"
|
|
name="MSearchResults" id="MSearchResults">
|
|
</iframe>
|
|
</div>
|
|
|
|
<div class="header">
|
|
<div class="summary">
|
|
<a href="#nested-classes">Data Structures</a> |
|
|
<a href="#func-members">Functions</a> </div>
|
|
<div class="headertitle">
|
|
<div class="title">Audio Module</div> </div>
|
|
</div><!--header-->
|
|
<div class="contents">
|
|
<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  </td><td class="memItemRight" valign="bottom"><a class="el" href="structSceAudioInputParams.html">SceAudioInputParams</a></td></tr>
|
|
<tr class="separator:"><td class="memSeparator" colspan="2"> </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:ga4421df4235ccc7422e464ff8d33c972a"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="group__Audio.html#ga4421df4235ccc7422e464ff8d33c972a">sceAudioOutput</a> (u32 chanId, int vol, void *buf)</td></tr>
|
|
<tr class="separator:ga4421df4235ccc7422e464ff8d33c972a"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ga484ad02d088bdbe179c93932e784e621"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="group__Audio.html#ga484ad02d088bdbe179c93932e784e621">sceAudioOutputBlocking</a> (u32 chanId, int vol, void *buf)</td></tr>
|
|
<tr class="separator:ga484ad02d088bdbe179c93932e784e621"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ga332c583346377e5407f54b1ab3a05680"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="group__Audio.html#ga332c583346377e5407f54b1ab3a05680">sceAudioOutputPanned</a> (u32 chanId, int leftVol, int rightVol, void *buf)</td></tr>
|
|
<tr class="separator:ga332c583346377e5407f54b1ab3a05680"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:gad0c6e373c70febd85b073d27a01b9a04"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="group__Audio.html#gad0c6e373c70febd85b073d27a01b9a04">sceAudioOutputPannedBlocking</a> (u32 chanId, int leftVol, int rightVol, void *buf)</td></tr>
|
|
<tr class="separator:gad0c6e373c70febd85b073d27a01b9a04"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ga3dbb1f08bca787a2b288bb8a7e2d2e5b"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="group__Audio.html#ga3dbb1f08bca787a2b288bb8a7e2d2e5b">sceAudioChReserve</a> (int channel, int sampleCount, int format)</td></tr>
|
|
<tr class="separator:ga3dbb1f08bca787a2b288bb8a7e2d2e5b"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ga6a016f2f53aa10dbde1375a0f8f282f0"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="group__Audio.html#ga6a016f2f53aa10dbde1375a0f8f282f0">sceAudioOneshotOutput</a> (int chanId, int sampleCount, int fmt, int leftVol, int rightVol, void *buf)</td></tr>
|
|
<tr class="separator:ga6a016f2f53aa10dbde1375a0f8f282f0"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ga69aa48763fef89c2ad08b0120fa3138a"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="group__Audio.html#ga69aa48763fef89c2ad08b0120fa3138a">sceAudioChRelease</a> (u32 channel)</td></tr>
|
|
<tr class="separator:ga69aa48763fef89c2ad08b0120fa3138a"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ga6d04a5f2d0306d745fa7e5b71c6003a2"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="group__Audio.html#ga6d04a5f2d0306d745fa7e5b71c6003a2">sceAudioGetChannelRestLength</a> (u32 chanId)</td></tr>
|
|
<tr class="separator:ga6d04a5f2d0306d745fa7e5b71c6003a2"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ga2d88ba474b5f97a8b5b7332c5a8d8224"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="group__Audio.html#ga2d88ba474b5f97a8b5b7332c5a8d8224">sceAudioSetChannelDataLen</a> (u32 chanId, int sampleCount)</td></tr>
|
|
<tr class="separator:ga2d88ba474b5f97a8b5b7332c5a8d8224"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ga7e23fa9afe93d116183e5a20b0b7c05c"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="group__Audio.html#ga7e23fa9afe93d116183e5a20b0b7c05c">sceAudioChangeChannelVolume</a> (u32 chanId, int leftVol, int rightVol)</td></tr>
|
|
<tr class="separator:ga7e23fa9afe93d116183e5a20b0b7c05c"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ga15d407e631effcd20151a080fff51773"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="group__Audio.html#ga15d407e631effcd20151a080fff51773">sceAudioChangeChannelConfig</a> (u32 chanId, int format)</td></tr>
|
|
<tr class="separator:ga15d407e631effcd20151a080fff51773"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ga7543a62faa6d6f0e5db1e236e39807d1"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="group__Audio.html#ga7543a62faa6d6f0e5db1e236e39807d1">sceAudioOutput2ChangeLength</a> (int sampleCount)</td></tr>
|
|
<tr class="separator:ga7543a62faa6d6f0e5db1e236e39807d1"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:gad8f2371bacd75b7c07fde072fb8f2265"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="group__Audio.html#gad8f2371bacd75b7c07fde072fb8f2265">sceAudioOutput2GetRestSample</a> (void)</td></tr>
|
|
<tr class="separator:gad8f2371bacd75b7c07fde072fb8f2265"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:gad2bd41a275bb7cb6ad28994968434fa1"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="group__Audio.html#gad2bd41a275bb7cb6ad28994968434fa1">sceAudioGetChannelRestLen</a> (u32 chanId)</td></tr>
|
|
<tr class="separator:gad2bd41a275bb7cb6ad28994968434fa1"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ga115292d02a6db55bc8a1547ef61ecd60"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="group__Audio.html#ga115292d02a6db55bc8a1547ef61ecd60">sceAudioOutput2Reserve</a> (int sampleCount)</td></tr>
|
|
<tr class="separator:ga115292d02a6db55bc8a1547ef61ecd60"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ga73d5f334a8d3fd6995c4f195ac2b21d4"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="group__Audio.html#ga73d5f334a8d3fd6995c4f195ac2b21d4">sceAudioOutput2OutputBlocking</a> (int vol, void *buf)</td></tr>
|
|
<tr class="separator:ga73d5f334a8d3fd6995c4f195ac2b21d4"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:gaa0d8ad285f6f939dc6be452a725b96e6"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="group__Audio.html#gaa0d8ad285f6f939dc6be452a725b96e6">sceAudioOutput2Release</a> (void)</td></tr>
|
|
<tr class="separator:gaa0d8ad285f6f939dc6be452a725b96e6"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ga1adc299590374f01905d1c8cc190e537"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="group__Audio.html#ga1adc299590374f01905d1c8cc190e537">sceAudioSetFrequency</a> (int freq)</td></tr>
|
|
<tr class="separator:ga1adc299590374f01905d1c8cc190e537"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ga5c60b3a201b9c9e96bc07437fdc131e8"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="group__Audio.html#ga5c60b3a201b9c9e96bc07437fdc131e8">sceAudioInit</a> ()</td></tr>
|
|
<tr class="separator:ga5c60b3a201b9c9e96bc07437fdc131e8"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:gaa42062af78454496863f9e7ca0b1dd20"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="group__Audio.html#gaa42062af78454496863f9e7ca0b1dd20">sceAudioLoopbackTest</a> (int arg0)</td></tr>
|
|
<tr class="separator:gaa42062af78454496863f9e7ca0b1dd20"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ga3d2a56f905d028dc8241241f7c1577a9"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="group__Audio.html#ga3d2a56f905d028dc8241241f7c1577a9">sceAudioEnd</a> ()</td></tr>
|
|
<tr class="separator:ga3d2a56f905d028dc8241241f7c1577a9"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:gaf69bc2fe420f41e7955919dc94794647"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="group__Audio.html#gaf69bc2fe420f41e7955919dc94794647">sceAudio_driver_FF298CE7</a> (int arg)</td></tr>
|
|
<tr class="separator:gaf69bc2fe420f41e7955919dc94794647"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ga6bd9cd40065fa7c52adfce11951a9591"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="group__Audio.html#ga6bd9cd40065fa7c52adfce11951a9591">sceAudioSetVolumeOffset</a> (int arg)</td></tr>
|
|
<tr class="separator:ga6bd9cd40065fa7c52adfce11951a9591"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ga7da328708335cad62289643ea7b01a06"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="group__Audio.html#ga7da328708335cad62289643ea7b01a06">sceAudioSRCChReserve</a> (int sampleCount, int freq, int numChans)</td></tr>
|
|
<tr class="separator:ga7da328708335cad62289643ea7b01a06"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:gac646b8bdd314699fd1164a12c01410ab"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="group__Audio.html#gac646b8bdd314699fd1164a12c01410ab">sceAudioSRCChRelease</a> (void)</td></tr>
|
|
<tr class="separator:gac646b8bdd314699fd1164a12c01410ab"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ga954e46eb1f0918d908499c536776ac8a"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="group__Audio.html#ga954e46eb1f0918d908499c536776ac8a">sceAudioSRCOutputBlocking</a> (int vol, void *buf)</td></tr>
|
|
<tr class="separator:ga954e46eb1f0918d908499c536776ac8a"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ga3b7901152fa3927f2777f35d2ba29c53"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="group__Audio.html#ga3b7901152fa3927f2777f35d2ba29c53">sceAudioWaitInputEnd</a> ()</td></tr>
|
|
<tr class="separator:ga3b7901152fa3927f2777f35d2ba29c53"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ga5a1f7cd9f64b833dd505d1d48acddc17"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="group__Audio.html#ga5a1f7cd9f64b833dd505d1d48acddc17">sceAudioInputInitEx</a> (<a class="el" href="structSceAudioInputParams.html">SceAudioInputParams</a> *param)</td></tr>
|
|
<tr class="separator:ga5a1f7cd9f64b833dd505d1d48acddc17"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ga000d41236ef97133052578b9f556b412"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="group__Audio.html#ga000d41236ef97133052578b9f556b412">sceAudioInputInit</a> (int arg0, int gain, int arg2)</td></tr>
|
|
<tr class="separator:ga000d41236ef97133052578b9f556b412"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ga7602382b35331d71e19e0f2844f68cdf"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="group__Audio.html#ga7602382b35331d71e19e0f2844f68cdf">sceAudioInputBlocking</a> (int sampleCount, int freq, void *buf)</td></tr>
|
|
<tr class="separator:ga7602382b35331d71e19e0f2844f68cdf"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ga72eaf2b8911fd5cb2ef11f2e696468a9"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="group__Audio.html#ga72eaf2b8911fd5cb2ef11f2e696468a9">sceAudioInput</a> (int sampleCount, int freq, void *buf)</td></tr>
|
|
<tr class="separator:ga72eaf2b8911fd5cb2ef11f2e696468a9"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:gaabf188585da82ed7092bac7ed86b22c6"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="group__Audio.html#gaabf188585da82ed7092bac7ed86b22c6">sceAudioGetInputLength</a> ()</td></tr>
|
|
<tr class="separator:gaabf188585da82ed7092bac7ed86b22c6"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ga2ff11c38d161272162cc5efa8791eb7a"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="group__Audio.html#ga2ff11c38d161272162cc5efa8791eb7a">sceAudioPollInputEnd</a> ()</td></tr>
|
|
<tr class="separator:ga2ff11c38d161272162cc5efa8791eb7a"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ga8fc8cc8b557f41cfbb15e6c8033834bd"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="group__Audio.html#ga8fc8cc8b557f41cfbb15e6c8033834bd">sceAudio_driver_5182B550</a> (int arg)</td></tr>
|
|
<tr class="separator:ga8fc8cc8b557f41cfbb15e6c8033834bd"><td class="memSeparator" colspan="2"> </td></tr>
|
|
</table>
|
|
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
|
|
<dl class="section author"><dt>Author</dt><dd>artart78 </dd></dl>
|
|
<dl class="section version"><dt>Version</dt><dd>6.60</dd></dl>
|
|
<p>The audio.prx module RE'ing. </p>
|
|
<h2 class="groupheader">Function Documentation</h2>
|
|
<a id="ga4421df4235ccc7422e464ff8d33c972a"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#ga4421df4235ccc7422e464ff8d33c972a">◆ </a></span>sceAudioOutput()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">int sceAudioOutput </td>
|
|
<td>(</td>
|
|
<td class="paramtype">u32 </td>
|
|
<td class="paramname"><em>chanId</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">int </td>
|
|
<td class="paramname"><em>vol</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">void * </td>
|
|
<td class="paramname"><em>buf</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>Outputs audio (raw PCM) to channel.</p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">chanId</td><td>The channel ID, returned by <a class="el" href="group__Audio.html#ga3dbb1f08bca787a2b288bb8a7e2d2e5b">sceAudioChReserve()</a>. </td></tr>
|
|
<tr><td class="paramname">vol</td><td>The volume (0 - 0xFFFF). </td></tr>
|
|
<tr><td class="paramname">buf</td><td>The PCM buffer to output.</td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd>The sample count in case of success, otherwise less than zero. </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="ga484ad02d088bdbe179c93932e784e621"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#ga484ad02d088bdbe179c93932e784e621">◆ </a></span>sceAudioOutputBlocking()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">int sceAudioOutputBlocking </td>
|
|
<td>(</td>
|
|
<td class="paramtype">u32 </td>
|
|
<td class="paramname"><em>chanId</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">int </td>
|
|
<td class="paramname"><em>vol</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">void * </td>
|
|
<td class="paramname"><em>buf</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>Outputs audio (raw PCM) to channel and doesn't return until everything has been played.</p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">chanId</td><td>The channel ID, returned by <a class="el" href="group__Audio.html#ga3dbb1f08bca787a2b288bb8a7e2d2e5b">sceAudioChReserve()</a>. </td></tr>
|
|
<tr><td class="paramname">vol</td><td>The volume (0 - 0xFFFF). </td></tr>
|
|
<tr><td class="paramname">buf</td><td>The PCM buffer to output.</td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd>The sample count in case of success, otherwise less than zero. </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="ga332c583346377e5407f54b1ab3a05680"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#ga332c583346377e5407f54b1ab3a05680">◆ </a></span>sceAudioOutputPanned()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">int sceAudioOutputPanned </td>
|
|
<td>(</td>
|
|
<td class="paramtype">u32 </td>
|
|
<td class="paramname"><em>chanId</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">int </td>
|
|
<td class="paramname"><em>leftVol</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">int </td>
|
|
<td class="paramname"><em>rightVol</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">void * </td>
|
|
<td class="paramname"><em>buf</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>Outputs audio (raw PCM) to channel with different left and right volumes.</p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">chanId</td><td>The channel ID, returned by <a class="el" href="group__Audio.html#ga3dbb1f08bca787a2b288bb8a7e2d2e5b">sceAudioChReserve()</a>. </td></tr>
|
|
<tr><td class="paramname">leftVol</td><td>The left volume (0 - 0xFFFF). </td></tr>
|
|
<tr><td class="paramname">rightVol</td><td>The right volume (0 - 0xFFFF). </td></tr>
|
|
<tr><td class="paramname">buf</td><td>The PCM buffer to output.</td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd>The sample count in case of success, otherwise less than zero. </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="gad0c6e373c70febd85b073d27a01b9a04"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#gad0c6e373c70febd85b073d27a01b9a04">◆ </a></span>sceAudioOutputPannedBlocking()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">int sceAudioOutputPannedBlocking </td>
|
|
<td>(</td>
|
|
<td class="paramtype">u32 </td>
|
|
<td class="paramname"><em>chanId</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">int </td>
|
|
<td class="paramname"><em>leftVol</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">int </td>
|
|
<td class="paramname"><em>rightVol</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">void * </td>
|
|
<td class="paramname"><em>buf</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>Outputs audio (raw PCM) to channel with different left and right volumes. The function doesn't return until the entire buffer has been played.</p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">chanId</td><td>The channel ID, returned by <a class="el" href="group__Audio.html#ga3dbb1f08bca787a2b288bb8a7e2d2e5b">sceAudioChReserve()</a>. </td></tr>
|
|
<tr><td class="paramname">leftVol</td><td>The left volume (0 - 0xFFFF). </td></tr>
|
|
<tr><td class="paramname">rightVol</td><td>The right volume (0 - 0xFFFF). </td></tr>
|
|
<tr><td class="paramname">buf</td><td>The PCM buffer to output.</td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd>The sample count in case of success, otherwise less than zero. </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="ga3dbb1f08bca787a2b288bb8a7e2d2e5b"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#ga3dbb1f08bca787a2b288bb8a7e2d2e5b">◆ </a></span>sceAudioChReserve()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">int sceAudioChReserve </td>
|
|
<td>(</td>
|
|
<td class="paramtype">int </td>
|
|
<td class="paramname"><em>channel</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">int </td>
|
|
<td class="paramname"><em>sampleCount</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">int </td>
|
|
<td class="paramname"><em>format</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>Reserves a channel.</p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">channel</td><td>The channel ID you want to reserve, or -1 if you want the first free one to be selected. </td></tr>
|
|
<tr><td class="paramname">sampleCount</td><td>The number of samples. </td></tr>
|
|
<tr><td class="paramname">format</td><td>The audio format (0x10 for MONO, 0 for STEREO)</td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd>The channel ID in case of success, otherwise less than zero. </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="ga6a016f2f53aa10dbde1375a0f8f282f0"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#ga6a016f2f53aa10dbde1375a0f8f282f0">◆ </a></span>sceAudioOneshotOutput()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">int sceAudioOneshotOutput </td>
|
|
<td>(</td>
|
|
<td class="paramtype">int </td>
|
|
<td class="paramname"><em>chanId</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">int </td>
|
|
<td class="paramname"><em>sampleCount</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">int </td>
|
|
<td class="paramname"><em>fmt</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">int </td>
|
|
<td class="paramname"><em>leftVol</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">int </td>
|
|
<td class="paramname"><em>rightVol</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">void * </td>
|
|
<td class="paramname"><em>buf</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>Reserves the channel & outputs in "one shot"</p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">chanId</td><td>The channel ID, or -1 if you want the first free channel to be chose. </td></tr>
|
|
<tr><td class="paramname">sampleCount</td><td>The number of samples to play. </td></tr>
|
|
<tr><td class="paramname">fmt</td><td>The audio format (0x10 for MONO, 0 for STEREO) </td></tr>
|
|
<tr><td class="paramname">leftVol</td><td>The left ear volume (0 - 0xFFFF). </td></tr>
|
|
<tr><td class="paramname">rightVol</td><td>The right ear volume (0 - 0xFFFF). </td></tr>
|
|
<tr><td class="paramname">buf</td><td>The PCM audio buffer.</td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd>The channel ID in case of success, otherwise less than zero. </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="ga69aa48763fef89c2ad08b0120fa3138a"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#ga69aa48763fef89c2ad08b0120fa3138a">◆ </a></span>sceAudioChRelease()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">int sceAudioChRelease </td>
|
|
<td>(</td>
|
|
<td class="paramtype">u32 </td>
|
|
<td class="paramname"><em>channel</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>Releases a channel.</p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">channel</td><td>The channel ID to release.</td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd>0 in case of succes, otherwise less than zero. </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="ga6d04a5f2d0306d745fa7e5b71c6003a2"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#ga6d04a5f2d0306d745fa7e5b71c6003a2">◆ </a></span>sceAudioGetChannelRestLength()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">int sceAudioGetChannelRestLength </td>
|
|
<td>(</td>
|
|
<td class="paramtype">u32 </td>
|
|
<td class="paramname"><em>chanId</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>Get the number of remaining unplayed samples of a channel.</p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">chanId</td><td>The channel ID to check.</td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd>The number of remaining samples. </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="ga2d88ba474b5f97a8b5b7332c5a8d8224"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#ga2d88ba474b5f97a8b5b7332c5a8d8224">◆ </a></span>sceAudioSetChannelDataLen()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">int sceAudioSetChannelDataLen </td>
|
|
<td>(</td>
|
|
<td class="paramtype">u32 </td>
|
|
<td class="paramname"><em>chanId</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">int </td>
|
|
<td class="paramname"><em>sampleCount</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>Set the sample count of a channel.</p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">chanId</td><td>The channel ID. </td></tr>
|
|
<tr><td class="paramname">sampleCount</td><td>The number of samples.</td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd>0 on success, otherwise less than zero. </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="ga7e23fa9afe93d116183e5a20b0b7c05c"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#ga7e23fa9afe93d116183e5a20b0b7c05c">◆ </a></span>sceAudioChangeChannelVolume()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">int sceAudioChangeChannelVolume </td>
|
|
<td>(</td>
|
|
<td class="paramtype">u32 </td>
|
|
<td class="paramname"><em>chanId</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">int </td>
|
|
<td class="paramname"><em>leftVol</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">int </td>
|
|
<td class="paramname"><em>rightVol</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>Change the volume of a channel.</p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">chanId</td><td>The channel ID. </td></tr>
|
|
<tr><td class="paramname">leftVol</td><td>The left ear volume. </td></tr>
|
|
<tr><td class="paramname">rightVol</td><td>The right ear volume.</td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd>0 on success, otherwise less than 0 </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="ga15d407e631effcd20151a080fff51773"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#ga15d407e631effcd20151a080fff51773">◆ </a></span>sceAudioChangeChannelConfig()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">int sceAudioChangeChannelConfig </td>
|
|
<td>(</td>
|
|
<td class="paramtype">u32 </td>
|
|
<td class="paramname"><em>chanId</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">int </td>
|
|
<td class="paramname"><em>format</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>Change the format (mono/stereo) of a channel.</p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">chanId</td><td>The channel ID. </td></tr>
|
|
<tr><td class="paramname">format</td><td>The audio format (0 for STEREO, 0x10 for MONO).</td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd>0 on success, otherwise less than 0 </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="ga7543a62faa6d6f0e5db1e236e39807d1"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#ga7543a62faa6d6f0e5db1e236e39807d1">◆ </a></span>sceAudioOutput2ChangeLength()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">int sceAudioOutput2ChangeLength </td>
|
|
<td>(</td>
|
|
<td class="paramtype">int </td>
|
|
<td class="paramname"><em>sampleCount</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>Change SRC output sample count.</p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">sampleCount</td><td>The sample count.</td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd>0 on success, otherwise less than zero. </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="gad8f2371bacd75b7c07fde072fb8f2265"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#gad8f2371bacd75b7c07fde072fb8f2265">◆ </a></span>sceAudioOutput2GetRestSample()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">int sceAudioOutput2GetRestSample </td>
|
|
<td>(</td>
|
|
<td class="paramtype">void </td>
|
|
<td class="paramname"></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>Get the number of SRC unplayed samples.</p>
|
|
<dl class="section return"><dt>Returns</dt><dd>The number of unplayed samples. </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="gad2bd41a275bb7cb6ad28994968434fa1"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#gad2bd41a275bb7cb6ad28994968434fa1">◆ </a></span>sceAudioGetChannelRestLen()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">int sceAudioGetChannelRestLen </td>
|
|
<td>(</td>
|
|
<td class="paramtype">u32 </td>
|
|
<td class="paramname"><em>chanId</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>Get the number of unplayed samples of a channel.</p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">chanId</td><td>The channel ID.</td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd>The number of samples in case of success, otherwise less than zero. <br />
|
|
</dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="ga115292d02a6db55bc8a1547ef61ecd60"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#ga115292d02a6db55bc8a1547ef61ecd60">◆ </a></span>sceAudioOutput2Reserve()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">int sceAudioOutput2Reserve </td>
|
|
<td>(</td>
|
|
<td class="paramtype">int </td>
|
|
<td class="paramname"><em>sampleCount</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>Reserve a SRC output.</p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">sampleCount</td><td>The number of samples of the output.</td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd>0 in case of success, otherwise less than zero. </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="ga73d5f334a8d3fd6995c4f195ac2b21d4"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#ga73d5f334a8d3fd6995c4f195ac2b21d4">◆ </a></span>sceAudioOutput2OutputBlocking()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">int sceAudioOutput2OutputBlocking </td>
|
|
<td>(</td>
|
|
<td class="paramtype">int </td>
|
|
<td class="paramname"><em>vol</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">void * </td>
|
|
<td class="paramname"><em>buf</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>Output to SRC. This function only returns when all the samples have been played.</p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">vol</td><td>The output volume. </td></tr>
|
|
<tr><td class="paramname">buf</td><td>The PCM audio buffer.</td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd>The sample count on success, otherwise less than zero. </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="gaa0d8ad285f6f939dc6be452a725b96e6"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#gaa0d8ad285f6f939dc6be452a725b96e6">◆ </a></span>sceAudioOutput2Release()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">int sceAudioOutput2Release </td>
|
|
<td>(</td>
|
|
<td class="paramtype">void </td>
|
|
<td class="paramname"></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>Release SRC output.</p>
|
|
<dl class="section return"><dt>Returns</dt><dd>0 on success, otherwise less than zero. </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="ga1adc299590374f01905d1c8cc190e537"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#ga1adc299590374f01905d1c8cc190e537">◆ </a></span>sceAudioSetFrequency()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">int sceAudioSetFrequency </td>
|
|
<td>(</td>
|
|
<td class="paramtype">int </td>
|
|
<td class="paramname"><em>freq</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>Sets the audio output frequency.</p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">freq</td><td>The frequency (44100 or 48000).</td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd>0 on success, otherwise less than zero. </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="ga5c60b3a201b9c9e96bc07437fdc131e8"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#ga5c60b3a201b9c9e96bc07437fdc131e8">◆ </a></span>sceAudioInit()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">int sceAudioInit </td>
|
|
<td>(</td>
|
|
<td class="paramname"></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>Inits audio. </p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="gaa42062af78454496863f9e7ca0b1dd20"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#gaa42062af78454496863f9e7ca0b1dd20">◆ </a></span>sceAudioLoopbackTest()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">int sceAudioLoopbackTest </td>
|
|
<td>(</td>
|
|
<td class="paramtype">int </td>
|
|
<td class="paramname"><em>arg0</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<dl class="todo"><dt><b><a class="el" href="todo.html#_todo000001">Todo:</a></b></dt><dd>? </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="ga3d2a56f905d028dc8241241f7c1577a9"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#ga3d2a56f905d028dc8241241f7c1577a9">◆ </a></span>sceAudioEnd()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">int sceAudioEnd </td>
|
|
<td>(</td>
|
|
<td class="paramname"></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>Frees the audio system. </p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="gaf69bc2fe420f41e7955919dc94794647"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#gaf69bc2fe420f41e7955919dc94794647">◆ </a></span>sceAudio_driver_FF298CE7()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">int sceAudio_driver_FF298CE7 </td>
|
|
<td>(</td>
|
|
<td class="paramtype">int </td>
|
|
<td class="paramname"><em>arg</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>Selects the delaying mode.</p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">arg</td><td>If set to 1, channels 0 - 6 will be delayed after sceAudioOutputPannedBlocking, otherwise only channels 0 - 4 will be.</td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd>0. </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="ga6bd9cd40065fa7c52adfce11951a9591"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#ga6bd9cd40065fa7c52adfce11951a9591">◆ </a></span>sceAudioSetVolumeOffset()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">int sceAudioSetVolumeOffset </td>
|
|
<td>(</td>
|
|
<td class="paramtype">int </td>
|
|
<td class="paramname"><em>arg</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>Sets the volume offset/shifting.</p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">arg</td><td>The output buffer will be shifted by (arg + 8); default is 8, so arg = 0 is the default value.</td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd>0. </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="ga7da328708335cad62289643ea7b01a06"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#ga7da328708335cad62289643ea7b01a06">◆ </a></span>sceAudioSRCChReserve()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">int sceAudioSRCChReserve </td>
|
|
<td>(</td>
|
|
<td class="paramtype">int </td>
|
|
<td class="paramname"><em>sampleCount</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">int </td>
|
|
<td class="paramname"><em>freq</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">int </td>
|
|
<td class="paramname"><em>numChans</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>Reserves a SRC output.</p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">sampleCount</td><td>The number of samples. </td></tr>
|
|
<tr><td class="paramname">freq</td><td>The output frequency. </td></tr>
|
|
<tr><td class="paramname">numChans</td><td>The number of output "channels" (only 2 is accepted, for stereo)</td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd>0 on success, otherwise less than zero. </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="gac646b8bdd314699fd1164a12c01410ab"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#gac646b8bdd314699fd1164a12c01410ab">◆ </a></span>sceAudioSRCChRelease()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">int sceAudioSRCChRelease </td>
|
|
<td>(</td>
|
|
<td class="paramtype">void </td>
|
|
<td class="paramname"></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>Releases a SRC output.</p>
|
|
<dl class="section return"><dt>Returns</dt><dd>0 on success, otherwise less than zero. </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="ga954e46eb1f0918d908499c536776ac8a"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#ga954e46eb1f0918d908499c536776ac8a">◆ </a></span>sceAudioSRCOutputBlocking()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">int sceAudioSRCOutputBlocking </td>
|
|
<td>(</td>
|
|
<td class="paramtype">int </td>
|
|
<td class="paramname"><em>vol</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">void * </td>
|
|
<td class="paramname"><em>buf</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>Outputs to SRC. The functions returns only when all the buffer has been played.</p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">vol</td><td>The output volume (0 - 0xFFFF). </td></tr>
|
|
<tr><td class="paramname">buf</td><td>The audio PCM buffer.</td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd>The sample count on success, otherwise less than zero. <br />
|
|
</dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="ga3b7901152fa3927f2777f35d2ba29c53"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#ga3b7901152fa3927f2777f35d2ba29c53">◆ </a></span>sceAudioWaitInputEnd()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">int sceAudioWaitInputEnd </td>
|
|
<td>(</td>
|
|
<td class="paramname"></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>Waits for the input to end.</p>
|
|
<dl class="section return"><dt>Returns</dt><dd>0 on success, otherwise less than 0. </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="ga5a1f7cd9f64b833dd505d1d48acddc17"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#ga5a1f7cd9f64b833dd505d1d48acddc17">◆ </a></span>sceAudioInputInitEx()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">int sceAudioInputInitEx </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="structSceAudioInputParams.html">SceAudioInputParams</a> * </td>
|
|
<td class="paramname"><em>param</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>Inits audio input. <br />
|
|
</p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">param</td><td>The structure containing the input parameters.</td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd>0 on success, otherwise less than zero. </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="ga000d41236ef97133052578b9f556b412"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#ga000d41236ef97133052578b9f556b412">◆ </a></span>sceAudioInputInit()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">int sceAudioInputInit </td>
|
|
<td>(</td>
|
|
<td class="paramtype">int </td>
|
|
<td class="paramname"><em>arg0</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">int </td>
|
|
<td class="paramname"><em>gain</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">int </td>
|
|
<td class="paramname"><em>arg2</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>Inits audio input (probably deprecated, has less parameters than <a class="el" href="group__Audio.html#ga5a1f7cd9f64b833dd505d1d48acddc17">sceAudioInputInitEx()</a>).</p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">arg0</td><td></td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="todo"><dt><b><a class="el" href="todo.html#_todo000002">Todo:</a></b></dt><dd>? </dd></dl>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">gain</td><td>The input gain. </td></tr>
|
|
<tr><td class="paramname">arg2</td><td></td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="todo"><dt><b><a class="el" href="todo.html#_todo000003">Todo:</a></b></dt><dd>?</dd></dl>
|
|
<dl class="section return"><dt>Returns</dt><dd>0 on success, otherwise less than zero. </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="ga7602382b35331d71e19e0f2844f68cdf"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#ga7602382b35331d71e19e0f2844f68cdf">◆ </a></span>sceAudioInputBlocking()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">int sceAudioInputBlocking </td>
|
|
<td>(</td>
|
|
<td class="paramtype">int </td>
|
|
<td class="paramname"><em>sampleCount</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">int </td>
|
|
<td class="paramname"><em>freq</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">void * </td>
|
|
<td class="paramname"><em>buf</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>Waits for the input to end, and store input.</p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">sampleCount</td><td>The number of samples to read. </td></tr>
|
|
<tr><td class="paramname">freq</td><td>The input frequency. </td></tr>
|
|
<tr><td class="paramname">buf</td><td>The audio PCM input buffer.</td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd>The number of played samples on success, otherwise less than zero. </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="ga72eaf2b8911fd5cb2ef11f2e696468a9"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#ga72eaf2b8911fd5cb2ef11f2e696468a9">◆ </a></span>sceAudioInput()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">int sceAudioInput </td>
|
|
<td>(</td>
|
|
<td class="paramtype">int </td>
|
|
<td class="paramname"><em>sampleCount</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">int </td>
|
|
<td class="paramname"><em>freq</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">void * </td>
|
|
<td class="paramname"><em>buf</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>Store input.</p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">sampleCount</td><td>The number of samples to read. </td></tr>
|
|
<tr><td class="paramname">freq</td><td>The input frequency. </td></tr>
|
|
<tr><td class="paramname">buf</td><td>The audio PCM input buffer.</td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd>The number of played samples on success, otherwise less than zero. </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="gaabf188585da82ed7092bac7ed86b22c6"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#gaabf188585da82ed7092bac7ed86b22c6">◆ </a></span>sceAudioGetInputLength()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">int sceAudioGetInputLength </td>
|
|
<td>(</td>
|
|
<td class="paramname"></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>Get the number of samples read from input.</p>
|
|
<dl class="section return"><dt>Returns</dt><dd>The sample count. </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="ga2ff11c38d161272162cc5efa8791eb7a"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#ga2ff11c38d161272162cc5efa8791eb7a">◆ </a></span>sceAudioPollInputEnd()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">int sceAudioPollInputEnd </td>
|
|
<td>(</td>
|
|
<td class="paramname"></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>Checks if the input has ended.</p>
|
|
<dl class="section return"><dt>Returns</dt><dd>1 if the input is still running, otherwise 0. </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="ga8fc8cc8b557f41cfbb15e6c8033834bd"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#ga8fc8cc8b557f41cfbb15e6c8033834bd">◆ </a></span>sceAudio_driver_5182B550()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">int sceAudio_driver_5182B550 </td>
|
|
<td>(</td>
|
|
<td class="paramtype">int </td>
|
|
<td class="paramname"><em>arg</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<dl class="todo"><dt><b><a class="el" href="todo.html#_todo000004">Todo:</a></b></dt><dd>? </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
</div><!-- contents -->
|
|
<!-- start footer part -->
|
|
<hr class="footer"/><address class="footer"><small>
|
|
Generated on Sat Sep 28 2024 18:01:49 for uOFW by <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.1
|
|
</small></address>
|
|
</body>
|
|
</html>
|