[mythtv] [mythtv-commits] Ticket #4222: Update MythMusic to continue playing in the background after exiting it.

Peter Schachte schachte at csse.unimelb.edu.au
Mon Dec 3 03:16:14 UTC 2007


Paul Harrison wrote:
> Stuart Morgan wrote:
>> On Sunday 02 December 2007 15:06:30 Paul Harrison wrote:
>> Any thoughts on restoring the music volume to the level it was at before video 
>> playback started? I'm probably not the only one who finds that the base level 
>> for my music is a lot higher than my recordings,
>>
>> Another approach would be to offer the option to adjust the relative volumes 
>> for music and TV. A year ago I wrote a patch to do exactly that, but as I 
>> didn't get it working exactly as I wanted, it was never committed.
> 
> How about both the music player and tv player both save the volume in
> the settings table on exit and restore there respective volume levels
> when playback starts?

Volume control does not do anything for many people with digital sound output
(myself included), so just saving and restoring volume controls won't work
for everyone.  I'm not sure I understand Stuart's suggestion correctly, but
if it would work by scaling the sound amplitude values being sent to the
sound card (by different configurable values depending on whether from
MythMusic or Myth proper), rather than by adjusting the card's PCM or master
volume controls, it sounds like it would work for more (all?) Myth users
(though at a slight performance cost).

-- 
Peter Schachte              Q: How many Microsoft programmers does it take
schachte at cs.mu.OZ.AU        to change a light globe? A: None. They declare
www.cs.mu.oz.au/~schachte/  darkness to be an industry standard.
Phone: +61 3 8344 1338


More information about the mythtv-dev mailing list