Ticket #1503 (assigned enhancement)

Opened 13 months ago

Last modified 6 months ago

MediaPlayer doesn't remember previous volume setting

Reported by: scottmc Owned by: leavengood
Priority: normal Milestone: R1
Component: Applications/MediaPlayer Version: R1 development
Cc: Blocked By:
Platform: All Blocking:

Description

I opened a wav file copied from a CD, and MediaPlayer opened up with the volume set to about 50%, this was very loud on my laptop so I reduced it to about 10%. I closed it and then opened a different wav file and it was at 50% again. I was going to reboot into BeOS to check how it was there but having issues getting BeOS to boot at the moment so couldn't check it. This might be app related or media prefs related, i'm not sure which keeps track of previous volume settings or if that's even an option, but it "should" be if it's not. I'm marking it as an enhancement for now.

Change History

Changed 6 months ago by leavengood

  • owner changed from marcusoverhagen to leavengood
  • status changed from new to assigned

You are right that MediaPlayer does not save the volume setting.

Since there can be multiple MediaPlayer windows I think we need a per file volume setting, which I figure could be stored as an attribute of the files in question. So I did some research and indeed the R5 media player stores the volume setting (and quite a few other settings) as attributes of the media file:

Int-32 4 be:mediaPlayer_miniMode

0x52454354 16 be:mediaPlayer_frame

Float 4 be:mediaPlayer_volume

Int-64 8 be:mediaPlayer_inpoint Int-64 8 be:mediaPlayer_outpoint

Bool 1 be:mediaPlayer_dropFrames

So I think we need to do something similar.

Note: See TracTickets for help on using tickets.