00001 #pragma once 00002 00003 class OGGSRecogniser 00004 { 00005 public: 00006 OGGSRecogniser(void); 00007 ~OGGSRecogniser(void); 00008 00009 enum eOggRecogState { 00010 STATE_START = 0, 00011 STATE_O, 00012 STATE_G1, 00013 STATE_G2 00014 00015 00016 }; 00017 00018 long feed(unsigned char* inBuff, unsigned long inNumBytes); 00019 void resetState(); 00020 00021 protected: 00022 eOggRecogState mState; 00023 00024 };