12345678910111213141516171819202122232425 |
- /*
- * telephone_audio_initializer.h
- *
- * Created on: 2022年6月27日
- * Author: pengzc
- */
- #ifndef TELEPHONE_AUDIO_INITIALIZER_H_
- #define TELEPHONE_AUDIO_INITIALIZER_H_
- #include <string>
- #include "voip/telephone.h"
- class TelephoneAudioInitializer {
- public:
- /**
- * 从配置文件中设置Telephone的音频参数
- * @param telephone
- * @param filename 配置文件路径
- * @return 0 success
- */
- static int Setup(voip::Telephone* telephone, const std::string& filename);
- };
- #endif /* TELEPHONE_AUDIO_INITIALIZER_H_ */
|