Method Play
Play(byte[], CancellationToken)
Declaration
Task Play(byte[] waveData, CancellationToken cancellationToken = default)
Parameters
Type | Name | Description |
---|---|---|
byte[] | waveData | |
CancellationToken | cancellationToken |
Returns
Type | Description |
---|---|
Task |
Play(byte[], float, CancellationToken)
Declaration
Task Play(byte[] waveData, float volume, CancellationToken cancellationToken = default)
Parameters
Type | Name | Description |
---|---|---|
byte[] | waveData | |
float | volume | |
CancellationToken | cancellationToken |
Returns
Type | Description |
---|---|
Task |
Play(AudioPlayerRequest, CancellationToken)
Declaration
Task Play(AudioPlayerRequest request, CancellationToken cancellationToken = default)
Parameters
Type | Name | Description |
---|---|---|
AudioPlayerRequest | request | |
CancellationToken | cancellationToken |
Returns
Type | Description |
---|---|
Task |