summaryrefslogtreecommitdiffstats
path: root/noatun-plugins/tyler/tyler.h
blob: d6f540f47067bba6b97d74d47291f39802f12ae7 (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
30
31
32
33
34
35
// Copyright (C) 2001 Charles Samuels <charles@kde.org>
// Copyright (C) 2001 Neil Stevens <neil@qualityassistant.com>

#ifndef TYLER_H
#define TYLER_H

#include <noatun/conversion.h>
#include <noatun/plugin.h>
#include <kprocess.h>
#include <tqwidget.h>

class Tyler : public TQObject, public StereoScope, public Plugin
{
Q_OBJECT
  TQ_OBJECT

public:
	Tyler();
	virtual ~Tyler();

	void init();

private slots:
	void processExited(KProcess *);

protected:
	virtual void scopeEvent(float *left, float *right, int bands);

private:
	char *mBuffer;
	static const int bufferSize;
	KProcess process;
};

#endif