Interface IAudioPlayerSettings
Settings interface for configuring audio player properties.
Namespace: Serenity.AudioPlayer.Application.Interfaces
Assembly: Serenity.AudioPlayer.Application.dll
Syntax
public interface IAudioPlayerSettings : IFoundationSettings
Properties
AudioGameSettings
Declaration
IGameSettingsDefinition AudioGameSettings { get; }
Property Value
| Type | Description |
|---|---|
| IGameSettingsDefinition | Gets audio game settings. |
AudioMixerGroup
Declaration
object AudioMixerGroup { get; }
Property Value
| Type | Description |
|---|---|
| object | Gets the maximum number of simultaneous audio sources. |
Channels
Declaration
uint Channels { get; }
Property Value
| Type | Description |
|---|---|
| uint | Gets the number of audio channels. |
IgnoreIfAlreadyPlaying
Declaration
bool IgnoreIfAlreadyPlaying { get; }
Property Value
| Type | Description |
|---|---|
| bool | Gets whether a request to play a song that is already playing is ignored (the song keeps playing uninterrupted) instead of restarting it. Default false preserves the always-restart behavior. |
Type
Declaration
AudioPlayerType Type { get; }
Property Value
| Type | Description |
|---|---|
| AudioPlayerType | Gets the type of the audio player. |