mirror of
https://github.com/TomHarte/CLK.git
synced 2024-08-24 08:29:22 +00:00
23 lines
560 B
Objective-C
23 lines
560 B
Objective-C
//
|
|
// CSMachine+Subclassing.h
|
|
// Clock Signal
|
|
//
|
|
// Created by Thomas Harte on 04/01/2016.
|
|
// Copyright © 2016 Thomas Harte. All rights reserved.
|
|
//
|
|
|
|
#import "CSMachine.h"
|
|
#include "CRT.hpp"
|
|
#include "Speaker.hpp"
|
|
|
|
@interface CSMachine (Subclassing)
|
|
|
|
- (BOOL)setSpeakerDelegate:(Outputs::Speaker::Delegate *)delegate sampleRate:(int)sampleRate;
|
|
|
|
- (void)doRunForNumberOfCycles:(int)numberOfCycles;
|
|
- (void)perform:(dispatch_block_t)action;
|
|
|
|
- (void)speaker:(Outputs::Speaker *)speaker didCompleteSamples:(const int16_t *)samples length:(int)length;
|
|
|
|
@end
|