Méthode | Description | |
---|---|---|
Dispose ( ) : void |
Implement the Dispose method to release the resources
|
|
WaveMediaStreamSource ( Stream stream ) : System |
Initializes a new instance of the WaveMediaStreamSource class.
|
Méthode | Description | |
---|---|---|
CloseMedia ( ) : void |
Close the media. Release the resources.
|
|
Dispose ( bool disposing ) : void |
Implementation of the IDisposable pattern
|
|
GetDiagnosticAsync ( MediaStreamSourceDiagnosticKind diagnosticKind ) : void |
Not implemented
|
|
GetSampleAsync ( MediaStreamType mediaStreamType ) : void |
Return the next sample requested
|
|
OpenMediaAsync ( ) : void |
Open the media. Create the structures.
|
|
SeekAsync ( long seekToTime ) : void |
Called when asked to seek to a new position
|
|
SwitchMediaStreamAsync ( System.Windows.Media.MediaStreamDescription mediaStreamDescription ) : void |
Stream media stream. Not implemented
|
Méthode | Description | |
---|---|---|
AlignUp ( int a, int b ) : int |
Helper function to align a block
|
protected Dispose ( bool disposing ) : void | ||
disposing | bool | Are we being destroyed |
Résultat | void |
protected GetDiagnosticAsync ( MediaStreamSourceDiagnosticKind diagnosticKind ) : void | ||
diagnosticKind | MediaStreamSourceDiagnosticKind | The diagnostic kind |
Résultat | void |
protected GetSampleAsync ( MediaStreamType mediaStreamType ) : void | ||
mediaStreamType | MediaStreamType | The stream type that we are getting a sample for |
Résultat | void |
protected SeekAsync ( long seekToTime ) : void | ||
seekToTime | long | the time to seek to |
Résultat | void |
protected SwitchMediaStreamAsync ( System.Windows.Media.MediaStreamDescription mediaStreamDescription ) : void | ||
mediaStreamDescription | System.Windows.Media.MediaStreamDescription | The mediaStreamDescription that we want to switch to |
Résultat | void |
public WaveMediaStreamSource ( Stream stream ) : System | ||
stream | Stream | The stream the will contain the data to playback |
Résultat | System |