TMRecordDataListener.h
Go to the documentation of this file.
1 /*
2  * Alibaba Group Holding Limited.
3  * Copyright (C) 2015 Alibaba Group Holding Limited.
4  * ALL RIGHTS RESERVED.
5  */
6 
14 #ifndef TMRECORDDATALISTENER_H
15 #define TMRECORDDATALISTENER_H
16 
17 #include "CommonUtils.h"
18 
19 
53 public:
59  virtual void onDataLoopStarted(int recordSampleRate, int recordChannels, int recordFormat,
60  int playSampleRate, int playChannels, int playFormat) = 0;
61 
66  virtual void onDataLoopPaused() = 0;
67 
72  virtual void onRecordDataReady(const char *buf, unsigned int bufsz) = 0;
73 };
74 
75 #endif
virtual void onDataLoopPaused()=0
Definition: TMRecordDataListener.h:52
virtual void onRecordDataReady(const char *buf, unsigned int bufsz)=0
virtual void onDataLoopStarted(int recordSampleRate, int recordChannels, int recordFormat, int playSampleRate, int playChannels, int playFormat)=0