Opened 10 years ago

Closed 10 years ago

Last modified 10 years ago

#4515 closed bug (fixed)

Volume of sound card is not remembered

Reported by: PieterPanman Owned by: marcusoverhagen
Priority: normal Milestone: R1
Component: Kits/Media Kit Version: R1/Development
Keywords: Cc:
Blocked By: Blocking:
Has a Patch: no Platform: All

Description

hrev33137 : The volume of my HD audio is set at 0db by default (not the master volume, but the sound card volume). So I set it lower, not to blow my ears out, as happened the first time. After a reboot, unfortunately this is forgotten, and this is rather shocking if you put your headphones on and play another song with the slider back to 0db... It would be nice if this was remembered across reboots. See lspci here: http://dev.haiku-os.org/attachment/ticket/4511/lspci.txt

Change History (6)

comment:1 by korli, 10 years ago

I checked and it seems MultiAudioNode::~MultiAudioNode() isn't called, thus not saving the configuration.

Maybe someone can point me at why BMediaNode::~BMediaNode() is called when quitting media_server/media_addon_server but not MultiAudioNode::~MultiAudioNode() ?

comment:2 by korli, 10 years ago

Type: enhancementbug

comment:3 by stippi, 10 years ago

Maybe it's a problem that the physical output is excluded from ref-counting? And then later it forgets to delete it when it quits itself.

comment:4 by korli, 10 years ago

It seems I was fooled with the TimeSourceObject whose name is the same as the MultiAudioNode. At least things are clearer now.

comment:5 by korli, 10 years ago

Resolution: fixed
Status: newclosed

Should be fixed in hrev35121. We release instantiated and autostarted nodes in the media_addon server.

comment:6 by PieterPanman, 10 years ago

Confirmed fixed for me. Thanks!

Note: See TracTickets for help on using tickets.