-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #13 from HyPlayer/audio-graph-service
[Implementation] Implementation of AudioGraph
- Loading branch information
Showing
82 changed files
with
1,669 additions
and
116 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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
7 changes: 7 additions & 0 deletions
7
HyPlayer.PlayCore.Abstraction/Interfaces/AudioServices/IAudioServiceSettings.cs
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,7 @@ | ||
namespace HyPlayer.PlayCore.Abstraction.Interfaces.AudioServices | ||
{ | ||
public interface IAudioServiceSettings | ||
{ | ||
|
||
} | ||
} |
3 changes: 1 addition & 2 deletions
3
HyPlayer.PlayCore.Abstraction/Interfaces/AudioServices/IAudioTicketListProvidable.cs
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
3 changes: 1 addition & 2 deletions
3
HyPlayer.PlayCore.Abstraction/Interfaces/Lyric/ILyricProcessor.cs
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
3 changes: 1 addition & 2 deletions
3
HyPlayer.PlayCore.Abstraction/Interfaces/PlayCore/IPlayCore.PlaylistModification.cs
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
4 changes: 1 addition & 3 deletions
4
HyPlayer.PlayCore.Abstraction/Interfaces/PlayCore/IPlayCore.Services.cs
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
3 changes: 1 addition & 2 deletions
3
HyPlayer.PlayCore.Abstraction/Interfaces/PlayListContainer/IProgressiveLoadingContainer.cs
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
5 changes: 2 additions & 3 deletions
5
...PlayCore.Abstraction/Interfaces/PlayListController/IPlayListGettablePlaylistController.cs
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 |
---|---|---|
@@ -1,9 +1,8 @@ | ||
using System.Collections.ObjectModel; | ||
using HyPlayer.PlayCore.Abstraction.Models.SingleItems; | ||
using HyPlayer.PlayCore.Abstraction.Models.SingleItems; | ||
|
||
namespace HyPlayer.PlayCore.Abstraction.Interfaces.PlayListController; | ||
|
||
public interface IPlayListGettablePlaylistController : IPlaylistController | ||
{ | ||
public Task<List<SingleSongBase>> GetOrderedPlayListAsync( CancellationToken ctk = new()); | ||
public Task<List<SingleSongBase>> GetOrderedPlayListAsync(CancellationToken ctk = new()); | ||
} |
3 changes: 1 addition & 2 deletions
3
...yer.PlayCore.Abstraction/Interfaces/PlayListController/IRandomizablePlayListController.cs
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
5 changes: 2 additions & 3 deletions
5
HyPlayer.PlayCore.Abstraction/Interfaces/ProvidableItem/IHasCreators.cs
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 |
---|---|---|
@@ -1,11 +1,10 @@ | ||
using System.Collections.ObjectModel; | ||
using HyPlayer.PlayCore.Abstraction.Models; | ||
using HyPlayer.PlayCore.Abstraction.Models; | ||
using HyPlayer.PlayCore.Abstraction.Models.Containers; | ||
|
||
namespace HyPlayer.PlayCore.Abstraction.Interfaces.ProvidableItem; | ||
|
||
public interface IHasCreators : IProvidableItem | ||
{ | ||
public List<string>? CreatorList { get; init; } | ||
public Task<List<PersonBase>?> GetCreatorsAsync( CancellationToken ctk = new()); | ||
public Task<List<PersonBase>?> GetCreatorsAsync(CancellationToken ctk = new()); | ||
} |
3 changes: 1 addition & 2 deletions
3
HyPlayer.PlayCore.Abstraction/Interfaces/ProvidableItem/IHasTag.cs
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
2 changes: 0 additions & 2 deletions
2
HyPlayer.PlayCore.Abstraction/Interfaces/Provider/IProvableItemLikable.cs
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
1 change: 0 additions & 1 deletion
1
HyPlayer.PlayCore.Abstraction/Interfaces/Provider/IProvidableItemRangeProvidable.cs
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
10 changes: 10 additions & 0 deletions
10
HyPlayer.PlayCore.Abstraction/Models/AudioServiceSettingsBase.cs
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,10 @@ | ||
using HyPlayer.PlayCore.Abstraction.Interfaces.AudioServices; | ||
|
||
namespace HyPlayer.PlayCore.Abstraction.Models | ||
{ | ||
public abstract class AudioServiceSettingsBase : IAudioServiceSettings | ||
{ | ||
public abstract string DefaultOutputDeviceId { get; set; } | ||
public abstract double OutputVolume { get; set; } | ||
} | ||
} |
4 changes: 1 addition & 3 deletions
4
HyPlayer.PlayCore.Abstraction/Models/Containers/ContainersContainer.cs
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
4 changes: 1 addition & 3 deletions
4
HyPlayer.PlayCore.Abstraction/Models/Containers/LinerContainerBase.cs
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
4 changes: 1 addition & 3 deletions
4
HyPlayer.PlayCore.Abstraction/Models/Lyric/ProcessedWordLyricLine.cs
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
9 changes: 9 additions & 0 deletions
9
HyPlayer.PlayCore.Abstraction/Models/Notifications/AudioTicketReachesEndNotification.cs
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,9 @@ | ||
using HyPlayer.PlayCore.Abstraction.Models.AudioServiceComponents; | ||
|
||
namespace HyPlayer.PlayCore.Abstraction.Models.Notifications | ||
{ | ||
public abstract class AudioTicketReachesEndNotification | ||
{ | ||
public abstract AudioTicketBase AudioGraphTicket { get; init; } | ||
} | ||
} |
5 changes: 1 addition & 4 deletions
5
HyPlayer.PlayCore.Abstraction/Models/Notifications/InnerPlayListChangedNotification.cs
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
9 changes: 9 additions & 0 deletions
9
HyPlayer.PlayCore.Abstraction/Models/Notifications/MasterTicketChangedNotification.cs
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,9 @@ | ||
using HyPlayer.PlayCore.Abstraction.Models.AudioServiceComponents; | ||
|
||
namespace HyPlayer.PlayCore.Abstraction.Models.Notifications | ||
{ | ||
public abstract class MasterTicketChangedNotification | ||
{ | ||
public abstract AudioTicketBase MasterTicket { get; init; } | ||
} | ||
} |
7 changes: 7 additions & 0 deletions
7
HyPlayer.PlayCore.Abstraction/Models/Notifications/PlaybackPositionChangedNotification.cs
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,7 @@ | ||
namespace HyPlayer.PlayCore.Abstraction.Models.Notifications | ||
{ | ||
public abstract class PlaybackPositionChangedNotification | ||
{ | ||
public abstract double CurrentPlaybackPosition { get; init; } | ||
} | ||
} |
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
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
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,17 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<Application | ||
x:Class="HyPlayer.PlayCore.Demo.AudioGraph.WinUI3.App" | ||
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" | ||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" | ||
xmlns:local="using:HyPlayer.PlayCore.Demo.AudioGraph.WinUI3"> | ||
<Application.Resources> | ||
<ResourceDictionary> | ||
<ResourceDictionary.MergedDictionaries> | ||
<XamlControlsResources xmlns="using:Microsoft.UI.Xaml.Controls" /> | ||
<!-- Other merged dictionaries here --> | ||
<ResourceDictionary Source="/Converters/ConverterDictionary.xaml"/> | ||
</ResourceDictionary.MergedDictionaries> | ||
<!-- Other app resources here --> | ||
</ResourceDictionary> | ||
</Application.Resources> | ||
</Application> |
Oops, something went wrong.