AVAudioFile.inc 1.8 KB

12345678910111213141516171819202122232425262728293031
  1. { Parsed from AVFoundation.framework AVAudioFile.h }
  2. {$ifdef TYPES}
  3. type
  4. AVAudioFilePtr = ^AVAudioFile;
  5. {$endif}
  6. {$ifdef CLASSES}
  7. type
  8. AVAudioFile = objcclass external (NSObject)
  9. private
  10. _impl: pointer;
  11. public
  12. function initForReading_error (fileURL: NSURL; outError: NSErrorPtr): instancetype; message 'initForReading:error:';
  13. function initForReading_commonFormat_interleaved_error (fileURL: NSURL; format: AVAudioCommonFormat; interleaved: ObjCBOOL; outError: NSErrorPtr): instancetype; message 'initForReading:commonFormat:interleaved:error:';
  14. function initForWriting_settings_error (fileURL: NSURL; settings: NSDictionary; outError: NSErrorPtr): instancetype; message 'initForWriting:settings:error:';
  15. function initForWriting_settings_commonFormat_interleaved_error (fileURL: NSURL; settings: NSDictionary; format: AVAudioCommonFormat; interleaved: ObjCBOOL; outError: NSErrorPtr): instancetype; message 'initForWriting:settings:commonFormat:interleaved:error:';
  16. function readIntoBuffer_error (buffer: AVAudioPCMBuffer; outError: NSErrorPtr): ObjCBOOL; message 'readIntoBuffer:error:';
  17. function readIntoBuffer_frameCount_error (buffer: AVAudioPCMBuffer; frames: AVAudioFrameCount; outError: NSErrorPtr): ObjCBOOL; message 'readIntoBuffer:frameCount:error:';
  18. function writeFromBuffer_error (buffer: AVAudioPCMBuffer; outError: NSErrorPtr): ObjCBOOL; message 'writeFromBuffer:error:';
  19. function url: NSURL; message 'url';
  20. function fileFormat: AVAudioFormat; message 'fileFormat';
  21. function processingFormat: AVAudioFormat; message 'processingFormat';
  22. function length: AVAudioFramePosition; message 'length';
  23. procedure setFramePosition(newValue: AVAudioFramePosition); message 'setFramePosition:';
  24. function framePosition: AVAudioFramePosition; message 'framePosition';
  25. end;
  26. {$endif}