Mercurial > pygar
view modules/bluespec/Pygar/common/AudioProcessorRRR.h @ 17:9d1f38722f5b pygar svn.18
[svn r18] changed config file to not use mit-6.375 anymore
author | rlm |
---|---|
date | Tue, 27 Apr 2010 22:55:55 -0400 |
parents | 74716e9a81cc |
children |
line wrap: on
line source
2 #ifndef _AUDIOPROCESSORRRR_3 #define _AUDIOPROCESSORRRR_5 #include <stdio.h>6 #include <sys/time.h>8 #include "asim/provides/low_level_platform_interface.h"10 #include "asim/provides/rrr.h"14 typedef class AUDIOPROCESSORRRR_SERVER_CLASS* AUDIOPROCESSORRRR_SERVER;15 class AUDIOPROCESSORRRR_SERVER_CLASS: public RRR_SERVER_CLASS, public PLATFORMS_MODULE_CLASS16 {17 private:18 // self-instantiation19 static AUDIOPROCESSORRRR_SERVER_CLASS instance;20 FILE *outputFile;22 // server stub23 RRR_SERVER_STUB serverStub;25 int count;27 public:28 AUDIOPROCESSORRRR_SERVER_CLASS();29 ~AUDIOPROCESSORRRR_SERVER_CLASS();31 // static methods32 static AUDIOPROCESSORRRR_SERVER GetInstance() { return &instance; }34 // required RRR methods35 void Init(PLATFORMS_MODULE);36 void Uninit();37 void Cleanup();39 //40 // RRR service methods41 //42 void SendProcessedStream(UINT16 control, UINT16 data0);43 };47 // include server stub48 #include "asim/rrr/server_stub_AUDIOPROCESSORRRR.h"50 #endif