diff options
author | Damiano Galassi <[email protected]> | 2017-11-24 11:27:06 +0100 |
---|---|---|
committer | Damiano Galassi <[email protected]> | 2017-11-24 11:27:06 +0100 |
commit | 13c8582eff580913d290b98bc0a58970121ee088 (patch) | |
tree | eb4fa7ab1263664d65ed3ca53f5e807d88180cd7 /macosx/HBAudio.m | |
parent | 47d7b716b2c1f99c9d6a0ba6d2e834012d0a4d68 (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.m | 4 |
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 |