Audio services: Difference between revisions
No edit summary |
No edit summary |
||
Line 245: | Line 245: | ||
! Cmd || Name | ! Cmd || Name | ||
|- | |- | ||
| 0 || [[# | | 0 || [[#GetSampleRate]] | ||
|- | |- | ||
| 1 || [[# | | 1 || [[#GetSampleCount]] | ||
|- | |- | ||
| 2 || [[# | | 2 || [[#GetMixBufferCount]] | ||
|- | |- | ||
| 3 || [[# | | 3 || [[#GetState]] | ||
|- | |- | ||
| 4 || | | 4 || RequestUpdate | ||
|- | |- | ||
| 5 || | | 5 || Start | ||
|- | |- | ||
| 6 || | | 6 || Stop | ||
|- | |- | ||
| 7 || QuerySystemEvent | | 7 || QuerySystemEvent | ||
|- | |- | ||
| 8 || [[# | | 8 || [[#SetRenderingTimeLimit]] | ||
|- | |- | ||
| 9 || [[# | | 9 || [[#GetRenderingTimeLimit]] | ||
|- | |- | ||
| 10 || [3.0.0+] | | 10 || [3.0.0+] RequestUpdateAuto | ||
|- | |- | ||
| 11 || [3.0.0+] ExecuteAudioRendererRendering | | 11 || [3.0.0+] ExecuteAudioRendererRendering | ||
|} | |} | ||
=== | === GetSampleRate === | ||
Returns the Sample Rate. (u32) | Returns the Sample Rate. (u32) | ||
=== | === GetSampleCount === | ||
Returns the Sample Count. (u32) | Returns the Sample Count. (u32) | ||
=== | === GetMixBufferCount === | ||
Returns the number of Mix Buffers. (u32) | Returns the number of Mix Buffers. (u32) | ||
Line 282: | Line 282: | ||
Returns an AudioRenderState, 0x00=Started 0x01=Stopped (u32) | Returns an AudioRenderState, 0x00=Started 0x01=Stopped (u32) | ||
=== | === SetRenderingTimeLimit === | ||
Takes a upper limit of the rendering time in percent. (u32) | Takes a upper limit of the rendering time in percent. (u32) | ||
=== | === GetRenderingTimeLimit === | ||
Returns the upper limit of the rendering time in percent. (u32) | Returns the upper limit of the rendering time in percent. (u32) | ||
Line 318: | Line 318: | ||
|- | |- | ||
| 12 || [3.0.0+] QueryAudioDeviceOutputEvent | | 12 || [3.0.0+] QueryAudioDeviceOutputEvent | ||
|- | |||
| 13 || [5.0.0+] GetAudioSystemMasterVolumeSetting | |||
|} | |} | ||