Media_SoundFormatDialog ( outputFormat {; initialSettings} )
Media_SoundFormatDialog displays a sample sound format setting dialog and returns an XML configuration value that corresponds to the settings you select.
Parameter | Description |
---|---|
outputFormat | Sound format that defines which dialog is displayed. |
initialSettings | Optional. Output of previous Media_SoundFormatDialog. When present, the output settings dialog is preconfigured with these settings. |
The returned value can be used to store preset sound format preference settings which can then be used with the Media_ConvertSound function.
Returns
The result of this function is an XML configuration such as:
<convert-sound-format>
<audio-compression-id>lpcm</audio-compression-id>
<sample-rate>44100</sample-rate>
<sample-size>16</sample-size>
<number-of-channels>2</number-of-channels>
<is-float>false</is-float>
<is-big-endian>false</is-big-endian>
<file-format-id>WAVE</file-format-id>
</convert-sound-format>