Explorar el Código

tutorial: fix build.

legacy
Sam Hocevar hace 6 años
padre
commit
a21c2cbea7
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. +1
    -1
      doc/tutorial/09_sound.cpp

+ 1
- 1
doc/tutorial/09_sound.cpp Ver fichero

@@ -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)


Cargando…
Cancelar
Guardar