1
\$\begingroup\$

What's the simplest way to make a sound stream from disk and play in OpenTK?

\$\endgroup\$
  • \$\begingroup\$ OpenTK is a graphics library. There's no built-in support for playing sounds. Try OpenAL. \$\endgroup\$ – MichaelHouse Sep 20 '13 at 22:03
  • \$\begingroup\$ @Byte56: OpenAL seems to be included in OpenTK. I'm just not sure where to begin with playing sounds using it. I can't find any simple examples in C#. \$\endgroup\$ – Lars Jansson Sep 20 '13 at 22:06
  • \$\begingroup\$ Did you try the documentation? \$\endgroup\$ – MichaelHouse Sep 20 '13 at 22:09
  • 2
    \$\begingroup\$ OpenAL being included means that you are still using it to stream audio as such, a streaming guide for OpenAL should be sufficient. benbritten.com/2010/05/04/streaming-in-openal \$\endgroup\$ – Jesse Dorsey Sep 20 '13 at 22:09

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.