mirror of
https://github.com/TomHarte/CLK.git
synced 2025-02-28 06:29:37 +00:00
28 lines
635 B
Objective-C
28 lines
635 B
Objective-C
//
|
|
// CSBestEffortUpdater.h
|
|
// Clock Signal
|
|
//
|
|
// Created by Thomas Harte on 16/06/2016.
|
|
// Copyright 2016 Thomas Harte. All rights reserved.
|
|
//
|
|
|
|
#import <Foundation/Foundation.h>
|
|
#import <CoreVideo/CoreVideo.h>
|
|
|
|
#import "CSMachine.h"
|
|
|
|
// The following is coupled to the definitions in CRTMachine.hpp, but exposed here
|
|
// for the benefit of Swift.
|
|
typedef NS_ENUM(NSInteger, CSBestEffortUpdaterEvent) {
|
|
CSBestEffortUpdaterEventAudioNeeded = 1 << 0
|
|
};
|
|
|
|
@interface CSBestEffortUpdater : NSObject
|
|
|
|
- (void)update;
|
|
- (void)updateWithEvent:(CSBestEffortUpdaterEvent)event;
|
|
- (void)flush;
|
|
- (void)setMachine:(CSMachine *)machine;
|
|
|
|
@end
|