2016-10-09 21:18:25 +01:00
<!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" / >
2018-07-26 20:52:03 +10:00
< meta name = "generator" content = "Doxygen 1.8.14" / >
< meta name = "viewport" content = "width=device-width, initial-scale=1" / >
< title > wut: include/sndcore2/device.h Source File< / title >
2016-10-09 21:18:25 +01:00
< 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;" >
2018-07-26 20:52:03 +10:00
< div id = "projectname" > wut
  < span id = "projectnumber" > 1.0.0-alpha< / span >
2016-10-09 21:18:25 +01:00
< / div >
< div id = "projectbrief" > Wii U Toolchain< / div >
< / td >
< / tr >
< / tbody >
< / table >
< / div >
<!-- end header part -->
2018-07-26 20:52:03 +10:00
<!-- Generated by Doxygen 1.8.14 -->
2016-10-09 21:18:25 +01:00
< script type = "text/javascript" >
2018-07-26 20:52:03 +10:00
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3& dn=gpl-2.0.txt GPL-v2 */
2016-10-09 21:18:25 +01:00
var searchBox = new SearchBox("searchBox", "search",false,'Search');
2018-07-26 20:52:03 +10:00
/* @license-end */
2016-10-09 21:18:25 +01:00
< / script >
2018-07-26 20:52:03 +10:00
< 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 >
2016-10-09 21:18:25 +01:00
<!-- 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 id = "nav-path" class = "navpath" >
< ul >
< li class = "navelem" > < a class = "el" href = "dir_d44c64559bbebec7f509842c48db8b23.html" > include< / a > < / li > < li class = "navelem" > < a class = "el" href = "dir_1c4bf56b464529e8437c08b873e0bfc0.html" > sndcore2< / a > < / li > < / ul >
< / div >
< / div > <!-- top -->
< div class = "header" >
< div class = "headertitle" >
< div class = "title" > device.h< / div > < / div >
< / div > <!-- header -->
< div class = "contents" >
2018-07-26 20:52:03 +10:00
< a href = "device_8h.html" > Go to the documentation of this file.< / a > < div class = "fragment" > < div class = "line" > < a name = "l00001" > < / a > < span class = "lineno" > 1< / span >   < span class = "preprocessor" > #pragma once< / span > < / div > < div class = "line" > < a name = "l00002" > < / a > < span class = "lineno" > 2< / span >   < span class = "preprocessor" > #include < < a class = "code" href = "wut_8h.html" > wut.h< / a > > < / span > < / div > < div class = "line" > < a name = "l00003" > < / a > < span class = "lineno" > 3< / span >   < span class = "preprocessor" > #include " < a class = "code" href = "sndcore2_2result_8h.html" > result.h< / a > " < / span > < / div > < div class = "line" > < a name = "l00004" > < / a > < span class = "lineno" > 4< / span >   < / div > < div class = "line" > < a name = "l00012" > < / a > < span class = "lineno" > 12< / span >   < span class = "preprocessor" > #ifdef __cplusplus< / span > < / div > < div class = "line" > < a name = "l00013" > < / a > < span class = "lineno" > 13< / span >   < span class = "keyword" > extern< / span > < span class = "stringliteral" > " C" < / span > {< / div > < div class = "line" > < a name = "l00014" > < / a > < span class = "lineno" > 14< / span >   < span class = "preprocessor" > #endif< / span > < / div > < div class = "line" > < a name = "l00015" > < / a > < span class = "lineno" > 15< / span >   < / div > < div class = "line" > < a name = "l00016" > < / a > < span class = "lineno" > < a class = "line" href = "group__sndcore2__device.html#gaf6b461748cc3b43524eb9ee07abb9b7c" > 16< / a > < / span >   < span class = "keyword" > typedef< / span > void(*< a class = "code" href = "group__sndcore2__device.html#gaf6b461748cc3b43524eb9ee07abb9b7c" > AXDeviceFinalMixCallback< / a > )(< span class = "keywordtype" > void< / span > *);< / div > < div class = "line" > < a name = "l00017" > < / a > < span class = "lineno" > < a class = "line" href = "group__sndcore2__device.html#ga9932e6553db1a80375fa612f1afb03f1" > 17< / a > < / span >   < span class = "keyword" > typedef< / span > void(*< a class = "code" href = "group__sndcore2__device.html#ga9932e6553db1a80375fa612f1afb03f1" > AXAuxCallback< / a > )(< span class = "keywordtype" > void< / span > *, < span class = "keywordtype" > void< / span > *);< / div > < div class = "line" > < a name = "l00018" > < / a > < span class = "lineno" > 18< / span >   < / div > < div class = "line" > < a name = "l00020" > < / a > < span class = "lineno" > < a class = "line" href = "group__sndcore2__device.html#ga685eaea51fc5255827cddf9bbf2bc7ab" > 20< / a > < / span >   < span class = "keyword" > typedef< / span > uint32_t < a class = "code" href = "group__sndcore2__device.html#ga685eaea51fc5255827cddf9bbf2bc7ab" > AXDeviceMode< / a > ;< / div > < div class = "line" > < a name = "l00021" > < / a > < span class = "lineno" > 21< / span >   < / div > < div class = "line" > < a name = "l00023" > < / a > < span class = "lineno" > < a class = "line" href = "group__sndcore2__device.html#ga7c7e7ffa8ef32f2ef1da211b77a87dd7" > 23< / a > < / span >   < span class = "keyword" > typedef< / span > uint32_t < a class = "code" href = "group__sndcore2__device.html#ga7c7e7ffa8ef32f2ef1da211b77a87dd7" > AXDeviceType< / a > ;< / div > < div class = "line" > < a name = "l00024" > < / a > < span class = "lineno" > 24< / span >   < / div > < div class = "line" > < a name = "l00025" > < / a > < span class = "lineno" > < a class = "line" href = "group__sndcore2__device.html#ga62e50a0d02d2da1683cda793867060c6" > 25< / a > < / span >   < span class = "keyword" > enum< / span > < a class = "code" href = "group__sndcore2__device.html#ga62e50a0d02d2da1683cda793867060c6" > AX_DEVICE_MODE< / a > < / div > < div class = "line" > < a name = "l00026" > < / a > < span class = "lineno" > 26< / span >   {< / div > < div class = "line" > < a name = "l00027" > < / a > < span class = "lineno" > 27< / span >   < span class = "comment" > // Unknown< / span > < / div > < div class = "line" > < a name = "l00028" > < / a > < span class = "lineno" > < a class = "line" href = "group__sndcore2__device.html#gga62e50a0d02d2da1683cda793867060c6a269d87e77e206f193ce04f837293abe3" > 28< / a > < / span >   < a class = "code" href = "group__sndcore2__device.html#gga62e50a0d02d2da1683cda793867060c6a269d87e77e206f193ce04f837293abe3" > AX_DEVICE_MODE_UNKNOWN< / a > < / div > < div class = "line" > < a name = "l00029" > < / a > < span class = "lineno" > 29< / span >   };< / div > < div class = "line" > < a name = "l00030" > < / a > < span class = "lineno" > 30< / span >   < / div > < div class = "line" > < a name = "l00031" > < / a > < span class = "lineno" > < a class = "line" href = "group__sndcore2__device.html#ga08e97232ab9f9a048f80c8e5f8925646" > 31< / a > < / span > & #1
2016-10-09 21:18:25 +01:00
< div class = "ttc" id = "group__sndcore2__device_html_gaa8d8844cade585599a3fb12bc96edb1c" > < div class = "ttname" > < a href = "group__sndcore2__device.html#gaa8d8844cade585599a3fb12bc96edb1c" > AXGetDeviceFinalMixCallback< / a > < / div > < div class = "ttdeci" > AXResult AXGetDeviceFinalMixCallback(AXDeviceType type, AXDeviceFinalMixCallback *func)< / div > < / div >
< div class = "ttc" id = "group__sndcore2__device_html_ga62e50a0d02d2da1683cda793867060c6" > < div class = "ttname" > < a href = "group__sndcore2__device.html#ga62e50a0d02d2da1683cda793867060c6" > AX_DEVICE_MODE< / a > < / div > < div class = "ttdeci" > AX_DEVICE_MODE< / div > < div class = "ttdef" > < b > Definition:< / b > < a href = "device_8h_source.html#l00025" > device.h:25< / a > < / div > < / div >
< div class = "ttc" id = "group__sndcore2__device_html_ga40b1e9b4a4614ae7e82f714d315c5373" > < div class = "ttname" > < a href = "group__sndcore2__device.html#ga40b1e9b4a4614ae7e82f714d315c5373" > AXGetAuxCallback< / a > < / div > < div class = "ttdeci" > AXResult AXGetAuxCallback(AXDeviceType type, uint32_t unk0, uint32_t unk1, AXAuxCallback *callback, void **userData)< / div > < / div >
< div class = "ttc" id = "group__sndcore2__device_html_gaf6b461748cc3b43524eb9ee07abb9b7c" > < div class = "ttname" > < a href = "group__sndcore2__device.html#gaf6b461748cc3b43524eb9ee07abb9b7c" > AXDeviceFinalMixCallback< / a > < / div > < div class = "ttdeci" > void(* AXDeviceFinalMixCallback)(void *)< / div > < div class = "ttdef" > < b > Definition:< / b > < a href = "device_8h_source.html#l00016" > device.h:16< / a > < / div > < / div >
< div class = "ttc" id = "group__sndcore2__device_html_ga288900838c1aa49fa2589bae53e8d290" > < div class = "ttname" > < a href = "group__sndcore2__device.html#ga288900838c1aa49fa2589bae53e8d290" > AXSetDeviceVolume< / a > < / div > < div class = "ttdeci" > AXResult AXSetDeviceVolume(AXDeviceType type, uint32_t id, uint16_t volume)< / div > < / div >
< div class = "ttc" id = "group__sndcore2__device_html_gga62e50a0d02d2da1683cda793867060c6a269d87e77e206f193ce04f837293abe3" > < div class = "ttname" > < a href = "group__sndcore2__device.html#gga62e50a0d02d2da1683cda793867060c6a269d87e77e206f193ce04f837293abe3" > AX_DEVICE_MODE_UNKNOWN< / a > < / div > < div class = "ttdef" > < b > Definition:< / b > < a href = "device_8h_source.html#l00028" > device.h:28< / a > < / div > < / div >
< div class = "ttc" id = "group__sndcore2__device_html_ga501d95cb66c135552c3bc91397dad3b0" > < div class = "ttname" > < a href = "group__sndcore2__device.html#ga501d95cb66c135552c3bc91397dad3b0" > AXSetDeviceCompressor< / a > < / div > < div class = "ttdeci" > AXResult AXSetDeviceCompressor(AXDeviceType type, uint32_t unk0)< / div > < / div >
< div class = "ttc" id = "group__sndcore2__device_html_ga08e97232ab9f9a048f80c8e5f8925646" > < div class = "ttname" > < a href = "group__sndcore2__device.html#ga08e97232ab9f9a048f80c8e5f8925646" > AX_DEVICE_TYPE< / a > < / div > < div class = "ttdeci" > AX_DEVICE_TYPE< / div > < div class = "ttdef" > < b > Definition:< / b > < a href = "device_8h_source.html#l00031" > device.h:31< / a > < / div > < / div >
2018-07-26 20:52:03 +10:00
< div class = "ttc" id = "sndcore2_2result_8h_html" > < div class = "ttname" > < a href = "sndcore2_2result_8h.html" > result.h< / a > < / div > < / div >
2016-10-09 21:18:25 +01:00
< div class = "ttc" id = "group__sndcore2__device_html_ga812734fd1bd5e75c6ad21b9256767942" > < div class = "ttname" > < a href = "group__sndcore2__device.html#ga812734fd1bd5e75c6ad21b9256767942" > AXSetDeviceUpsampleStage< / a > < / div > < div class = "ttdeci" > AXResult AXSetDeviceUpsampleStage(AXDeviceType type, BOOL postFinalMix)< / div > < / div >
< div class = "ttc" id = "group__sndcore2__device_html_gga08e97232ab9f9a048f80c8e5f8925646a4180fcc9ef3ef20ffcb675c3077d0f09" > < div class = "ttname" > < a href = "group__sndcore2__device.html#gga08e97232ab9f9a048f80c8e5f8925646a4180fcc9ef3ef20ffcb675c3077d0f09" > AX_DEVICE_TYPE_TV< / a > < / div > < div class = "ttdef" > < b > Definition:< / b > < a href = "device_8h_source.html#l00033" > device.h:33< / a > < / div > < / div >
< div class = "ttc" id = "wut_8h_html" > < div class = "ttname" > < a href = "wut_8h.html" > wut.h< / a > < / div > < / div >
< div class = "ttc" id = "group__sndcore2__device_html_gga08e97232ab9f9a048f80c8e5f8925646ad3508f57e09d34abdff65338a3f8ec96" > < div class = "ttname" > < a href = "group__sndcore2__device.html#gga08e97232ab9f9a048f80c8e5f8925646ad3508f57e09d34abdff65338a3f8ec96" > AX_DEVICE_TYPE_CONTROLLER< / a > < / div > < div class = "ttdef" > < b > Definition:< / b > < a href = "device_8h_source.html#l00035" > device.h:35< / a > < / div > < / div >
< div class = "ttc" id = "group__sndcore2__device_html_ga0c2c97af95f325ce056f8777da1a1246" > < div class = "ttname" > < a href = "group__sndcore2__device.html#ga0c2c97af95f325ce056f8777da1a1246" > AXSetDeviceLinearUpsampler< / a > < / div > < div class = "ttdeci" > AXResult AXSetDeviceLinearUpsampler(AXDeviceType type, uint32_t unk0, uint32_t unk1)< / div > < / div >
< div class = "ttc" id = "group__sndcore2__device_html_ga685eaea51fc5255827cddf9bbf2bc7ab" > < div class = "ttname" > < a href = "group__sndcore2__device.html#ga685eaea51fc5255827cddf9bbf2bc7ab" > AXDeviceMode< / a > < / div > < div class = "ttdeci" > uint32_t AXDeviceMode< / div > < div class = "ttdoc" > A value from enum AX_DEVICE_MODE. < / div > < div class = "ttdef" > < b > Definition:< / b > < a href = "device_8h_source.html#l00020" > device.h:20< / a > < / div > < / div >
< div class = "ttc" id = "group__sndcore2__device_html_ga7c7e7ffa8ef32f2ef1da211b77a87dd7" > < div class = "ttname" > < a href = "group__sndcore2__device.html#ga7c7e7ffa8ef32f2ef1da211b77a87dd7" > AXDeviceType< / a > < / div > < div class = "ttdeci" > uint32_t AXDeviceType< / div > < div class = "ttdoc" > A value from enum AX_DEVICE_TYPE. < / div > < div class = "ttdef" > < b > Definition:< / b > < a href = "device_8h_source.html#l00023" > device.h:23< / a > < / div > < / div >
< div class = "ttc" id = "group__sndcore2__device_html_ga9932e6553db1a80375fa612f1afb03f1" > < div class = "ttname" > < a href = "group__sndcore2__device.html#ga9932e6553db1a80375fa612f1afb03f1" > AXAuxCallback< / a > < / div > < div class = "ttdeci" > void(* AXAuxCallback)(void *, void *)< / div > < div class = "ttdef" > < b > Definition:< / b > < a href = "device_8h_source.html#l00017" > device.h:17< / a > < / div > < / div >
2018-07-26 20:52:03 +10:00
< div class = "ttc" id = "group__sndcore2__result_html_ga511adf416542a978c6b5395ae95aef6b" > < div class = "ttname" > < a href = "group__sndcore2__result.html#ga511adf416542a978c6b5395ae95aef6b" > AXResult< / a > < / div > < div class = "ttdeci" > int32_t AXResult< / div > < div class = "ttdoc" > A value from enum AX_RESULT. < / div > < div class = "ttdef" > < b > Definition:< / b > < a href = "sndcore2_2result_8h_source.html#l00016" > result.h:16< / a > < / div > < / div >
< div class = "ttc" id = "wut__types_8h_html_a975dbe9e4396bf9e0064ce01827fa372" > < div class = "ttname" > < a href = "wut__types_8h.html#a975dbe9e4396bf9e0064ce01827fa372" > BOOL< / a > < / div > < div class = "ttdeci" > int32_t BOOL< / div > < div class = "ttdef" > < b > Definition:< / b > < a href = "wut__types_8h_source.html#l00004" > wut_types.h:4< / a > < / div > < / div >
2016-10-09 21:18:25 +01:00
< div class = "ttc" id = "group__sndcore2__device_html_gaf6812d1079c40d454ee0e0698151006d" > < div class = "ttname" > < a href = "group__sndcore2__device.html#gaf6812d1079c40d454ee0e0698151006d" > AXRegisterAuxCallback< / a > < / div > < div class = "ttdeci" > AXResult AXRegisterAuxCallback(AXDeviceType type, uint32_t unk0, uint32_t unk1, AXAuxCallback callback, void *userData)< / div > < / div >
< div class = "ttc" id = "group__sndcore2__device_html_ga5e94941de6b196b6a09832ae3c78946b" > < div class = "ttname" > < a href = "group__sndcore2__device.html#ga5e94941de6b196b6a09832ae3c78946b" > AXRegisterDeviceFinalMixCallback< / a > < / div > < div class = "ttdeci" > AXResult AXRegisterDeviceFinalMixCallback(AXDeviceType type, AXDeviceFinalMixCallback func)< / div > < / div >
< div class = "ttc" id = "group__sndcore2__device_html_gga08e97232ab9f9a048f80c8e5f8925646a0067230c11eb1380469750482896f2ff" > < div class = "ttname" > < a href = "group__sndcore2__device.html#gga08e97232ab9f9a048f80c8e5f8925646a0067230c11eb1380469750482896f2ff" > AX_DEVICE_TYPE_DRC< / a > < / div > < div class = "ttdef" > < b > Definition:< / b > < a href = "device_8h_source.html#l00034" > device.h:34< / a > < / div > < / div >
< / div > <!-- fragment --> < / div > <!-- contents -->
<!-- start footer part -->
< hr class = "footer" / > < address class = "footer" > < small >
Generated by   < a href = "http://www.doxygen.org/index.html" >
< img class = "footer" src = "doxygen.png" alt = "doxygen" / >
2018-07-26 20:52:03 +10:00
< / a > 1.8.14
2016-10-09 21:18:25 +01:00
< / small > < / address >
< / body >
< / html >