|
-
July 15th, 2001, 08:06 AM
#1
Stoping the current playing audio track
As written in Win32 Multimedia Programmer Reference, MCI Command String "stop" (for CD audio devices), stops playback and resets the current track position to zero. But it's not working.
On stop command button, I have put the following code
private Function Commmand1_OnClick()
'stop playback
mciSendString "stop cd", 0, 0, 0
End Function
But the above code just pause the playback and if I click play button, the track begins playback from where it was stopped. I mean there is on difference between pausing and stopping playback. If this is the case then what is written in MM reference is wrong. The MCI Command "stop" doesn't resets the current track position to zero. There has to be something wrong the code. Any help will be appreciated.
Thanks,
Simon
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|