Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » DSDP - Mobile Tools for Java (MTJ) » Multimedia volume control
Multimedia volume control [message #580908] Tue, 15 June 2010 08:01
Eclipse UserFriend
Originally posted by: news.s237965939.online.de

In my application I use Midi playback. This is part of the code:

player = Manager.createPlayer(is, "audio/midi");
if (player != null)
{
player.realize();
VolumeControl vc =
(VolumeControl) player.getControl("VolumeControl");
if (vc != null)
vc.setLevel(volume);
}

But that seems to only control the midi player volume, not the master
volume of the device. How can that be done?

TIA,
Hans
Previous Topic:Could not get Device instance ID!
Next Topic:Multimedia volume control
Goto Forum:
  


Current Time: Tue Nov 25 01:50:14 GMT 2014

Powered by FUDForum. Page generated in 0.02210 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software