Line 1,556: |
Line 1,556: |
| ! Cmd || Name | | ! Cmd || Name |
| |- | | |- |
− | | 0 || SetExpectedMasterVolume | + | | 0 || [[#SetExpectedMasterVolume]] |
| |- | | |- |
− | | 1 || GetMainAppletExpectedMasterVolume | + | | 1 || [[#GetMainAppletExpectedMasterVolume]] |
| |- | | |- |
− | | 2 || GetLibraryAppletExpectedMasterVolume | + | | 2 || [[#GetLibraryAppletExpectedMasterVolume]] |
| |- | | |- |
− | | 3 || ChangeMainAppletMasterVolume | + | | 3 || [[#ChangeMainAppletMasterVolume]] |
| |- | | |- |
− | | 4 || SetTransparentVolumeRate | + | | 4 || [[#SetTransparentVolumeRate]] |
| |} | | |} |
| | | |
| GetMainAppletExpectedMasterVolume/SetExpectedMasterVolume are used for saving/restoring state for LibraryApplet launching, with SetExpectedMasterVolume being used with new state prior to launching a LibraryApplet. With official sw these applet funcs are used directly in the main-codebin. | | GetMainAppletExpectedMasterVolume/SetExpectedMasterVolume are used for saving/restoring state for LibraryApplet launching, with SetExpectedMasterVolume being used with new state prior to launching a LibraryApplet. With official sw these applet funcs are used directly in the main-codebin. |
| + | |
| + | === SetExpectedMasterVolume === |
| + | Takes two input floats, no output. |
| + | |
| + | Writes the input floats to state: first one is used by [[#GetMainAppletExpectedMasterVolume]], second one is used by [[#GetLibraryAppletExpectedMasterVolume]]. |
| + | |
| + | === GetMainAppletExpectedMasterVolume === |
| + | No input, returns an output float. |
| + | |
| + | === GetLibraryAppletExpectedMasterVolume === |
| + | No input, returns an output float. |
| + | |
| + | === ChangeMainAppletMasterVolume === |
| + | Takes an input float and an input u64, no output. |
| + | |
| + | === SetTransparentVolumeRate === |
| + | Takes an input float, no output. |
| | | |
| == IDisplayController == | | == IDisplayController == |