0
0

When I wrote FSOUND_Stream_Play(1,pointer)
in endcallback function, my program crash.
(Sound start playing, but loop the first second of this file, and few second later crash).
I solve this using windows message.
Why this working that ???
Everything I write in callback function works, but not Stream_Play.

I use Windows 2000
Sb Live 5.1
Delphi 6.0

P.S. Sorry for my english.

  • You must to post comments
0
0

[quote:a7qww3w5]
On 2002-04-05 02:48, space wrote:
When I wrote FSOUND_Stream_Play(1,pointer)
in endcallback function, my program crash.
(Sound start playing, but loop the first second of this file, and few second later crash).
I solve this using windows message.
Why this working that ???
Everything I write in callback function works, but not Stream_Play.

I use Windows 2000
Sb Live 5.1
Delphi 6.0

P.S. Sorry for my english.
[/quote:a7qww3w5]
Try using a variable that isn’t called “pointer” (name it “song” or something).That is probably the cause of the crash.

<font size=-1>[ This Message was edited by: Gil on 2002-04-06 01:03 ]</font>

  • You must to post comments
0
0

I use normal name for variable (only here I wrote this). I don’t know why this no working.

  • You must to post comments
0
0

[quote:gkbo32sq]
On 2002-04-07 10:59, space wrote:
I use normal name for variable (only here I wrote this). I don’t know why this no working.

[/quote:gkbo32sq]

Oh…

Sorry 😀 !

Post the real code (copy/ paste it) here

  • You must to post comments
Showing 3 results
Your Answer

Please first to submit.