GLFW PlayMusic() - bug

Monkey Forums/Monkey Bug Reports/GLFW PlayMusic() - bug

Neuro(Posted 2012) [#1]
When building in the GLFW target, the .ogg files are not being copied over into the final build data folder so the music files can't be played - however an access violation is not being thrown either. When the .ogg files are manually copied over to the data folder, the music will play.


therevills(Posted 2012) [#2]
Could you try adding this to the top of your monkey project:
#SOUND_FILES=*.wav|*.ogg
#MUSIC_FILES=*.wav|*.ogg

By default only *.wav files are copied over to the build folder.


marksibly(Posted 2012) [#3]
Hi,

The glfw target CONFIG.TXT file hasn't been updated to include .ogg as a default audio format - will fix for next release.


Neuro(Posted 2012) [#4]
By default only *.wav files are copied over to the build folder.

Yep, that works for now :).

The glfw target CONFIG.TXT file hasn't been updated to include .ogg as a default audio format - will fix for next release.

Thanks mark!