[mythtv] [patch] audio open failure dialogbox

Oscar Carlsson oscar.carlsson at home.se
Fri Feb 20 09:55:30 EST 2004


>> > This is a small patch to display a dialogbox if the audiooutput failes to
>> > initialize. It gives the user a choice to either return to the menu, or
>> > continue without sound. I've only done the required changes to the OSS
>> > part, but if it's okay, i'll do the other output classes as well.
>>
>> Hmm..  Almost ok =)
>>
>> It looks like you're going to be displaying the error box on some non-fatal
>> errors (the first 'error opening device' can be recovered from being in
>> that loop, and the GETCAPS ioctl failure).  Other than that, if you got rid
>> of the macro and made it a member function instead, I'd apply this.

KA> Here's a revised version. I also did the ALSA and ARTS this time around (I 
KA> refuse to touch the dx stuff, uh). I've also rearranged the dialog stuff in 
KA> NVP, so that it does not stall when returning to the menu. I was kinda crude
KA> to the ALSA file (rearranging it so it's readable), but I've tested all 
KA> three, and they work well. Hope you don't mind that :)

Hopefully this will reduce questions to the mailinglist by about 50%. Great :)



-- 
Best regards,
 Oscar                            mailto:oscar.carlsson at home.se



More information about the mythtv-dev mailing list