diff --git a/AppleCommon/GBAudioClient.h b/AppleCommon/GBAudioClient.h index 03ed701..b361411 100644 --- a/AppleCommon/GBAudioClient.h +++ b/AppleCommon/GBAudioClient.h @@ -5,8 +5,8 @@ @property (nonatomic, strong) void (^renderBlock)(UInt32 sampleRate, UInt32 nFrames, GB_sample_t *buffer); @property (nonatomic, readonly) UInt32 rate; @property (nonatomic, readonly, getter=isPlaying) bool playing; --(void) start; --(void) stop; --(id) initWithRendererBlock:(void (^)(UInt32 sampleRate, UInt32 nFrames, GB_sample_t *buffer)) block +- (void)start; +- (void)stop; +- (id)initWithRendererBlock:(void (^)(UInt32 sampleRate, UInt32 nFrames, GB_sample_t *buffer)) block andSampleRate:(UInt32) rate; @end diff --git a/AppleCommon/GBAudioClient.m b/AppleCommon/GBAudioClient.m index e650aaf..c0c1b89 100644 --- a/AppleCommon/GBAudioClient.m +++ b/AppleCommon/GBAudioClient.m @@ -23,7 +23,7 @@ static OSStatus render( AudioComponentInstance audioUnit; } --(id) initWithRendererBlock:(void (^)(UInt32 sampleRate, UInt32 nFrames, GB_sample_t *buffer)) block +- (id)initWithRendererBlock:(void (^)(UInt32 sampleRate, UInt32 nFrames, GB_sample_t *buffer)) block andSampleRate:(UInt32) rate { if (!(self = [super init])) { diff --git a/Cocoa/Document.xib b/Cocoa/Document.xib index 47b8a4a..476aad7 100644 --- a/Cocoa/Document.xib +++ b/Cocoa/Document.xib @@ -225,7 +225,7 @@