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

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

	void init();

private slots:
	void processExited(TDEProcess *);

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

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

#endif