36 lines
683 B
Objective-C
36 lines
683 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 "AudioDecoder.h"
|
|
#import "Node.h"
|
|
#import "Plugin.h"
|
|
|
|
@interface InputNode : Node {
|
|
id<CogDecoder> decoder;
|
|
|
|
AudioStreamBasicDescription outputFormat;
|
|
|
|
BOOL shouldSeek;
|
|
double seekTime;
|
|
}
|
|
|
|
- (BOOL)openURL:(NSURL *)url withSource:(id<CogSource>)source outputFormat:(AudioStreamBasicDescription)of;
|
|
- (void)process;
|
|
- (NSDictionary *) properties;
|
|
- (void)seek:(double)time;
|
|
|
|
- (void)registerObservers;
|
|
|
|
@end
|