Skip to content

Commit

Permalink
Use only a single whitespace after periods in comments.
Browse files Browse the repository at this point in the history
  • Loading branch information
fgimian committed Jan 27, 2025
1 parent 5c55034 commit 77773be
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion TotalMixVC.iss
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
; The version needs to be passed explicitly via /DAppVersion=0.1.0 as GitVersion is used to
; determine the release version. Alternatively, the option below may be uncommented if required.
; determine the release version. Alternatively, the option below may be uncommented if required.
; #define AppVersion "1.0"

; The build configuration needs to be passed explicitly via /DAppBuildConfiguration=Release or
Expand Down
6 changes: 3 additions & 3 deletions src/TotalMixVC/Communicator/VolumeManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -42,11 +42,11 @@ public class VolumeManager : IDisposable
/// Initializes a new instance of the <see cref="VolumeManager"/> class.
/// </summary>
/// <param name="outgoingEP">
/// The outgoing OSC endpoint to send volume changes to. This should be set to the
/// The outgoing OSC endpoint to send volume changes to. This should be set to the
/// incoming port in TotalMix settings.
/// </param>
/// <param name="incomingEP">
/// The incoming OSC endpoint to receive volume changes from. This should be set to the
/// The incoming OSC endpoint to receive volume changes from. This should be set to the
/// outgoing port in TotalMix settings.
/// </param>
[ExcludeFromCodeCoverage]
Expand Down Expand Up @@ -272,7 +272,7 @@ public async Task<bool> ReceiveVolumeAsync(
{
// Ping events are sent from the device every around every 1 second, so we only
// wait until a given timeout of 5 seconds before giving up and forcing a fresh
// receive request. This ensures that the receiver can detect a device which was
// receive request. This ensures that the receiver can detect a device which was
// previous offline.
OscPacket packet;
using var receiveCancellationTokenSource = new CancellationTokenSource();
Expand Down
4 changes: 2 additions & 2 deletions src/TotalMixVC/Hotkeys/GlobalHotKeyManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ public GlobalHotKeyManager()
_actions = [];

// Please note that the message loop pumper calls ThreadFilterMessage and then
// ThreadPreprocessMessage every time it receives a key stroke. Thus, either of these
// ThreadPreprocessMessage every time it receives a key stroke. Thus, either of these
// will suffice for our purposes.
ComponentDispatcher.ThreadPreprocessMessage += OnThreadPreprocessMessage;
}
Expand Down Expand Up @@ -58,7 +58,7 @@ public void Register(Hotkey hotkey, Action action)
}

/// <summary>
/// The event handler that executes when a keyboard is message is received. This handler
/// The event handler that executes when a keyboard is message is received. This handler
/// will run the appropriate action based on the hotkey detected.
/// </summary>
/// <param name="msg">Message information for the key stroke.</param>
Expand Down
6 changes: 3 additions & 3 deletions src/TotalMixVC/VolumeIndicator.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ public void UpdateConfig(Config config)
}

/// <summary>
/// Displays the volume indicator with the current volume details. This method may be
/// Displays the volume indicator with the current volume details. This method may be
/// safely called from inside an async task.
/// </summary>
/// <returns>The task object representing the asynchronous operation.</returns>
Expand All @@ -68,7 +68,7 @@ public async Task DisplayCurrentVolumeAsync()
// Switch to the UI thread.
await _joinableTaskFactory.SwitchToMainThreadAsync();

// Display the volume indicator with the current volume details. We use a dispatcher
// Display the volume indicator with the current volume details. We use a dispatcher
// to ensure that this work occurs in the UI thread.
var showStoryboard = (Storyboard)Resources["WindowStoryboardShow"];
showStoryboard.Begin(this);
Expand All @@ -86,7 +86,7 @@ public async Task DisplayCurrentVolumeAsync()
}

/// <summary>
/// Updates the volume in the volume indicator given the provided volume details. This
/// Updates the volume in the volume indicator given the provided volume details. This
/// method may be safely called from inside an async task.
/// </summary>
/// <param name="volume">The current volume as a float.</param>
Expand Down

0 comments on commit 77773be

Please sign in to comment.