Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions miniaudio.h
Original file line number Diff line number Diff line change
Expand Up @@ -10520,6 +10520,7 @@ typedef struct
ma_decoding_backend_vtable** ppCustomDecodingBackendVTables;
ma_uint32 customDecodingBackendCount;
void* pCustomDecodingBackendUserData;
ma_resampler_config resampling;
} ma_resource_manager_config;

MA_API ma_resource_manager_config ma_resource_manager_config_init(void);
Expand Down Expand Up @@ -69915,6 +69916,7 @@ MA_API ma_resource_manager_config ma_resource_manager_config_init(void)
config.jobThreadCount = 0;
}
#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;
}
Expand Down Expand Up @@ -70158,6 +70160,7 @@ static ma_decoder_config ma_resource_manager__init_decoder_config(ma_resource_ma
config.ppCustomBackendVTables = pResourceManager->config.ppCustomDecodingBackendVTables;
config.customBackendCount = pResourceManager->config.customDecodingBackendCount;
config.pCustomBackendUserData = pResourceManager->config.pCustomDecodingBackendUserData;
config.resampling = pResourceManager->config.resampling;

return config;
}
Expand Down