AEAudioPasteboard.h File Reference
#import "AETypes.h"

Go to the source code of this file.

Classes

class  AEAudioPasteboard
 Audio Pasteboard interface. More...
 
class  AEAudioPasteboardReader
 Audio Pasteboard reader. More...
 

Typedefs

typedef void(^ AEAudioPasteboardGeneratorBlock )(AudioBufferList *buffer, UInt32 *ioFrames, BOOL *finished)
 Generator block, used when copying audio.
 

Enumerations

enum  { AEAudioPasteboardErrorCodeNoItem }
 

Variables

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
 Size of audio, in bytes.
 
NSString *const AEAudioPasteboardChangedNotification
 Notification called upon change of pasteboard contents.
 
NSString *const AEAudioPasteboardErrorDomain
 

Typedef Documentation

typedef void(^ AEAudioPasteboardGeneratorBlock)(AudioBufferList *buffer, UInt32 *ioFrames, BOOL *finished)

Generator block, used when copying audio.

Parameters
bufferThe buffer to write to
ioFramesOn input, number of frames to write; on output, number of frames written
finishedWhen all audio has been generated, set this to YES to finish the operation

Enumeration Type Documentation

anonymous enum
Enumerator:
AEAudioPasteboardErrorCodeNoItem 

Variable Documentation

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

Size of audio, in bytes.

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