Anyone know if ogg support is broken in 3.92 for linux. I try to compile the following:
Code: Select all
If InitSound() = 0
MessageRequester("Error", "Can't open SDL or no sound card is available", 0)
End
EndIf
UseOGGSoundDecoder()
SoundFileName$ = OpenFileRequester("Choose a sound file", "", "Wave or OGG files|*.wav;*.ogg",0)
If SoundFileName$
If LoadSound(0, SoundFileName$)
PlaySound(0)
MessageRequester("Sound", "Playing the sound (loop)..."+Chr(10)+"Click to quit..", 0)
Else
MessageRequester("Error", "Can't load the sound.", 0)
EndIf
EndIf
End
Compiled like that I get the following error
I guess it was removed right?bash-3.00$ pbcompiler oggy.pb
******************************************
PureBasic Linux x86 v3.92
******************************************
Loading external modules...
Starting compilation...
Error: Line 5 - UseOGGSoundDecoder() is not a function, an array, or a linked list