Index: examples/audio_play_test/play_wav.cc |
diff --git a/examples/audio_play_test/play_wav.cc b/examples/audio_play_test/play_wav.cc |
index d4706b02c6ae74464e954831d0b4f0d6b6c4349b..54a6b70b14934314b7e5b986949c46c5ce9fb054 100644 |
--- a/examples/audio_play_test/play_wav.cc |
+++ b/examples/audio_play_test/play_wav.cc |
@@ -267,7 +267,8 @@ void PlayWAVApp::ProcessHTTPResponse(URLResponsePtr resp) { |
pcm_cfg->sample_format = (wav_info_.bits_per_sample == 8) |
? LpcmSampleFormat::UNSIGNED_8 |
: LpcmSampleFormat::SIGNED_16; |
- pcm_cfg->samples_per_frame = wav_info_.channel_count; |
+ pcm_cfg->interleaved = true; |
+ pcm_cfg->channels = wav_info_.channel_count; |
pcm_cfg->frames_per_second = wav_info_.frame_rate; |
cfg->media_type = MediaType::New(); |