Changes

Jump to navigation Jump to search
186 bytes added ,  08:27, 31 December 2017
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 is INT16.
+
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 ==
30

edits

Navigation menu