cog/Sound/SoundController.h

48 lines
791 B
C
Raw Normal View History

2006-01-20 15:34:02 +00:00
//
// SoundController.h
// Cog
//
// Created by Zaphod Beeblebrox on 8/7/05.
// Copyright 2005 __MyCompanyName__. All rights reserved.
//
#import <Cocoa/Cocoa.h>
#import "BufferChain.h"
#import "OutputNode.h"
@class BufferChain;
@class OutputNode;
@interface SoundController : NSObject {
BufferChain *bufferChain;
OutputNode *output;
NSMutableArray *chainQueue;
NSString *nextSong; //Updated whenever the playlist changes?
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-01-20 15:34:02 +00:00
- (void)setNextSong:(NSString *)s;
2006-01-29 14:57:48 +00:00
- (void)setPlaybackStatus:(int)s;
2006-01-20 15:34:02 +00:00
@end