git.y1.nz

SameBoy

Accurate GB/GBC emulator
download: https://git.y1.nz/archives/sameboy.tar.gz
README | Files | Log | Refs | LICENSE

AppleCommon/GBAudioClient.h

      1 #import <Foundation/Foundation.h>
      2 #import <Core/gb.h>
      3 
      4 @interface GBAudioClient : NSObject
      5 @property (nonatomic, strong) void (^renderBlock)(UInt32 sampleRate, UInt32 nFrames, GB_sample_t *buffer);
      6 @property (nonatomic, readonly) UInt32 rate;
      7 @property (nonatomic, readonly, getter=isPlaying) bool playing;
      8 - (void)start;
      9 - (void)stop;
     10 - (id)initWithRendererBlock:(void (^)(UInt32 sampleRate, UInt32 nFrames, GB_sample_t *buffer)) block
     11               andSampleRate:(UInt32) rate;
     12 @end

This webpage is intended to be an accessible preview of this repository. To get a fuller picture, clone it and use the git CLI.