Пример #1
0
 public Voice(VoiceAudioType _type, int _channels, int _sampleRate, int _bitDepth)
 {
     this.type  = type;
     sampleRate = _sampleRate;
     channels   = _channels;
     bitDepth   = _bitDepth;
 }
Пример #2
0
 public Voice(VoiceAudioType _type = VoiceAudioType.Unknown)
 {
     type       = _type;
     sampleRate = 16000;
     channels   = 1;
     bitDepth   = 16;
 }