|
Waave
An audio video engine
|
Before using the Waave engine build a SDL context with support for video, audio an timers. You can then start or stop earch component of the Waave engine.
Functions | |
| int | WV_waaveInit (int flag) |
| Init the Waave engine. | |
| int | WV_waaveClose (void) |
| Close the Waave engine. | |
| int WV_waaveClose | ( | void | ) |
Close the Waave engine.
All the opened streams will be closed and the engine will be stopped. If you want to close just an engine component relaunch WV_waaveInit with the correct flags
| int WV_waaveInit | ( | int | flag | ) |
Init the Waave engine.
| flag | Set the components to start, the others are stopped if running |
Use WV_waaveInit to start the Waave engine with the subsystems specified by flags. Here the possible flag value :
| Flag value | Description |
|---|---|
| WAAVE_INIT_NONE | Nothing need to be started |
| WAAVE_INIT_AUDIO | Audio engine need to be started |
| WAAVE_INIT_VIDEO | Video engine need to be started |
So :
WV_waaveInit(WAAVE_INIT_AUDIO|WAAVE_INIT_VIDEO)
will start all the engine components.
1.8.1