Cog/Audio/Chain/BufferChain.h

47 lines
771 B
C
Raw Normal View History

2006-01-20 12:34:02 -03:00
//
// BufferChain.h
2006-01-20 12:34:02 -03:00
// CogNew
//
// Created by Vincent Spader on 1/4/06.
// Copyright 2006 Vincent Spader. All rights reserved.
2006-01-20 12:34:02 -03:00
//
#import <Cocoa/Cocoa.h>
#import "InputNode.h"
#import "ConverterNode.h"
#import "AudioPlayer.h"
2006-01-20 12:34:02 -03:00
@interface BufferChain : NSObject {
InputNode *inputNode;
ConverterNode *converterNode;
2006-04-12 22:51:22 -04:00
NSURL *streamURL;
id userInfo;
2006-01-20 12:34:02 -03:00
id finalNode; //Final buffer in the chain.
id controller;
2006-01-20 12:34:02 -03:00
}
- (id)initWithController:(id)c;
- (void)buildChain;
- (BOOL)open:(NSURL *)url withOutputFormat:(AudioStreamBasicDescription)outputFormat;
2006-04-02 16:03:12 -04:00
- (void)seek:(double)time;
2006-01-20 12:34:02 -03:00
- (void)launchThreads;
- (id)finalNode;
- (id)userInfo;
- (void)setUserInfo:(id)i;
- (NSURL *)streamURL;
- (void)setShouldContinue:(BOOL)s;
- (void)endOfInputReached;
2006-01-20 12:34:02 -03:00
@end