C# Class MumbleSharp.Audio.AudioEncodingBuffer

Mostra file Open project: martindevans/MumbleSharp Class Usage Examples

Public Methods

Method Description
Add ( ArraySegment pcm, SpeechTarget target, uint targetId ) : void

Add some raw PCM data to the buffer to send

Encode ( SpeechCodecs codec ) : byte[]
Stop ( ) : void

Private Methods

Method Description
TryAddToEncodingBuffer ( TargettedSpeech t, bool &stopped ) : bool

Method Details

Add() public method

Add some raw PCM data to the buffer to send
public Add ( ArraySegment pcm, SpeechTarget target, uint targetId ) : void
pcm ArraySegment
target SpeechTarget
targetId uint
return void

Encode() public method

public Encode ( SpeechCodecs codec ) : byte[]
codec SpeechCodecs
return byte[]

Stop() public method

public Stop ( ) : void
return void