Has someone a catchsound example for OGG or WAV.
I'am using the soundplugin example which comes with PB.
How large can the OGG file be when using catchsound?
CatchSound example for OGG or WAV?
CatchSound example for OGG or WAV?
Cor de Visser
Registered PureBasic user
Author of ChordPlanet
Made with PureBasic
http://www.chordplanet.com
Registered PureBasic user
Author of ChordPlanet
Made with PureBasic
http://www.chordplanet.com
I found it:
UseOGGSoundDecoder()
L1=?IB2-?IB1
CatchSound(0,?IB1,L1)
PlaySound(0,1)
end
IB1:
Includebinary "test.ogg"
IB2:
OGG sound file create with mp3 to ogg converter
http://www.ogg-converter.com
UseOGGSoundDecoder()
L1=?IB2-?IB1
CatchSound(0,?IB1,L1)
PlaySound(0,1)
end
IB1:
Includebinary "test.ogg"
IB2:
OGG sound file create with mp3 to ogg converter
http://www.ogg-converter.com
Cor de Visser
Registered PureBasic user
Author of ChordPlanet
Made with PureBasic
http://www.chordplanet.com
Registered PureBasic user
Author of ChordPlanet
Made with PureBasic
http://www.chordplanet.com
