Audio services: Difference between revisions
Line 311: | Line 311: | ||
= codecctl = | = codecctl = | ||
This is "nn::audio::detail::ICodecController". | This is "nn::audio::detail::ICodecController". | ||
This service no longer exists in [3.0.0+]. | |||
{| class="wikitable" border="1" | {| class="wikitable" border="1" | ||
Line 316: | Line 318: | ||
! Cmd || Name | ! Cmd || Name | ||
|- | |- | ||
| 0 || InitializeCodecController | | 0 || [[#InitializeCodecController]] | ||
|- | |- | ||
| 1 || FinalizeCodecController | | 1 || [[#FinalizeCodecController]] | ||
|- | |- | ||
| 2 || SleepCodecController | | 2 || [[#SleepCodecController]] | ||
|- | |- | ||
| 3 || WakeCodecController | | 3 || [[#WakeCodecController]] | ||
|- | |- | ||
| 4 || [[#SetCodecVolume]] | | 4 || [[#SetCodecVolume]] | ||
|- | |- | ||
| 5 || GetCodecVolumeMax | | 5 || [[#GetCodecVolumeMax]] | ||
|- | |- | ||
| 6 || GetCodecVolumeMin | | 6 || [[#GetCodecVolumeMin]] | ||
|- | |- | ||
| 7 || SetCodecActiveTarget | | 7 || [[#SetCodecActiveTarget]] | ||
|- | |- | ||
| 8 || | | 8 || [[#GetCodecActiveTarget]] | ||
|- | |- | ||
| 9 || BindCodecHeadphoneMicJackInterrupt | | 9 || [[#BindCodecHeadphoneMicJackInterrupt]] | ||
|- | |- | ||
| 10 || IsCodecHeadphoneMicJackInserted | | 10 || [[#IsCodecHeadphoneMicJackInserted]] | ||
|- | |- | ||
| 11 || ClearCodecHeadphoneMicJackInterrupt | | 11 || [[#ClearCodecHeadphoneMicJackInterrupt]] | ||
|- | |- | ||
| 12 || IsCodecDeviceRequested | | 12 || [[#IsCodecDeviceRequested]] | ||
|} | |} | ||
== InitializeCodecController == | |||
Takes no input. | |||
== FinalizeCodecController == | |||
Takes no input. | |||
== SleepCodecController == | |||
Takes no input. | |||
== WakeCodecController == | |||
Takes no input. | |||
== SetCodecVolume == | == SetCodecVolume == | ||
Takes an u32 '''Volume'''. | |||
== GetCodecVolumeMax == | |||
Returns an u32 '''VolumeMax'''. | |||
== GetCodecVolumeMin == | |||
Returns an u32 '''VolumeMin'''. | |||
== SetCodecActiveTarget == | |||
Takes an u32 '''Target'''. | |||
== GetCodecActiveTarget == | |||
Returns an u32 '''Target'''. | |||
== BindCodecHeadphoneMicJackInterrupt == | |||
Returns an event handle. | |||
== IsCodecHeadphoneMicJackInserted == | |||
Returns a bool. | |||
== ClearCodecHeadphoneMicJackInterrupt == | |||
Takes no input. | |||
== IsCodecDeviceRequested == | |||
Returns a bool. | |||
[[Category:Services]] | [[Category:Services]] |