Bug Fix: Clean up input node class definition

Fix some missing items, and add nullability declarations.

Signed-off-by: Christopher Snowhill <kode54@gmail.com>
This commit is contained in:
Christopher Snowhill 2025-02-19 15:02:44 -08:00
parent c85c149ceb
commit e97b96b3e9

View file

@ -35,21 +35,23 @@
Semaphore *exitAtTheEndOfTheStream; Semaphore *exitAtTheEndOfTheStream;
} }
@property(readonly) Semaphore *exitAtTheEndOfTheStream; @property(readonly) Semaphore * _Nonnull exitAtTheEndOfTheStream;
@property(readonly) BOOL threadExited; @property(readonly) BOOL threadExited;
- (BOOL)openWithSource:(id<CogSource>)source; - (id _Nullable)initWithController:(id _Nonnull)c previous:(id _Nullable)p;
- (BOOL)openWithDecoder:(id<CogDecoder>)d;
- (BOOL)openWithSource:(id<CogSource>_Nonnull)source;
- (BOOL)openWithDecoder:(id<CogDecoder>_Nonnull)d;
- (void)process; - (void)process;
- (NSDictionary *)properties; - (NSDictionary *_Nonnull)properties;
- (void)seek:(long)frame; - (void)seek:(long)frame;
- (void)registerObservers; - (void)registerObservers;
- (BOOL)setTrack:(NSURL *)track; - (BOOL)setTrack:(NSURL *_Nonnull)track;
- (id<CogDecoder>)decoder; - (id<CogDecoder>_Nonnull)decoder;
- (void)setLastVolume:(double)v; - (void)setLastVolume:(double)v;