History log of /haiku/src/bin/desklink/VolumeControl.cpp
Revision Date Author Comments
# 92ab0a8c 23-Jul-2015 Dario Casalinuovo <b.vitruvio@gmail.com>

VolumeControl: Add support for media services notifications


# edcc37c6 29-Mar-2015 Dario Casalinuovo <b.vitruvio@gmail.com>

ProcessController and VolumeControl: solve BMessage kind of memory leak.

Signed-off-by: Adrien Destugues <pulkomandy@gmail.com>


# 5c7707fc 05-Apr-2015 Michael Lotz <mmlr@mlotz.ch>

desklink: Use early return, no functional change.


# 77c35db9 05-Apr-2015 Michael Lotz <mmlr@mlotz.ch>

desklink: Whitespace cleanup only.


# 4626c49e 27-Mar-2014 Jonathan Schleifer <js@webkeks.org>

desklink: Fix %ld being used instead of B_PRId32

Also enables -Werror.


# 546208a5 16-Apr-2012 Oliver Tappe <zooey@hirschkaefer.de>

More catalog-related cleanup.

* rename B_TRANSLATE_CONTEXT to B_TRANSLATION_CONTEXT and
B_TRANSLATE_WITH_CONTEXT to B_TRANSLATE_CONTEXT, squashing a TODO
* adjust all uses of both macros in Haiku's source tree
* use correct header guard for collecting/Catalog.h

The renamed macros require adjustments to all external applications
using catalogs.


# 7ee685d2 22-Feb-2012 Philippe Saint-Pierre <stpere@gmail.com>

Desklink: Close the Volume Window after dropping the replicant

When dropping a replicant of the Volume Control, close the volume window.

Enhancement #7718.


# 9254b0c4 10-Jun-2011 Joachim Seemer <humdingerb@googlemail.com>

Applied localization patch by mt, removed About menu/window as we decided those are not needed with system software. Fixes #7656. Compiling, working cosmetics, I'd say +alpha.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42085 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 9157e52c 23-Sep-2010 Axel Dörfler <axeld@pinc-software.de>

* Improved VolumeControl snapping based on Stippi's snapping code.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38797 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 648b674d 15-Jul-2009 Axel Dörfler <axeld@pinc-software.de>

* Fixed volume change via mouse wheel over the replicant icon regression.
See #2323.
* Also fixed the mouse wheel not working once the volume value equaled -1.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31582 a95241bf-73f2-0310-859d-f6bbb57e9c96


# da30b4bf 30-Jun-2009 Axel Dörfler <axeld@pinc-software.de>

* With the help of Stippi's "I Will Survive" article, the VolumeControl
replicant should now handle media server restarts, or late starts gracefully.
* This fixed ticket #4002.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31322 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 2b665ac3 03-Jun-2009 Axel Dörfler <axeld@pinc-software.de>

* Simplified computation as suggested by Ingo.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30959 a95241bf-73f2-0310-859d-f6bbb57e9c96


# d69a73df 16-May-2009 Axel Dörfler <axeld@pinc-software.de>

* The Be API requires that options and mask is 0 to remove a mask using
BView::SetEventMask(). This fixes bug #3928.
* And while the app_server handled that correctly, BView actually did not, and
stored the wrong value.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30772 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 1f25254a 09-Apr-2009 Axel Dörfler <axeld@pinc-software.de>

* Fixed the non-working volume update when using the mouse wheel - only
the slider position was updated, not the actual volume.
* Use InvokeNotify() for wheel changes so that we correctly notify listeners.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30084 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 9cfc4c2f 09-Apr-2009 Axel Dörfler <axeld@pinc-software.de>

* The slider now snaps to 0 dB when crossing that to ease finding the maximum
volume without distortion.
* Added about window.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30073 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 4e0b8ffd 09-Apr-2009 Axel Dörfler <axeld@pinc-software.de>

* As Stephan pointed out, the roster will be NULL if the media server is not
running. Thanks! That's just another thing we should improve in R2.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30062 a95241bf-73f2-0310-859d-f6bbb57e9c96


# bc608ebf 09-Apr-2009 Axel Dörfler <axeld@pinc-software.de>

* The volume now listens to parameter changes, and adapts itself automatically.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30061 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 55891682 08-Apr-2009 François Revol <revol@free.fr>

Fix gcc4.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30034 a95241bf-73f2-0310-859d-f6bbb57e9c96


# ab987355 08-Apr-2009 Axel Dörfler <axeld@pinc-software.de>

* Restructured the sources a bit, renamed SliderView to VolumeControl,
VolumeSlider to VolumeWindow.
* The VolumeControl is now a replicant, and be be dragged to the Tracker.
* Hence, moved all volume control stuff from VolumeWindow into the
VolumeControl class directly.
* Changed menu a bit. Note that controlling the physical output currently
does not work, but that's a problem of the media node in question (probably
the multi audio add-on, I'll have a look).
* Added a small delay when clicking on the slider directly before the window
is hidden, so that you'll get some feedback of your action.
* Added --add-volume, and --volume-control options to "desklink", the former
adds the volume control icon to the deskbar, the latter opens the volume
control window directly.
* Further cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30031 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 92ab0a8c3a3f94681c84dd86a1259df27e5ba625 23-Jul-2015 Dario Casalinuovo <b.vitruvio@gmail.com>

VolumeControl: Add support for media services notifications


# edcc37c64af67db04d4bacc7cd3d7b93423e95a9 29-Mar-2015 Dario Casalinuovo <b.vitruvio@gmail.com>

ProcessController and VolumeControl: solve BMessage kind of memory leak.

Signed-off-by: Adrien Destugues <pulkomandy@gmail.com>


