0
0

Im using the following code…

    Dim StreamHandle As Long = New Long
    FSOUND_Init(44100, 32, 0)

    StreamHandle = FSOUND_Stream_Open("D:\Musik\Monty Python - Galaxy Song.mp3", FSOUND_MODES.FSOUND_NORMAL, 0, 0)

    'Cant use, because it produces an error
    'FSOUND_Stream_Play(FSOUND_CHANNELSAMPLEMODE.FSOUND_FREE, StreamHandle)
    FSOUND_Stream_Play(21, StreamHandle)

    MsgBox("Click to close")

    FSOUND_Stream_Stop(StreamHandle)
    FSOUND_Stream_Close(StreamHandle)
    FSOUND_Close()

And i have 2 probs… the commented code doesnt work and my speaker is remaining silent… (other playbacks work… eg winamp)

can someone please help me out?? im using the current declarations…

  • You must to post comments
0
0

it seems that negative values as fsound_free leads to an error in dot.net… thats the problems… but btw this is the first point in the code that uses a stream handle so 21 is definitly unused…

  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.