mirror of
https://github.com/Ryujinx/Opentk.git
synced 2024-12-25 16:25:37 +00:00
8dcb8601a2
Hopefully this is the first and last time we have to do this.
23 lines
803 B
Plaintext
23 lines
803 B
Plaintext
{\rtf1\ansi\ansicpg1253\deff0{\fonttbl{\f0\fnil\fcharset0 Arial;}}
|
||
{\colortbl ;\red163\green21\blue21;}
|
||
{\*\generator Msftedit 5.41.21.2509;}\viewkind4\uc1\pard\cf1\lang1033\b\fs28 Introduction\b0\fs22\par
|
||
\par
|
||
This sample demonstrates OpenAL-based sound playback.\par
|
||
\b\fs28\par
|
||
Controls\par
|
||
\b0\fs22\par
|
||
None.\par
|
||
\par
|
||
\b\fs28 Implementation\par
|
||
\b0\fs22\par
|
||
This application loads an uncompressed WAV file and plays back its contents.\par
|
||
\par
|
||
1. It creates an AudioContext using default playback parameters.\par
|
||
\par
|
||
2. It opens the WAV file, decodes its header and pushes its sound data to an OpenAL buffer.\par
|
||
\par
|
||
3. It attaches the buffer to an OpenAL source and starts playing that source.\par
|
||
\par
|
||
4. It waits until the source stops playing, destroyes all OpenAL resources and exits.\par
|
||
}
|
||
|