Retired Document
Important: This document may not represent best practices for current development. Links to downloads and other resources may no longer be valid.
Standard Sound Dialog Component
The standard sound dialog component presents a dialog box that lets the user make audio setting selections, such as the audio compression type, sampling rate, mono or stereo, etc. Your application uses this component to present the dialog box to the user, and to read the user selections back into your application.
The standard sound dialog component is based on the standard image compression dialog component and uses some of the same function calls. You should be familiar with the image compression dialog component before reading this chapter. You should read this chapter if your application allows audio recording, resampling, or compression, or if you plan to develop a new sound dialog component.
About the Standard Sound Dialog Component
Inside Macintosh: QuickTime Reference describes what the standard sound dialog component does and includes an illustration of the standard dialog box.
Using the Standard Sound Dialog Component
Inside Macintosh: QuickTime Reference describes how to use the standard sound dialog component from within an application. Sample code is included for several functions.
Functions
Inside Macintosh: QuickTime Reference describes three functions, taken from the standard image compression dialog component, which are implemented in the standard sound dialog component: SCGetInfo , SCSetInfo , and SCRequestImageSettings . Refer to the chapter "Standard Image Compression Dialog" for the complete function definitions. Also described are two new functions, SCGetSettingsAsAtomContainer and SCSetSettingsFromAtomContainer .
SCGetInfo
SCSetInfo
SCRequestImageSettings
SCGetSettingsAsAtomContainer
SCSetSettingsFromAtomContainer
Constants
Inside Macintosh: QuickTime Reference defines the constants used by the sound dialog component. These are primarily new selectors that can be passed to SCGetInfo or SCSetInfo , and are supported only when these functions are called with the standard sound dialog component. These selectors are not supported when calling SCGetInfo or SCSetInfo for a standard image compression dialog.
scSoundSampleRateType
scSoundSampleSizeType
scSoundChannelCountType
scSoundCompressionType
scCompressionListType
scPreferenceFlagsType
scExtendedProcsType
scSettingsStateType
Copyright © 2002 Apple Computer, Inc. All Rights Reserved. Terms of Use | Privacy Policy | Updated: 2002-09-17