2006-01-20 15:34:02 +00:00
|
|
|
//
|
2006-04-02 15:44:08 +00:00
|
|
|
// InputNode.h
|
2006-01-20 15:34:02 +00:00
|
|
|
// Cog
|
|
|
|
//
|
|
|
|
// Created by Zaphod Beeblebrox on 8/2/05.
|
|
|
|
// Copyright 2005 __MyCompanyName__. 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;
|
2006-04-02 20:03:12 +00:00
|
|
|
|
|
|
|
BOOL shouldSeek;
|
|
|
|
double seekTime;
|
2006-01-20 15:34:02 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
- (void)process;
|
|
|
|
- (AudioStreamBasicDescription) format;
|
2006-04-02 20:03:12 +00:00
|
|
|
- (void)seek:(double)time;
|
|
|
|
|
2006-01-20 15:34:02 +00:00
|
|
|
|
|
|
|
@end
|