Method | Description | |
---|---|---|
BeginFadeIn ( double fadeDurationInMilliseconds ) : void |
Requests that a fade-in begins (will start on the next call to Read)
|
|
BeginFadeOut ( double fadeDurationInMilliseconds ) : void |
Requests that a fade-out begins (will start on the next call to Read)
|
|
FadeInOutSampleProviderAdapted ( |
Creates a new FadeInOutSampleProvider
|
|
Read ( float buffer, int offset, int count ) : int |
Reads samples from this sample provider
|
|
isLooping ( ) : bool |
Returns whether the current song is looping (true by default)
|
|
setLooping ( bool looping ) : void |
Sets whether the current song should loop or not (true by default)
|
Method | Description | |
---|---|---|
ClearBuffer ( float buffer, int offset, int count ) : void | ||
FadeIn ( float buffer, int offset, int sourceSamplesRead ) : void | ||
FadeOut ( float buffer, int offset, int sourceSamplesRead ) : void |
public BeginFadeIn ( double fadeDurationInMilliseconds ) : void | ||
fadeDurationInMilliseconds | double | Duration of fade in milliseconds |
return | void |
public BeginFadeOut ( double fadeDurationInMilliseconds ) : void | ||
fadeDurationInMilliseconds | double | Duration of fade in milliseconds |
return | void |
public FadeInOutSampleProviderAdapted ( |
||
source | The source stream with the audio to be faded in or out | |
initiallySilent | bool | If true, we start faded out |
return | System |
public Read ( float buffer, int offset, int count ) : int | ||
buffer | float | Buffer to read into |
offset | int | Offset within buffer to write to |
count | int | Number of samples desired |
return | int |