diff --git a/Ryujinx.Audio/Helpers/TypeSize.cs b/Ryujinx.Audio/Helpers/TypeSize.cs index 9b026c61af..5f041fb865 100644 --- a/Ryujinx.Audio/Helpers/TypeSize.cs +++ b/Ryujinx.Audio/Helpers/TypeSize.cs @@ -4,9 +4,8 @@ using System.Reflection.Emit; namespace Ryujinx.Audio { /// - /// Helper to determine the byte size of a type + /// Helper to determine the byte size of type /// - /// public static class TypeSize { /// diff --git a/Ryujinx.Audio/PlaybackState.cs b/Ryujinx.Audio/PlaybackState.cs index 8b53128aaf..7d8620924b 100644 --- a/Ryujinx.Audio/PlaybackState.cs +++ b/Ryujinx.Audio/PlaybackState.cs @@ -1,8 +1,17 @@ namespace Ryujinx.Audio { + /// + /// The playback state of a track + /// public enum PlaybackState { + /// + /// The track is currently playing + /// Playing = 0, + /// + /// The track is currently stopped + /// Stopped = 1 } } \ No newline at end of file diff --git a/Ryujinx.Audio/Renderers/SoundIo/SoundIoAudioTrack.cs b/Ryujinx.Audio/Renderers/SoundIo/SoundIoAudioTrack.cs index 894a6a4476..61e918f661 100644 --- a/Ryujinx.Audio/Renderers/SoundIo/SoundIoAudioTrack.cs +++ b/Ryujinx.Audio/Renderers/SoundIo/SoundIoAudioTrack.cs @@ -56,9 +56,9 @@ namespace Ryujinx.Audio.SoundIo /// /// Constructs a new instance of a /// - /// - /// - /// + /// The track ID + /// The SoundIO audio context + /// The SoundIO audio device public SoundIoAudioTrack(int trackId, SoundIO audioContext, SoundIODevice audioDevice) { TrackID = trackId; diff --git a/Ryujinx.Audio/Renderers/SoundIo/SoundIoAudioTrackPool.cs b/Ryujinx.Audio/Renderers/SoundIo/SoundIoAudioTrackPool.cs index 8078ff44ab..43dbc7398a 100644 --- a/Ryujinx.Audio/Renderers/SoundIo/SoundIoAudioTrackPool.cs +++ b/Ryujinx.Audio/Renderers/SoundIo/SoundIoAudioTrackPool.cs @@ -116,8 +116,7 @@ namespace Ryujinx.Audio.SoundIo /// /// Retrieves the associated with the specified from the pool /// - /// - /// + /// The ID of the track to retrieve public SoundIoAudioTrack Get(int trackId) { if (m_TrackList.TryGetValue(trackId, out SoundIoAudioTrack track)) @@ -129,7 +128,7 @@ namespace Ryujinx.Audio.SoundIo /// /// Attempers to get a from the pool /// - /// + /// The track retrieved from the pool /// True if retrieve was successful public bool TryGet(out SoundIoAudioTrack track) { @@ -140,8 +139,8 @@ namespace Ryujinx.Audio.SoundIo /// /// Attempts to get the associated with the specified from the pool /// - /// - /// + /// The ID of the track to retrieve + /// The track retrieved from the pool public bool TryGet(int trackId, out SoundIoAudioTrack track) { return m_TrackList.TryGetValue(trackId, out track); diff --git a/Ryujinx.Audio/Renderers/SoundIo/SoundIoBuffer.cs b/Ryujinx.Audio/Renderers/SoundIo/SoundIoBuffer.cs index a13218b383..2ac61426a5 100644 --- a/Ryujinx.Audio/Renderers/SoundIo/SoundIoBuffer.cs +++ b/Ryujinx.Audio/Renderers/SoundIo/SoundIoBuffer.cs @@ -18,8 +18,8 @@ /// /// Constructs a new instance of a /// - /// - /// + /// The buffer tag + /// The size of the buffer public SoundIoBuffer(long tag, int length) { Tag = tag;