From e97b96b3e91aebef92cdbb5366b208f09f8291f7 Mon Sep 17 00:00:00 2001 From: Christopher Snowhill Date: Wed, 19 Feb 2025 15:02:44 -0800 Subject: [PATCH] Bug Fix: Clean up input node class definition Fix some missing items, and add nullability declarations. Signed-off-by: Christopher Snowhill --- Audio/Chain/InputNode.h | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/Audio/Chain/InputNode.h b/Audio/Chain/InputNode.h index 51b8b577d..e7f68afb6 100644 --- a/Audio/Chain/InputNode.h +++ b/Audio/Chain/InputNode.h @@ -35,21 +35,23 @@ Semaphore *exitAtTheEndOfTheStream; } -@property(readonly) Semaphore *exitAtTheEndOfTheStream; +@property(readonly) Semaphore * _Nonnull exitAtTheEndOfTheStream; @property(readonly) BOOL threadExited; -- (BOOL)openWithSource:(id)source; -- (BOOL)openWithDecoder:(id)d; +- (id _Nullable)initWithController:(id _Nonnull)c previous:(id _Nullable)p; + +- (BOOL)openWithSource:(id_Nonnull)source; +- (BOOL)openWithDecoder:(id_Nonnull)d; - (void)process; -- (NSDictionary *)properties; +- (NSDictionary *_Nonnull)properties; - (void)seek:(long)frame; - (void)registerObservers; -- (BOOL)setTrack:(NSURL *)track; +- (BOOL)setTrack:(NSURL *_Nonnull)track; -- (id)decoder; +- (id_Nonnull)decoder; - (void)setLastVolume:(double)v;