You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
#ifndef KVOLUMECONTROL_H
|
|
|
|
#define KVOLUMECONTROL_H
|
|
|
|
|
|
|
|
#include <arts/kplayobject.h>
|
|
|
|
#include <arts/artsflow.h>
|
|
|
|
#include <kdebug.h>
|
|
|
|
#include <tqobject.h>
|
|
|
|
|
|
|
|
class KVolumeControl : public QObject
|
|
|
|
{
|
|
|
|
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
|