Skip to content

Pause and stop issues #9

@dpinzon30

Description

@dpinzon30

Hey,

Not sure if I'm doing something right, but I can't get the pause and stop functions to work properly

I'm writing:

def sendmsg(msg):
if msg == "0":
AudioPlayer("mixed.wav").play(block=True)
print("play")
elif msg == "111":
AudioPlayer("mixed.wav").stop()
print("stop")

(ignore the sendmsg function and the if else statements - part of the program I'm writing)

I'm able to get play working, but not stop and/or pause (have tried both) - had the code print messages so I know the rest of the program is working

Any clue what I may be doing wrong?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions