C# Class MumbleSharp.Audio.AudioEncodingBuffer

Afficher le fichier Open project: martindevans/MumbleSharp Class Usage Examples

Méthodes publiques

Méthode 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

Méthode Description
TryAddToEncodingBuffer ( TargettedSpeech t, bool &stopped ) : bool

Method Details

Add() public méthode

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
Résultat void

Encode() public méthode

public Encode ( SpeechCodecs codec ) : byte[]
codec SpeechCodecs
Résultat byte[]

Stop() public méthode

public Stop ( ) : void
Résultat void