You need to sign in or sign up before continuing.
Commit acb5ce15 authored by David Reid's avatar David Reid

Tabs to spaces.

parent ade7edab
...@@ -57,6 +57,8 @@ int main() ...@@ -57,6 +57,8 @@ int main()
config.format = mal_format_s16; config.format = mal_format_s16;
config.channels = 2; config.channels = 2;
config.sampleRate = 48000; config.sampleRate = 48000;
config.channelMap[0] = MAL_CHANNEL_FRONT_LEFT;
config.channelMap[1] = MAL_CHANNEL_FRONT_RIGHT;
config.bufferSizeInFrames = 0; // Use default. config.bufferSizeInFrames = 0; // Use default.
config.periods = 0; // Use default. config.periods = 0; // Use default.
config.onRecvCallback = on_recv_frames; config.onRecvCallback = on_recv_frames;
......
...@@ -41,6 +41,8 @@ int main(int argc, char** argv) ...@@ -41,6 +41,8 @@ int main(int argc, char** argv)
config.format = mal_format_s16; config.format = mal_format_s16;
config.channels = wav.channels; config.channels = wav.channels;
config.sampleRate = wav.sampleRate; config.sampleRate = wav.sampleRate;
config.channelMap[0] = MAL_CHANNEL_FRONT_LEFT;
config.channelMap[1] = MAL_CHANNEL_FRONT_RIGHT;
config.bufferSizeInFrames = 0; // Use default. config.bufferSizeInFrames = 0; // Use default.
config.periods = 0; // Use default. config.periods = 0; // Use default.
config.onRecvCallback = NULL; // Not used for playback. config.onRecvCallback = NULL; // Not used for playback.
......
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