12345678910111213141516171819202122232425262728 |
- /*
- * wav_player.h
- *
- * Created on: 2022年1月11日
- * Author: pengzc
- */
- #ifndef JNI_VOIP_WAV_PLAYER_H_
- #define JNI_VOIP_WAV_PLAYER_H_
- #include <string>
- namespace voip {
- class WAVPlayer {
- public:
- WAVPlayer();
- int Play(const std::string& wav_file);
- void Stop();
- virtual ~WAVPlayer();
- private:
- int player_id_ = -1;
- };
- } /* namespace voip */
- #endif /* JNI_VOIP_WAV_PLAYER_H_ */
|