cog/Sound/SoundController.h

49 lines
824 B
C
Raw Normal View History

2006-01-20 15:34:02 +00:00
//
// SoundController.h
// Cog
//
// Created by Vincent Spader on 8/7/05.
// Copyright 2005 Vincent Spader. All rights reserved.
2006-01-20 15:34:02 +00:00
//
#import <Cocoa/Cocoa.h>
#import "BufferChain.h"
#import "OutputNode.h"
2006-04-13 02:51:22 +00:00
#import "PlaylistEntry.h"
2006-01-20 15:34:02 +00:00
@class BufferChain;
@class OutputNode;
@interface SoundController : NSObject {
BufferChain *bufferChain;
OutputNode *output;
NSMutableArray *chainQueue;
2006-04-13 02:51:22 +00:00
PlaylistEntry *nextEntry; //Updated whenever the playlist changes?
2006-01-20 15:34:02 +00:00
id delegate;
}
- (OutputNode *) output;
- (BufferChain *) bufferChain;
- (id)initWithDelegate:(id)d;
- (void)play:(NSString *)filename;
- (void)stop;
- (void)pause;
- (void)resume;
- (void)seekToTime:(double)time;
- (void)setVolume:(double)v;
- (double)amountPlayed;
2006-04-13 02:51:22 +00:00
- (void)setNextEntry:(PlaylistEntry *)pe;
2006-01-29 14:57:48 +00:00
- (void)setPlaybackStatus:(int)s;
2006-01-20 15:34:02 +00:00
@end