Go to the source code of this file.
typedef void(^ AEAudioPasteboardGeneratorBlock)(AudioBufferList *buffer, UInt32 *ioFrames, BOOL *finished) |
Generator block, used when copying audio.
- Parameters
-
buffer | The buffer to write to |
ioFrames | On input, number of frames to write; on output, number of frames written |
finished | When all audio has been generated, set this to YES to finish the operation |
- Enumerator:
AEAudioPasteboardErrorCodeNoItem |
|
NSString* const AEAudioPasteboardInfoNumberOfChannelsKey |
Number of audio channels.
NSString* const AEAudioPasteboardInfoLengthInFramesKey |
Length of audio, in frames.
NSString* const AEAudioPasteboardInfoDurationInSecondsKey |
Duration of audio, in seconds.
NSString* const AEAudioPasteboardInfoSampleRateKey |
Sample rate of audio, in Hz.
NSString* const AEAudioPasteboardInfoSizeInBytesKey |
NSString* const AEAudioPasteboardChangedNotification |
Notification called upon change of pasteboard contents.
Note: Due to limitations of the UIPasteboard, this notification will not be called while the app is in the background. Instead, it will be called once the app enters the foreground again.
NSString* const AEAudioPasteboardErrorDomain |