[haiku] Re: Open sourcing SoundPlay?

  • From: Stephan Aßmus <superstippi@xxxxxx>
  • To: haiku@xxxxxxxxxxxxx
  • Date: Fri, 21 Sep 2012 10:13:47 +0200

Hi Siarzhuk,

Am 21.09.2012 09:19, schrieb Siarzhuk Zharski:
Audio playback possibility is a useful feature for the Video player, but
video playback support is usually overkill for the Audio player.
Listening is mainly background process - and it is critical to free as
much resources for foreground applications as possible.

MediaPlayer does adopt it's resources to the current usage scenario. It could always have an unused video node setup running, but I did implement it to only setup what it needs.

As you point out yourself, a video player shares functionality with an audio player. So when you have two separate tools, by your own definition, you waste resources because of redundant functionality implemented in both applications. It's wasted on your harddrive and it most certainly is as soon as you pause the audio player to watch a video in the other, separate video tool...

It would be awesome if Haiku came with a fully featured media player
similar to window
mediaplayer 8 or 9.

We can eat soup, pasta and ice-cream with the same big spoon, but most
of us prefer to have knife, fork and dessert spoon at the hand to enjoy
the launch.

The physical big spoon is unable to adopt itself to your needs. A piece of software doesn't need to have this restriction. MediaPlayer is capable of adopting itself to the way you use it, and it already does. It scales from a small window used for audio playback, in fact very similar to SoundPlay's interface, to full screen video playback, even doubling the controls in size to accomodate the likely viewing distance. It even behaves differently in terms of storing settings depending on what you used it for.

What MediaPlayer lacks is not the ability to down-scale to the audio player's needs, but it lacks streaming capabilities to listen to Internet radio, and it doesn't offer much in terms of managing the media library. And the streaming features would best be added into the MediaKit. It's a waste of developer resources to implement this in a separate application. That's what I was talking about.

Best regards,
-Stephan



Other related posts: