OGG won't play
Posted: Mon Jan 10, 2005 1:07 pm
Apologies if this should be in 'Beginners' section but I feel it has nothing to do with coding.
The following works quite well.
InitSound()
UseOGGSoundDecoder()
ANS$ = "c:\atest\wav.wav" ;This line works
; ANS$ = "c:\atest\ogg.ogg" ;This line does not work
LoadSound(1, ANS$)
PlaySound(1,0)
MessageRequester("Sound", "Playing the sound."+Chr(10)+"Click to quit..", 0)
End
However if I release the OGG line and comment out the WAV line, nothing happens but no faults are shown.
Having no OGG playback, a couple of days ago I downloaded a Codec and installed it. I can now play OGG by file association in Windows Meda Player.
However if I set the file association to Irfanview, I just get a blank Irfanview screen but I do not get asked to 'fetch the plugin'.
This make me think that there is more to Codecs than just downloading and installing.
Could someone tell me what I need to do to active it for PureBasic?
The system is Win98 and I am currently using the demo version of PureBasic.
The following works quite well.
InitSound()
UseOGGSoundDecoder()
ANS$ = "c:\atest\wav.wav" ;This line works
; ANS$ = "c:\atest\ogg.ogg" ;This line does not work
LoadSound(1, ANS$)
PlaySound(1,0)
MessageRequester("Sound", "Playing the sound."+Chr(10)+"Click to quit..", 0)
End
However if I release the OGG line and comment out the WAV line, nothing happens but no faults are shown.
Having no OGG playback, a couple of days ago I downloaded a Codec and installed it. I can now play OGG by file association in Windows Meda Player.
However if I set the file association to Irfanview, I just get a blank Irfanview screen but I do not get asked to 'fetch the plugin'.
This make me think that there is more to Codecs than just downloading and installing.
Could someone tell me what I need to do to active it for PureBasic?
The system is Win98 and I am currently using the demo version of PureBasic.