33 lines
527 B
Objective-C
33 lines
527 B
Objective-C
//
|
|
// InputNode.h
|
|
// Cog
|
|
//
|
|
// Created by Vincent Spader on 8/2/05.
|
|
// Copyright 2005 Vincent Spader. All rights reserved.
|
|
//
|
|
|
|
#import <Cocoa/Cocoa.h>
|
|
|
|
#import <CoreAudio/AudioHardware.h>
|
|
#import <AudioToolbox/AudioToolbox.h>
|
|
#import <AudioUnit/AudioUnit.h>
|
|
|
|
#import "SoundFile.h"
|
|
#import "Node.h"
|
|
|
|
@interface InputNode : Node {
|
|
AudioStreamBasicDescription format;
|
|
|
|
SoundFile *soundFile;
|
|
|
|
BOOL shouldSeek;
|
|
double seekTime;
|
|
}
|
|
|
|
- (void)process;
|
|
- (AudioStreamBasicDescription) format;
|
|
- (void)seek:(double)time;
|
|
|
|
|
|
@end
|