View Single Post
  #1 (permalink)  
Old 26th March 2005
RafkeP RafkeP is offline
Senior Member
BS.Player Power User
 
Join Date: Feb 2004
Posts: 126
Rep Power: 0
RafkeP is an unknown quantity at this point
Default Problem with SDK and BSP_LoadAudio

Hi,

I'm trying to write another plugin.
One that requires the BSP_LoadAudio message.
Whatever I try : the audio file won't load. I can load it manually but not from a plugin.

So I tried the following : Instead of using an mp3 I took a normal srt file.
(I know that's a subtitle file, but it was only a test)
My code then looked like this :
Code:
cds.lpData=(void *) "audiofile.srt";
Now when I start BSplayer and I go to Audio/Audio Streams, I see there is an audio stream called "audiofile.srt"
When I change my code to :
Code:
cds.lpData=(void *) "audiofile.mp3";
It doesn't load the audio file and it doesn't show in Audio/Audio Streams
I did my tests with bsplayer122.817 and bsplayer122.812 on Windows XP and Win2000

Am I doing something wrong or can someone confirm this behaviour ?

Thanks in advance,
Rafke P.
Reply With Quote
 

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20