Ok, so I have this weird problem, where I load an audio file into a
mediacontrol with an unspecified backend.(i call it like this:
@mediacontrol = Wx::MediaControl.new(self)) I wanted the audio to play
after the audio is loaded. I.e user pressed load, and after it loads, it
plays. However, it loads, but doesn’t play.
Sometimes when you push the play button it will work, but some audio
files (which open fine in Windows media player) wont open.
The really weird thing is this code makes it play:
if not @mediacontrol.play
text = Wx::TextEntryDialog.new(self, “input string”,“Please enter
Can anyone help me understand why this is? I don’t want to have to open
up a dialog every time I play an audio file.