summaryrefslogtreecommitdiffstats
path: root/kolf/kvolumecontrol.h
blob: 45102bb0959ea4d431695056d80b933a1d9a1f31 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
#ifndef KVOLUMECONTROL_H
#define KVOLUMECONTROL_H

#include <arts/kplayobject.h>
#include <arts/artsflow.h>
#include <kdebug.h>
#include <tqobject.h>

class KVolumeControl : public TQObject
{
Q_OBJECT
  

public:
	KVolumeControl(Arts::SoundServerV2 server, KPlayObject *parent);
	KVolumeControl(double vol, Arts::SoundServerV2 server, KPlayObject *parent);
	~KVolumeControl();

	void setVolume(double);
	double volume(void);

	void init(Arts::SoundServerV2 server);

private:
	Arts::StereoVolumeControl volumeControl;
	Arts::Synth_AMAN_PLAY manager;
};

#endif