mirror of
https://github.com/mackron/miniaudio.git
synced 2026-04-23 08:44:04 +02:00
Rename data nodes to data buffers in the resource manager.
This commit is contained in:
@@ -33,20 +33,6 @@ int main(int argc, char** argv)
|
||||
}
|
||||
|
||||
|
||||
#if 0
|
||||
ma_resource_manager_data_node* pDataNode;
|
||||
ma_event* pTestEvent;
|
||||
ma_event_alloc_and_init(&pTestEvent, NULL);
|
||||
|
||||
result = ma_resource_manager_create_data_node(engine.pResourceManager, argv[1], ma_resource_manager_data_node_type_decoded, pTestEvent, &pDataNode);
|
||||
if (result != MA_SUCCESS) {
|
||||
printf("FAILED\n");
|
||||
}
|
||||
|
||||
ma_event_wait(pTestEvent);
|
||||
ma_event_uninit_and_free(pTestEvent, NULL);
|
||||
#endif
|
||||
|
||||
#if 1
|
||||
result = ma_engine_sound_init_from_file(&engine, argv[1], MA_DATA_SOURCE_FLAG_DECODE | MA_DATA_SOURCE_FLAG_ASYNC, NULL, &sound);
|
||||
if (result != MA_SUCCESS) {
|
||||
|
||||
+324
-324
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user