瀏覽代碼

tutorial: fix build.

legacy
Sam Hocevar 5 年之前
父節點
當前提交
a21c2cbea7
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. +1
    -1
      doc/tutorial/09_sound.cpp

+ 1
- 1
doc/tutorial/09_sound.cpp 查看文件

@@ -31,7 +31,7 @@ public:
auto f = std::bind(&sound_demo::synth, this, i,
std::placeholders::_1,
std::placeholders::_2);
m_streams[i] = audio::start_streaming(f, audio::format::int16le, 22050, 1);
m_streams[i] = audio::start_streaming(f, audio::format::sint16le, 22050, 1);
}

for (size_t i = 0; i < m_instrument.size(); ++i)


Loading…
取消
儲存