mirror of
https://github.com/mackron/miniaudio.git
synced 2026-04-21 15:56:58 +02:00
Minor code rearrangement.
This commit is contained in:
+1
-1
@@ -69947,6 +69947,7 @@ MA_API ma_resource_manager_config ma_resource_manager_config_init(void)
|
|||||||
config.decodedSampleRate = 0;
|
config.decodedSampleRate = 0;
|
||||||
config.jobThreadCount = 1; /* A single miniaudio-managed job thread by default. */
|
config.jobThreadCount = 1; /* A single miniaudio-managed job thread by default. */
|
||||||
config.jobQueueCapacity = MA_JOB_TYPE_RESOURCE_MANAGER_QUEUE_CAPACITY;
|
config.jobQueueCapacity = MA_JOB_TYPE_RESOURCE_MANAGER_QUEUE_CAPACITY;
|
||||||
|
config.resampling = ma_resampler_config_init(ma_format_unknown, 0, 0, 0, ma_resample_algorithm_linear); /* Format/channels/rate doesn't matter here. */
|
||||||
|
|
||||||
/* Flags. */
|
/* Flags. */
|
||||||
config.flags = 0;
|
config.flags = 0;
|
||||||
@@ -69957,7 +69958,6 @@ MA_API ma_resource_manager_config ma_resource_manager_config_init(void)
|
|||||||
config.jobThreadCount = 0;
|
config.jobThreadCount = 0;
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
config.resampling = ma_resampler_config_init(ma_format_unknown, 0, 0, 0, ma_resample_algorithm_linear); /* Format/channels/rate doesn't matter here. */
|
|
||||||
|
|
||||||
return config;
|
return config;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user