mirror of
https://github.com/mackron/miniaudio.git
synced 2026-04-22 00:06:59 +02:00
Fix an error in the documentation.
This commit is contained in:
+1
-1
@@ -1025,7 +1025,7 @@ configure the engine with an engine config:
|
|||||||
ma_engine_config engineConfig;
|
ma_engine_config engineConfig;
|
||||||
|
|
||||||
engineConfig = ma_engine_config_init();
|
engineConfig = ma_engine_config_init();
|
||||||
engineConfig.pPlaybackDevice = &myDevice;
|
engineConfig.pDevice = &myDevice;
|
||||||
|
|
||||||
result = ma_engine_init(&engineConfig, &engine);
|
result = ma_engine_init(&engineConfig, &engine);
|
||||||
if (result != MA_SUCCESS) {
|
if (result != MA_SUCCESS) {
|
||||||
|
|||||||
Reference in New Issue
Block a user