Snapshot
Overview
This status bar applet simply controls the volume of the primary sound element. The pse is determined by libvolumecontrol as it scans the available track names for keywords like "master" and "Speaker". If it doesn't find any matching tracks it simply assumes the pse is the first playback track with both volume and mute capability.
Files Needed
- /usr/lib/hildon-status-bar/libvolume.so
- The applet library
- /usr/share/applications/hildon-status-bar/hildon-status-bar-volume.desktop
- The configuration file which tells mobile-basic-flash to load this applet and add it to the marquee
- /usr/lib/moblin-applets/libvolumecontrol.so
- The ALSA volume library which controls the sound volume
- /usr/share/icons/hildon/48x48/status/moblin-volumelevel0.png
- The button image to show when the volume is at zero
- /usr/share/icons/hildon/48x48/status/moblin-volumelevel1.png
- The button image to show when the volume is at 25%
- /usr/share/icons/hildon/48x48/status/moblin-volumelevel2.png
- The button image to show when the volume is at 50%
- /usr/share/icons/hildon/48x48/status/moblin-volumelevel3.png
- The button image to show when the volume is at 75%
- /usr/share/icons/hildon/48x48/status/moblin-volumelevel4.png
- The button image to show when the volume is at 100%
- /usr/share/icons/hildon/48x48/status/moblin-volumemute.png
- The button image to show when the volume is muted
Applet Design
Code Reuse
This applet is based on the volume applet from Gnome Media.- Gnome Media 2.18.0-0ubuntu1
- Download at: http://packages.ubuntu.com/feisty/gnome-media
