2016-01-05 04:12:47 +00:00
|
|
|
//
|
|
|
|
// CSMachine+Subclassing.h
|
|
|
|
// Clock Signal
|
|
|
|
//
|
|
|
|
// Created by Thomas Harte on 04/01/2016.
|
|
|
|
// Copyright © 2016 Thomas Harte. All rights reserved.
|
|
|
|
//
|
|
|
|
|
|
|
|
#import "CSMachine.h"
|
2016-01-14 02:03:43 +00:00
|
|
|
#include "CRT.hpp"
|
|
|
|
#include "Speaker.hpp"
|
2016-01-05 04:12:47 +00:00
|
|
|
|
|
|
|
@interface CSMachine (Subclassing)
|
|
|
|
|
2016-01-14 03:38:59 +00:00
|
|
|
- (BOOL)setSpeakerDelegate:(Outputs::Speaker::Delegate *)delegate sampleRate:(int)sampleRate;
|
2016-01-15 01:33:22 +00:00
|
|
|
- (void)speaker:(Outputs::Speaker *)speaker didCompleteSamples:(const int16_t *)samples length:(int)length;
|
2016-03-20 02:46:17 +00:00
|
|
|
- (void)performAsync:(dispatch_block_t)action;
|
|
|
|
- (void)performSync:(dispatch_block_t)action;
|
2016-04-12 03:12:56 +00:00
|
|
|
- (void)setupOutputWithAspectRatio:(float)aspectRatio;
|
2016-01-14 02:03:43 +00:00
|
|
|
|
2016-01-05 04:12:47 +00:00
|
|
|
@end
|