Ticket #9403 (closed Bug Report: fixed)
Opened 2 years ago
Last modified 22 months ago
Mythmusic doesn't properly handle failure to open audio device
|Reported by:||jyavenard||Owned by:||paulh|
|Component:||Plugin - MythMusic||Version:||Unspecified|
mythmusic should handle properly when the audio device failed to be opened.
Right now it just assumes that everything is always good.
the comment: TODO: Error checking that device is opened correctly! (it has been there for almost 4 years :) )
This causes several issues later on from segfault to floating point exception (such as requesting timecode when the samplerate is == 0).
When OpenAudio? returns an error, no member of the class should ever be called.
I have put some handling to prevent some of the issues, but those are fixes for a situation that should never have occurred anyway.
comment:1 Changed 2 years ago by paulh
- Owner changed from paulh to jyavenard
- Status changed from new to assigned
comment:2 Changed 2 years ago by jyavenard
- Owner changed from jyavenard to paulh
comment:3 Changed 22 months ago by Github
- Status changed from assigned to closed
- Resolution set to fixed
- Milestone changed from unknown to 0.25