2006-01-20 15:34:02 +00:00
|
|
|
//
|
2006-04-02 15:44:08 +00:00
|
|
|
// BufferChain.h
|
2006-01-20 15:34:02 +00:00
|
|
|
// CogNew
|
|
|
|
//
|
|
|
|
// Created by Zaphod Beeblebrox on 1/4/06.
|
|
|
|
// Copyright 2006 __MyCompanyName__. All rights reserved.
|
|
|
|
//
|
|
|
|
|
|
|
|
#import <Cocoa/Cocoa.h>
|
|
|
|
|
|
|
|
#import "InputNode.h"
|
|
|
|
#import "ConverterNode.h"
|
|
|
|
#import "SoundController.h"
|
2006-04-13 02:51:22 +00:00
|
|
|
#import "PlaylistEntry.h"
|
2006-01-20 15:34:02 +00:00
|
|
|
|
|
|
|
@interface BufferChain : NSObject {
|
|
|
|
InputNode *inputNode;
|
|
|
|
ConverterNode *converterNode;
|
2006-04-13 02:51:22 +00:00
|
|
|
PlaylistEntry *playlistEntry;
|
|
|
|
|
2006-01-20 15:34:02 +00:00
|
|
|
NSArray *effects; //Not needed as of now, but for EFFECTS PLUGINS OF THE FUTURE!
|
|
|
|
|
|
|
|
id finalNode; //Final buffer in the chain.
|
|
|
|
|
|
|
|
id soundController;
|
|
|
|
}
|
|
|
|
|
|
|
|
- (id)initWithController:(id)c;
|
|
|
|
- (void)buildChain;
|
2006-04-13 02:51:22 +00:00
|
|
|
- (BOOL)open:(PlaylistEntry *)pe;
|
2006-04-02 20:03:12 +00:00
|
|
|
- (void)seek:(double)time;
|
2006-01-20 15:34:02 +00:00
|
|
|
|
|
|
|
- (void)launchThreads;
|
|
|
|
|
|
|
|
- (id)finalNode;
|
|
|
|
|
|
|
|
@end
|