History log of /haiku/src/bin/desklink/MediaReplicant.cpp
Revision Date Author Comments
# 1e174254 08-Mar-2022 Humdinger <humdingerb@gmail.com>

Media replicant: fix menu label "Sounds preferences"

Change-Id: I561393f3d8663e650a27380eb45bcf4412af87a9
Reviewed-on: https://review.haiku-os.org/c/haiku/+/5076
Reviewed-by: Jérôme Duval <jerome.duval@gmail.com>


# 3fded0b5 14-Feb-2020 Jérôme Duval <jerome.duval@gmail.com>

desklink: watch media_server quit event to disconnect itself.

StartWatching() must be called for each notification type.

Change-Id: I34957af526a0af557a86eef0c3de5722f3503ca5
Reviewed-on: https://review.haiku-os.org/c/haiku/+/2244
Reviewed-by: Adrien Destugues <pulkomandy@gmail.com>


# e79dc1ff 10-Feb-2020 Jérôme Duval <jerome.duval@gmail.com>

desklink: recycle MixerControl and correctly release media nodes.

Change-Id: Id00a7fdb3bfd995bf6891bac85d21931f527606c
Reviewed-on: https://review.haiku-os.org/c/haiku/+/2237
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
Reviewed-by: Stephan Aßmus <superstippi@gmx.de>


# e980073d 18-Nov-2018 Niels Sascha Reedijk <niels.reedijk@gmail.com>

Clarify desklink translatable

Change-Id: Ia36e44ae4c6fec37694712dd1388cd1abb867f31
Reviewed-on: https://review.haiku-os.org/712
Reviewed-by: waddlesplash <waddlesplash@gmail.com>


# efafab64 02-Nov-2018 Axel Dörfler <axeld@pinc-software.de>

Deskbar: Resizable tray

* Adds max width and height arguments to
instantiate_deskbar_(item|entry).
* Old applications just stay with a 16x16 scaled icon, though.
* All used apps within the repository are converted to the new call
besides the input_server input method icon (that will need further
API changes in the input_server).

Change-Id: I29cc439396917be2c24135888459d31364997dff
Reviewed-on: https://review.haiku-os.org/656
Reviewed-by: waddlesplash <waddlesplash@gmail.com>


# 49135c95 02-Nov-2018 Axel Dörfler <axeld@pinc-software.de>

desklink: Replaced muted speaker icon with stippi's version

* Replaced the muted speaker icon with a new one, thanks Stephan!
* Moved speaker icons into resources.


# 9f4c8d3b 16-Jan-2017 Jessica Hamilton <jessica.l.hamilton@gmail.com>

desklink: set the status of fMuted in _ConnectMixer().

* This fixes the volume icon not showing as muted, despite
media preflet saying otherwise.


# 79b9bd9f 15-Jan-2017 Jessica Hamilton <jessica.l.hamilton@gmail.com>

desklink: use media_server notifications instead of polling.

* This removes Pulse(), which would constantly reconnect to
the mixer. With the previous changes to the
DefaultMediaTheme, this also makes changes to the muted
state instaneous when modified by some other app.


# f0650dc9 09-Dec-2015 looncraz <looncraz@looncraz.net>

preferences: Convert to using Set*UIColor.

Signed-off-by: Augustin Cavalier <waddlesplash@gmail.com>
Patches 0023-0037 from looncraz, unmodified.


# eb8e4edc 05-Dec-2013 Puck Meerburg <puck@puckipedia.nl>

MediaReplicant: Middle button mute/unmute support

* Add mute/unmute support by clicking middle mouse button
on media replicant;
* Fixes #7468.

- GCI 2013


# aed35104 05-Aug-2012 Humdinger <humdingerb@gmail.com>

Close alerts with ESCAPE key.

Added SetFlags(B_CLOSE_ON_ESCAPE) or SetShortcut(index, B_ESCAPE) to BAlerts
depending if the result gets used later in the code, or if it's a one-button
BAlert.


# 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.


# 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


# 1c47e8e4 13-May-2010 Stephan Aßmus <superstippi@gmx.de>

Fixed typo. Closes ticket #5986, thanks!


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


# 559e4ec5 13-May-2010 Stephan Aßmus <superstippi@gmx.de>

Small coding style cleanup.


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


# 5fc7ecc0 03-Mar-2010 Stephan Aßmus <superstippi@gmx.de>

BView::Draw() is a no-op.


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


# 9563f44b 13-Jan-2010 Stephan Aßmus <superstippi@gmx.de>

Patch by Humdinger:
Changed strings to sentence case in various places. This is the
case-misc.diff part of ticket #5169.


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


# 00daddc7 10-Aug-2009 Axel Dörfler <axeld@pinc-software.de>

* Forgot to set which volume should be shown.


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


# a0922d37 10-Aug-2009 Axel Dörfler <axeld@pinc-software.de>

* Added a volume tool tip to Deskbar's volume replicant, thus closing ticket
#3118.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32250 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


# 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


# eb8e4edca5f59b409c8a0f22cde9e7efd99348af 05-Dec-2013 Puck Meerburg <puck@puckipedia.nl>

MediaReplicant: Middle button mute/unmute support

* Add mute/unmute support by clicking middle mouse button
on media replicant;
* Fixes #7468.

- GCI 2013


# aed35104852941f0f6f3d1dcc5338b5f337d0a3c 05-Aug-2012 Humdinger <humdingerb@gmail.com>

Close alerts with ESCAPE key.

Added SetFlags(B_CLOSE_ON_ESCAPE) or SetShortcut(index, B_ESCAPE) to BAlerts
depending if the result gets used later in the code, or if it's a one-button
BAlert.


# 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.


# 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


# 1c47e8e40c240fc11bfd52a582f967de7d56f865 13-May-2010 Stephan Aßmus <superstippi@gmx.de>

Fixed typo. Closes ticket #5986, thanks!


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


# 559e4ec5f3be4abd36aaa6942a0e2a81eda42278 13-May-2010 Stephan Aßmus <superstippi@gmx.de>

Small coding style cleanup.


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


# 5fc7ecc0d8bbac6e619e9118011e3bc22c0c8e72 03-Mar-2010 Stephan Aßmus <superstippi@gmx.de>

BView::Draw() is a no-op.


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


# 9563f44bfd75799f67201067483694e82b5779b9 13-Jan-2010 Stephan Aßmus <superstippi@gmx.de>

Patch by Humdinger:
Changed strings to sentence case in various places. This is the
case-misc.diff part of ticket #5169.


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


# 00daddc745cd2a993889d8550b9c3e89c087e358 10-Aug-2009 Axel Dörfler <axeld@pinc-software.de>

* Forgot to set which volume should be shown.


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


# a0922d371835240594d4bf93cdd4ee0b977dd8dd 10-Aug-2009 Axel Dörfler <axeld@pinc-software.de>

* Added a volume tool tip to Deskbar's volume replicant, thus closing ticket
#3118.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32250 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


# 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