user1797675
user1797675

Reputation:

OpenAL - Play Hosted .wav on server

Is it possible to play a .wav hosted on a fileserver http://example.com/mysound.wav

Or mp3/ogg

Upvotes: 0

Views: 94

Answers (1)

Ronald
Ronald

Reputation: 3

Use libcurl to get your file in your scene loading. With buffer in memory, you can use method "alutLoadWAVMemory" from ALUT. FreeALUT is a good and updated library. https://github.com/vancegroup/freealut

Upvotes: 0

Related Questions