summaryrefslogtreecommitdiffstats
path: root/macosx/HBAudio.m
diff options
context:
space:
mode:
authorDamiano Galassi <[email protected]>2017-11-24 11:27:06 +0100
committerDamiano Galassi <[email protected]>2017-11-24 11:27:06 +0100
commit13c8582eff580913d290b98bc0a58970121ee088 (patch)
treeeb4fa7ab1263664d65ed3ca53f5e807d88180cd7 /macosx/HBAudio.m
parent47d7b716b2c1f99c9d6a0ba6d2e834012d0a4d68 (diff)
MacGui: use KVO to get a good part of the change notification in the summary view.
Diffstat (limited to 'macosx/HBAudio.m')
-rw-r--r--macosx/HBAudio.m4
1 files changed, 2 insertions, 2 deletions
diff --git a/macosx/HBAudio.m b/macosx/HBAudio.m
index cb0c5a294..0d7958668 100644
--- a/macosx/HBAudio.m
+++ b/macosx/HBAudio.m
@@ -20,7 +20,7 @@
#define NONE_TRACK_INDEX 0
-NSString *HBAudioChangedNotification = @"HBAudioChangedNotification";
+NSString *HBAudioEncoderChangedNotification = @"HBAudioEncoderChangedNotification";
@interface HBAudio () <HBAudioTrackDataSource, HBAudioTrackDelegate>
@@ -224,7 +224,7 @@ NSString *HBAudioChangedNotification = @"HBAudioChangedNotification";
- (void)encoderChanged
{
- [[NSNotificationCenter defaultCenter] postNotificationName:HBAudioChangedNotification object:self];
+ [[NSNotificationCenter defaultCenter] postNotificationName:HBAudioEncoderChangedNotification object:self];
}
#pragma mark - NSCopying