Index: examples/audio_play_test/play_tone.cc |
diff --git a/examples/audio_play_test/play_tone.cc b/examples/audio_play_test/play_tone.cc |
index 8b65ef68246644a4ad858d65f4d07156fa54056b..c16a564459f9c17d1614a99b035a3f55a21e3337 100644 |
--- a/examples/audio_play_test/play_tone.cc |
+++ b/examples/audio_play_test/play_tone.cc |
@@ -117,7 +117,8 @@ void PlayToneApp::Initialize(ApplicationImpl* app) { |
LpcmMediaTypeDetailsPtr pcm_cfg = LpcmMediaTypeDetails::New(); |
pcm_cfg->sample_format = LpcmSampleFormat::SIGNED_16; |
- pcm_cfg->samples_per_frame = 1; |
+ pcm_cfg->interleaved = true; |
+ pcm_cfg->channels = 1; |
pcm_cfg->frames_per_second = SAMP_FREQ; |
cfg->media_type = MediaType::New(); |