Property | Type | Description | |
---|---|---|---|
outputQueue | OutputAudioQueue |
Property | Type | Description | |
---|---|---|---|
AudioPacketDecoded | void | ||
AudioPropertyFound | void | ||
BeginPlayingAsync | Task | ||
CheckStatus | void | ||
EmitFinishedEvent | void | ||
EnqueueBuffer | void | ||
GetOrCreateAudioBuffer | |||
HandleBufferCompleted | void | ||
NeedsBuffer | Task |
||
ReportProgressAsync | Task | ||
Reset | void | ||
TryPause | void | ||
TryResume | void | ||
WaitForFinished | Task | ||
WaitForOutputReady | Task |
Method | Description | |
---|---|---|
Dispose ( ) : void | ||
PlayAsync ( Stream stream, IProgress |
Begins playing the audio stroed in the supplied stream
|
|
StreamingPlayer ( ) : System |
Method | Description | |
---|---|---|
Dispose ( bool disposing ) : void |
Cleaning up all the native Resource
|
Method | Description | |
---|---|---|
AudioPacketDecoded ( object sender, PacketReceivedEventArgs args ) : void |
Saving the decoded Packets to our active Buffer, if the Buffer is full queue it into the OutputQueue and wait until another buffer gets freed up
|
|
AudioPropertyFound ( object sender, PropertyFoundEventArgs args ) : void |
When a AudioProperty in the fed packets is found this callback is called
|
|
BeginPlayingAsync ( Stream stream, IProgress |
||
CheckStatus ( AudioFileStreamStatus status ) : void | ||
EmitFinishedEvent ( AudioQueueProperty property ) : void | ||
EnqueueBuffer ( ) : void |
Enqueue the active buffer to the OutputQueue
|
|
GetOrCreateAudioBuffer ( ) : |
||
HandleBufferCompleted ( object sender, BufferCompletedEventArgs e ) : void |
Is called when a buffer is completly read and can be queued for re-use
|
|
NeedsBuffer ( |
||
ReportProgressAsync ( IProgress |
||
Reset ( ) : void | ||
TryPause ( ) : void | ||
TryResume ( ) : void | ||
WaitForFinished ( CancellationToken token ) : Task | ||
WaitForOutputReady ( CancellationToken token ) : Task |
public PlayAsync ( Stream stream, IProgress |
||
stream | Stream | Stream. |
monitor | IProgress |
|
token | Token. | |
return | Task |