[haiku-bugs] Re: [Haiku] #1503: MediaPlayer doesn't remember previous volume setting

  • From: "engleek" <trac@xxxxxxxxxxxx>
  • Date: Sun, 04 Apr 2010 12:59:39 -0000

#1503: MediaPlayer doesn't remember previous volume setting
--------------------------------------+-------------------------------------
 Reporter:  scottmc                   |       Owner:  leavengood   
     Type:  enhancement               |      Status:  in-progress  
 Priority:  normal                    |   Milestone:  R1           
Component:  Applications/MediaPlayer  |     Version:  R1/pre-alpha1
 Keywords:                            |   Blockedby:               
 Platform:  All                       |    Blocking:               
--------------------------------------+-------------------------------------
Changes (by engleek):

 * cc: redeye4@… (added)


Comment:

 After a bit of reading through the Media Kit section in the Be Book, I
 reckon that:
  * PlaylistItem could be changed to add volume as an available attribute.
  * Controler could be changed to check PlaylistItem for stored volume when
 FileChanged is called, and store volume when FileFinished is called.

 This is only a first idea, I wonder if this is the most elegant solution.

 I worry about the fact that the volume is a float value, but that
 PlaylistItem stores numbers only as int64, and that a PlaylistItem isn't
 necessarily a file.

-- 
Ticket URL: <http://dev.haiku-os.org/ticket/1503#comment:2>
Haiku <http://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: