Commit 5fdb3190 authored by David Reid's avatar David Reid

Fix bug in test code.

parent e563b19e
...@@ -6,7 +6,7 @@ ma_result filtering_init_decoder_and_encoder(const char* pInputFilePath, const c ...@@ -6,7 +6,7 @@ ma_result filtering_init_decoder_and_encoder(const char* pInputFilePath, const c
ma_decoder_config decoderConfig; ma_decoder_config decoderConfig;
ma_encoder_config encoderConfig; ma_encoder_config encoderConfig;
decoderConfig = ma_decoder_config_init(format, 0, 0); decoderConfig = ma_decoder_config_init(format, channels, sampleRate);
result = ma_decoder_init_file(pInputFilePath, &decoderConfig, pDecoder); result = ma_decoder_init_file(pInputFilePath, &decoderConfig, pDecoder);
if (result != MA_SUCCESS) { if (result != MA_SUCCESS) {
return result; return result;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment