it seems i have not made myself clear.
at program startup, i enumerate all components and
save a list containing ONLY those that have the "canMovieExportFromProcedures" flag
set.
I put this list into a menu.
the user chooses from this menu
then presses the "edit" button.
so I want the dialog to come up ONLY allowing audio
settings on the component they have already selected, i want to turn off the
ability to choose video, or make any video settings
if the user wants to select a different component,
they cancel out of the dialog, and pick something else from the menu
On Sep 25, 2006, at 6:25 PM, Joe Honoroff wrote:
Don't you want to display the dialog to allow the user to chose an
audio codec and settings?
Joe
but that means the user hasn't selected which
codec to use. the user has already selected the type and subType, i
can't change it out from under them. In only want to limit the
dialog to NOT allow video.
Try using the audio
component "StandardCompressionSubTypeAudio" and call
SCRequestImageSettings(audioComponentInstance) to open the audio only
dialog.
Joe
How do I bring up the "ExportFromProcedures"
dialog, but limit the choices to audio-only?
Here's what I've got so far:
1) make a list of components that have the "canMovieExportFromProcedures"
flag set.
2) the user chooses one and hits the edit button
3) open that component, (set the "kQTMovieExporterPropertyID_EnableHighResolutionAudioFeatures"
flag)
4) call "MovieExportDoUserDialog".
the only problem is, this dialog allows video. eg: under
"3G" you can pick the "video" tab, or under QuickTime, you can check
the "Video" checkox, enabling the group.
is there a flag I can set or test for to turn off the
availability of video?