BeautifulPilgrim / MauiAudio

MIT License
23 stars 5 forks source link

Change Methods to Properties(Add new feature) #4

Closed BeautifulPilgrim closed 1 year ago

BeautifulPilgrim commented 1 year ago

Properties Idea From

Balance Gets or sets the balance left/right: -1 is 100% left : 0% right, 1 is 100% right : 0% left, 0 is equal volume left/right.

CanSeek Gets a value indicating whether the position of the loaded audio file can be updated.

Volume Gets or sets the playback volume 0 to 1 where 0 is no-sound and 1 is full volume.

Loop Gets or sets whether the player will continuously repeat the currently playing sound.

Original Method

Task SetMuted(bool value);

Task SetVolume(int value);

BeautifulPilgrim commented 1 year ago

5