| 1 |
// |
| 2 |
// AudioSettingsPanelController.h |
| 3 |
// Alchemusica |
| 4 |
// |
| 5 |
// Created by Toshi Nagata on 10/06/13. |
| 6 |
// Copyright 2010-2016 Toshi Nagata. All rights reserved. |
| 7 |
// |
| 8 |
/* |
| 9 |
This program is free software; you can redistribute it and/or modify |
| 10 |
it under the terms of the GNU General Public License as published by |
| 11 |
the Free Software Foundation version 2 of the License. |
| 12 |
|
| 13 |
This program is distributed in the hope that it will be useful, |
| 14 |
but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 15 |
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 16 |
GNU General Public License for more details. |
| 17 |
*/ |
| 18 |
|
| 19 |
#import <Cocoa/Cocoa.h> |
| 20 |
|
| 21 |
@interface AudioSettingsPanelController : NSWindowController { |
| 22 |
NSTimer *timer; /* Refresh the display periodically during playing */ |
| 23 |
IBOutlet NSView *busListView; /* The bus list is inside an NSScrollView */ |
| 24 |
IBOutlet NSBox *separatorLine; /* The horizontal line separating the input buses */ |
| 25 |
NSMutableArray *knobValues; /* The current knob values */ |
| 26 |
id *effectControllers; /* Array of AudioEffectPanelControllers */ |
| 27 |
} |
| 28 |
+ (void)openAudioSettingsPanel; |
| 29 |
+ (AudioSettingsPanelController *)sharedAudioSettingsPanelController; |
| 30 |
- (void)exportAudioSettings; |
| 31 |
- (void)importAudioSettings; |
| 32 |
- (void)updateDisplay; |
| 33 |
- (void)timerCallback:(NSTimer *)timer; |
| 34 |
- (IBAction)myPopUpAction:(id)sender; |
| 35 |
- (IBAction)volumeSliderMoved:(id)sender; |
| 36 |
- (IBAction)panKnobMoved:(id)sender; |
| 37 |
- (IBAction)customViewButtonPressed:(id)sender; |
| 38 |
- (IBAction)effectButtonPressed: (id)sender; |
| 39 |
@end |