Skip to content

How to repeat play_sound or How to cancel a play #358

Answered by timsneath
mjafartp asked this question in Q&A
Discussion options

You must be logged in to vote

The Win32 documentation describes how to loop a sound (so it repeats) and to stop a playing sound here:
https://docs.microsoft.com/en-us/windows/win32/multimedia/using-playsound-to-loop-sounds

The two code samples should essentially work unchanged in Dart compared to the C++ examples.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by timsneath
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #356 on February 07, 2022 02:12.