| Inherits from | |
| Conforms to | |
| Framework | /System/Library/Frameworks/QTKit.framework |
| Availability | Available in Mac OS X v10.5 and later; QuickTime 7.2.1 and later. |
| Declared in | QTCaptureAudioPreviewOutput.h |
| Related sample code |
This class represents an output destination for a QTCaptureSession that can be used to preview the audio being captured. Instances of QTCaptureAudioPreviewOutput have an associated Core Audio output device that can be used to play audio being captured by the capture session. Note that the unique ID of a Core Audio device can be obtained from its kAudioDevicePropertyDeviceUID property. For more information about Core Audio, refer to the Apple Core Audio Format Specification 1.0.
Returns the unique ID of the Core Audio output device being used to play preview audio.
- (NSString *)outputDeviceUniqueID
The unique ID of the Core Audio device used for preview, or NIL if the default system output device is being used.
QTCaptureAudioPreviewOutput.hSets the unique ID of the Core Audio output device being used to play preview audio.
- (void)setOutputDeviceUniqueID:(NSString *)uniqueID
The unique ID of the Core Audio device to be used for output, or NIL if the default system output should be used.
QTCaptureAudioPreviewOutput.hSets the preview volume of the output.
- (void)setVolume:(float)volume
The preview volume of the receiver, where 1.0 is the maximum volume and 0.0 is muted.
QTCaptureAudioPreviewOutput.hReturns the preview volume of the output.
- (float)volume
The preview volume of the receiver, where 1.0 is the maximum volume and 0.0 is muted.
QTCaptureAudioPreviewOutput.h
© 2009 Apple Inc. All Rights Reserved. (Last updated: 2009-04-08)