Saves the queue options to disk.
This commit is contained in:
1 parent
99553b5dfe
commit
6f71dd9e67
5 files changed
+61
-13
No files matched your search
@@ -123,6 +123,15 @@ NSString *SBPresetManagerUpdatedNotification = @"SBPresetManagerUpdatedNotificat
|
||||
return noErr;
|
||||
}
|
||||
|
||||
- (MP42Metadata *)setWithName:(NSString *)name {
|
||||
for (MP42Metadata *set in _presets) {
|
||||
if ([set.presetName isEqualToString:name]) {
|
||||
return set;
|
||||
}
|
||||
}
|
||||
return nil;
|
||||
}
|
||||
|
||||
- (BOOL)removePresetAtIndex:(NSUInteger)index
|
||||
{
|
||||
NSString *name = [[_presets objectAtIndex:index] presetName];
|
||||
|
||||
Reference in new issue
Block a user