summaryrefslogtreecommitdiffstats
path: root/noatun-plugins/tyler/tyler.h
blob: e919316d3ef05631d1905e8667552cd72a9361c5 (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
// 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

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