Mac OS X Reference Library Apple Developer
Search

QTCaptureAudioPreviewOutput Class Reference

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

Overview

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.

Tasks

Getting and Setting Core Audio Output Devices

Instance Methods

outputDeviceUniqueID

Returns the unique ID of the Core Audio output device being used to play preview audio.

- (NSString *)outputDeviceUniqueID

Return Value

The unique ID of the Core Audio device used for preview, or NIL if the default system output device is being used.

Availability
  • Mac OS X v10.4 and later; QuickTime 7.2.1 and later.
Declared In
QTCaptureAudioPreviewOutput.h

setOutputDeviceUniqueID:

Sets the unique ID of the Core Audio output device being used to play preview audio.

- (void)setOutputDeviceUniqueID:(NSString *)uniqueID

Parameters
uniqueID

The unique ID of the Core Audio device to be used for output, or NIL if the default system output should be used.

Availability
  • Mac OS X v10.4 and later; QuickTime 7.2.1 and later.
Declared In
QTCaptureAudioPreviewOutput.h

setVolume:

Sets the preview volume of the output.

- (void)setVolume:(float)volume

Parameters
volume

The preview volume of the receiver, where 1.0 is the maximum volume and 0.0 is muted.

Availability
  • Mac OS X v10.4 and later; QuickTime 7.2.1 and later.
Declared In
QTCaptureAudioPreviewOutput.h

volume

Returns the preview volume of the output.

- (float)volume

Return Value

The preview volume of the receiver, where 1.0 is the maximum volume and 0.0 is muted.

Availability
  • Mac OS X v10.4 and later; QuickTime 7.2.1 and later.
Declared In
QTCaptureAudioPreviewOutput.h



Last updated: 2009-04-08

Did this document help you? Yes It's good, but... Not helpful...