Audio services: Difference between revisions
Sebastiaan (talk | contribs) No edit summary |
|||
Line 10: | Line 10: | ||
== OpenAudioOut == | == OpenAudioOut == | ||
Takes two u64s (an interface ID and a PID placeholder?), a PID, a process handle, and the name of the interface you want to connect to. Returns an [[#IAudioOut]] object and four u32s: the sample rate, channel count, PCM format, and an unknown field. PCM format 2 | Takes two u64s (an interface ID and a PID placeholder?), a PID, a process handle, and the name of the interface you want to connect to. Returns an [[#IAudioOut]] object and four u32s: the sample rate, channel count, [[#PCM_format|PCM format]], and an unknown field. | ||
=== PCM format === | |||
{| class="wikitable" border="1" | |||
|- | |||
! Value || Name | |||
|- | |||
| 0 || Invalid | |||
|- | |||
| 1 || INT8 | |||
|- | |||
| 2 || INT16 | |||
|- | |||
| 3 || INT24 | |||
|- | |||
| 4 || INT32 | |||
|- | |||
| 5 || PCM Float | |||
|- | |||
| 6 || ADPCM | |||
|} | |||
== IAudioOut == | == IAudioOut == |