// // InputNode.h // Cog // // Created by Vincent Spader on 8/2/05. // Copyright 2005 Vincent Spader. All rights reserved. // #import #import #import #import #import #import #import #define INPUT_NODE_SEEK @interface InputNode : Node { id decoder; int bytesPerSample; int bytesPerFrame; BOOL floatingPoint; BOOL swapEndian; BOOL shouldSeek; long seekFrame; BOOL observersAdded; Semaphore *exitAtTheEndOfTheStream; } @property(readonly) Semaphore * _Nonnull exitAtTheEndOfTheStream; @property(readonly) BOOL threadExited; - (id _Nullable)initWithController:(id _Nonnull)c previous:(id _Nullable)p; - (BOOL)openWithSource:(id_Nonnull)source; - (BOOL)openWithDecoder:(id_Nonnull)d; - (void)process; - (NSDictionary *_Nonnull)properties; - (void)seek:(long)frame; - (void)registerObservers; - (BOOL)setTrack:(NSURL *_Nonnull)track; - (id_Nonnull)decoder; @end