-
Notifications
You must be signed in to change notification settings - Fork 49
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
180 changed files
with
4,904 additions
and
1,903 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
<?xml version="1.0"?> | ||
<package xmlns="http://schemas.microsoft.com/packaging/2013/05/nuspec.xsd"> | ||
<metadata> | ||
<id>AudioBand.AudioSource</id> | ||
<version>$version$</version> | ||
<title>$title$</title> | ||
<authors>Brandon Chong</authors> | ||
<owners>dsafa</owners> | ||
<license type="expression">MIT</license> | ||
<projectUrl>https://github.com/dsafa/audio-band</projectUrl> | ||
<requireLicenseAcceptance>false</requireLicenseAcceptance> | ||
<description>Library to develop audio sources for AudioBand</description> | ||
<copyright>Copyright 2019</copyright> | ||
</metadata> | ||
<files> | ||
<file src="content/readme.txt" target=""/> | ||
<file src="content/AudioSource.manifest" target="content"/> | ||
</files> | ||
</package> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
using System; | ||
using System.Threading.Tasks; | ||
|
||
namespace AudioBand.AudioSource | ||
{ | ||
/// <summary> | ||
/// Indicates that this audio source supports ratings on tracks. | ||
/// </summary> | ||
public interface ISupportsRatings | ||
{ | ||
/// <summary> | ||
/// Occurs when the the track's rating has changed. | ||
/// </summary> | ||
event EventHandler<TrackRating> TrackRatingChanged; | ||
|
||
/// <summary> | ||
/// Called when a new rating is being set. | ||
/// </summary> | ||
/// <param name="newRating">The new rating of the track</param> | ||
/// <returns>A <see cref="Task"/> representing the asynchronous set rating operation.</returns> | ||
Task SetTrackRatingAsync(TrackRating newRating); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
namespace AudioBand.AudioSource | ||
{ | ||
/// <summary> | ||
/// Specifies the repeat mode of the audio source. | ||
/// </summary> | ||
public enum RepeatMode | ||
{ | ||
/// <summary> | ||
/// No repeat. | ||
/// </summary> | ||
Off, | ||
|
||
/// <summary> | ||
/// Repeat the current context. | ||
/// </summary> | ||
RepeatContext, | ||
|
||
/// <summary> | ||
/// Repeat the current track. | ||
/// </summary> | ||
RepeatTrack, | ||
} | ||
} |
Oops, something went wrong.