[12.0.0+] The Enable vfunc called above for Audio does the following:
[12.0.0+] The Enable vfunc called above for Audio does the following:
−
* Uses BSA to enable AV. Besides the callback, the only field in the passed struct which is set is <code>features</code>. This is set for "remote control target".
+
* Calls a func which does the following:
−
* Error handling + state setup is done.
+
** Uses BSA to enable AV. Besides the callback, the only field in the passed struct which is set is <code>features</code>. This is set for "remote control target".
−
* Uses BSA to register AV twice, with the default input struct.
+
** Error handling + state setup is done.
−
* Error handling + state setup is done.
+
** Uses BSA to register AV twice, with the default input struct.
+
** Error handling + state setup is done.
+
* If an error occurred in a certain range, a [[#FatalReason|fatal]] is triggered and 0 is returned.
+
* Otherwise when successful, state init is done then 0 is returned.