xref: /haiku/src/apps/cortex/addons/audioOps/AudioAdapterOp.h (revision d3d8b26997fac34a84981e6d2b649521de2cc45a)
1 // AudioAdapterOp.h
2 // * PURPOSE
3 //   An IAudioOp/IAudioOpFactory implementation providing
4 //   simple raw-audio format conversion.
5 //
6 // * HISTORY
7 //   e.moon			8sep99		Begun
8 
9 #ifndef __AudioAdapterOp_H__
10 #define __AudioAdapterOp_H__
11 
12 #include "IAudioOpFactory.h"
13 
14 class AudioAdapterOpFactory :
15 	public	IAudioOpFactory {
16 public:											// *** INTERFACE
17 	// The basic create method.
18 	// Return 0 if no algorithm could be found for the given format.
19 
20 	IAudioOp* createOp(
21 		IAudioOpHost*										host,
22 		const media_raw_audio_format&		inputFormat,
23 		const media_raw_audio_format&		outputFormat); //nyi
24 
25 	IParameterSet* createParameterSet(); //nyi
26 };
27 
28 #endif /*__AudioAdapterOp_H__*/