示例#1
0
文件: Voice.cs 项目: MatanRad/Matbot
 public Voice(VoiceAudioType _type, int _channels, int _sampleRate, int _bitDepth)
 {
     this.type  = type;
     sampleRate = _sampleRate;
     channels   = _channels;
     bitDepth   = _bitDepth;
 }
示例#2
0
文件: Voice.cs 项目: MatanRad/Matbot
 public Voice(VoiceAudioType _type = VoiceAudioType.Unknown)
 {
     type       = _type;
     sampleRate = 16000;
     channels   = 1;
     bitDepth   = 16;
 }