# 5c7707fc3450712f2465ad0d59d54066869387bb 05-Apr-2015 Michael Lotz <mmlr@mlotz.ch>

desklink: Use early return, no functional change.


# 77c35db9a9c877f78426cde33b0614ccbc6e2927 05-Apr-2015 Michael Lotz <mmlr@mlotz.ch>

desklink: Whitespace cleanup only.


# 4626c49e32af4a2a321090703506c8cf7440bf41 27-Mar-2014 Jonathan Schleifer <js@webkeks.org>

desklink: Fix %ld being used instead of B_PRId32

Also enables -Werror.


# 546208a53940a26c6379c48a7854ade1a8250fc5 16-Apr-2012 Oliver Tappe <zooey@hirschkaefer.de>

More catalog-related cleanup.

* rename B_TRANSLATE_CONTEXT to B_TRANSLATION_CONTEXT and
B_TRANSLATE_WITH_CONTEXT to B_TRANSLATE_CONTEXT, squashing a TODO
* adjust all uses of both macros in Haiku's source tree
* use correct header guard for collecting/Catalog.h

The renamed macros require adjustments to all external applications
using catalogs.


# 7ee685d20ce9a34a74f42afedede9dd95d6666ea 22-Feb-2012 Philippe Saint-Pierre <stpere@gmail.com>

Desklink: Close the Volume Window after dropping the replicant

When dropping a replicant of the Volume Control, close the volume window.

Enhancement #7718.


# 9254b0c4df832efd3352bc980acc33ca0fa0c1cf 10-Jun-2011 Joachim Seemer <humdingerb@googlemail.com>

Applied localization patch by mt, removed About menu/window as we decided those are not needed with system software. Fixes #7656. Compiling, working cosmetics, I'd say +alpha.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42085 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 9157e52c88f73dbf36ac564941303ac95256e654 23-Sep-2010 Axel Dörfler <axeld@pinc-software.de>

* Improved VolumeControl snapping based on Stippi's snapping code.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38797 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 648b674d3f65b4f281da71b516d5702f4c1ffc06 15-Jul-2009 Axel Dörfler <axeld@pinc-software.de>

* Fixed volume change via mouse wheel over the replicant icon regression.
See #2323.
* Also fixed the mouse wheel not working once the volume value equaled -1.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31582 a95241bf-73f2-0310-859d-f6bbb57e9c96


# da30b4bf83d8c142830ade0d8e45be548452f843 30-Jun-2009 Axel Dörfler <axeld@pinc-software.de>

* With the help of Stippi's "I Will Survive" article, the VolumeControl
replicant should now handle media server restarts, or late starts gracefully.
* This fixed ticket #4002.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31322 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 2b665ac362614c67c01cb90f555c746b05062091 03-Jun-2009 Axel Dörfler <axeld@pinc-software.de>

* Simplified computation as suggested by Ingo.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30959 a95241bf-73f2-0310-859d-f6bbb57e9c96


# d69a73dfc7ce6f8340ea7df1fe67986b01aa09ec 16-May-2009 Axel Dörfler <axeld@pinc-software.de>

* The Be API requires that options and mask is 0 to remove a mask using
BView::SetEventMask(). This fixes bug #3928.
* And while the app_server handled that correctly, BView actually did not, and
stored the wrong value.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30772 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 1f25254a3f029b24b3e722c0cca7e043f5c4a9ba 09-Apr-2009 Axel Dörfler <axeld@pinc-software.de>

* Fixed the non-working volume update when using the mouse wheel - only
the slider position was updated, not the actual volume.
* Use InvokeNotify() for wheel changes so that we correctly notify listeners.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30084 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 9cfc4c2ff8117e74b8965d407edb24252dae1aa7 09-Apr-2009 Axel Dörfler <axeld@pinc-software.de>

* The slider now snaps to 0 dB when crossing that to ease finding the maximum
volume without distortion.
* Added about window.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30073 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 4e0b8ffdd6a1133cfb8b4d90cbd7dab2f8d0b49e 09-Apr-2009 Axel Dörfler <axeld@pinc-software.de>

* As Stephan pointed out, the roster will be NULL if the media server is not
running. Thanks! That's just another thing we should improve in R2.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30062 a95241bf-73f2-0310-859d-f6bbb57e9c96


# bc608ebf9316dcd5baf73f1d907dde4abc611c72 09-Apr-2009 Axel Dörfler <axeld@pinc-software.de>

* The volume now listens to parameter changes, and adapts itself automatically.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30061 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 558916824dd584820bc2f9e0a494ddccd7832650 08-Apr-2009 François Revol <revol@free.fr>

Fix gcc4.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30034 a95241bf-73f2-0310-859d-f6bbb57e9c96


# ab9873555a6d8ba5ee85bb5e3163780cf44458a3 08-Apr-2009 Axel Dörfler <axeld@pinc-software.de>

* Restructured the sources a bit, renamed SliderView to VolumeControl,
VolumeSlider to VolumeWindow.
* The VolumeControl is now a replicant, and be be dragged to the Tracker.
* Hence, moved all volume control stuff from VolumeWindow into the
VolumeControl class directly.
* Changed menu a bit. Note that controlling the physical output currently
does not work, but that's a problem of the media node in question (probably
the multi audio add-on, I'll have a look).
* Added a small delay when clicking on the slider directly before the window
is hidden, so that you'll get some feedback of your action.
* Added --add-volume, and --volume-control options to "desklink", the former
adds the volume control icon to the deskbar, the latter opens the volume
control window directly.
* Further cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30031 a95241bf-73f2-0310-859d-f6bbb57e9c96