summaryrefslogtreecommitdiffstats
path: root/macosx/HBAudio.m
diff options
context:
space:
mode:
authorDamiano Galassi <[email protected]>2019-08-12 10:19:00 +0200
committerDamiano Galassi <[email protected]>2019-08-12 10:19:00 +0200
commitc5a4d181ebedbdee2bdfefeffa28128d0b9c95c1 (patch)
tree635e3d036b7065987f29d38489838ceb6cdd11eb /macosx/HBAudio.m
parent76d08e5d4bb6287de03519cf43cc298d2d896a7a (diff)
MacGui: enable and fix more warnings. Review nullability annotations.
Diffstat (limited to 'macosx/HBAudio.m')
-rw-r--r--macosx/HBAudio.m6
1 files changed, 3 insertions, 3 deletions
diff --git a/macosx/HBAudio.m b/macosx/HBAudio.m
index cdd929efb..093d70dff 100644
--- a/macosx/HBAudio.m
+++ b/macosx/HBAudio.m
@@ -54,7 +54,7 @@ NSString *HBAudioEncoderChangedNotification = @"HBAudioEncoderChangedNotificatio
#pragma mark - Data Source
-- (NSDictionary<NSString *, id> *)sourceTrackAtIndex:(NSUInteger)idx;
+- (NSDictionary<NSString *, id> *)sourceTrackAtIndex:(NSUInteger)idx
{
return self.sourceTracks[idx];
}
@@ -73,7 +73,7 @@ NSString *HBAudioEncoderChangedNotification = @"HBAudioEncoderChangedNotificatio
#pragma mark - Delegate
-- (void)track:(HBAudioTrack *)track didChangeSourceFrom:(NSUInteger)oldSourceIdx;
+- (void)track:(HBAudioTrack *)track didChangeSourceFrom:(NSUInteger)oldSourceIdx
{
// If the source was changed to None, remove the track
if (track.sourceTrackIdx == NONE_TRACK_INDEX)
@@ -321,7 +321,7 @@ fail:
return self.tracks[index];
}
-- (void)insertObject:(HBAudioTrack *)track inTracksAtIndex:(NSUInteger)index;
+- (void)insertObject:(HBAudioTrack *)track inTracksAtIndex:(NSUInteger)index
{
[[self.undo prepareWithInvocationTarget:self] removeObjectFromTracksAtIndex:index];
[self.tracks insertObject:track atIndex:index];