Add a default export format to prevent dialog from crashing when used for first time
authorSakari Bergen <sakari.bergen@beatwaves.net>
Thu, 25 Nov 2010 14:32:46 +0000 (14:32 +0000)
committerSakari Bergen <sakari.bergen@beatwaves.net>
Thu, 25 Nov 2010 14:32:46 +0000 (14:32 +0000)
git-svn-id: svn://localhost/ardour2/branches/3.0@8084 d708f5d6-7413-0410-9779-e7cbd77b26cf

gtk2_ardour/export/CD.format [new file with mode: 0644]
gtk2_ardour/wscript

diff --git a/gtk2_ardour/export/CD.format b/gtk2_ardour/export/CD.format
new file mode 100644 (file)
index 0000000..0253301
--- /dev/null
@@ -0,0 +1,30 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<ExportFormatSpecification name="CD" id="888228ba-4863-4906-a059-7bc01023c113">
+  <Encoding id="F_WAV" type="T_Sndfile" extension="wav" name="WAV" has-sample-format="true" channel-limit="256"/>
+  <SampleRate rate="44100"/>
+  <SRCQuality quality="SRC_SincBest"/>
+  <EncodingOptions>
+    <Option name="sample-format" value="SF_16"/>
+    <Option name="dithering" value="D_Shaped"/>
+    <Option name="tag-metadata" value="false"/>
+    <Option name="tag-support" value="false"/>
+    <Option name="broadcast-info" value="false"/>
+  </EncodingOptions>
+  <Processing>
+    <Normalize enabled="true" target="-0"/>
+    <Silence>
+      <Start>
+        <Trim enabled="false"/>
+        <Add enabled="false">
+          <Duration format="Timecode" hours="0" minutes="0" seconds="0" frames="0"/>
+        </Add>
+      </Start>
+      <End>
+        <Trim enabled="false"/>
+        <Add enabled="false">
+          <Duration format="Timecode" hours="0" minutes="0" seconds="0" frames="0"/>
+        </Add>
+      </End>
+    </Silence>
+  </Processing>
+</ExportFormatSpecification>
index 218a2edaefe4d3de7ecb5220c5d6ad3b8248cecc..ad4c1886d648c4a101d733cc7c06a8687370715b 100644 (file)
@@ -470,6 +470,9 @@ def build(bld):
 
        # Default UI configuration
        bld.install_files('${CONFIGDIR}/ardour3', 'ardour3_ui_default.conf')
+       
+       # Default export stuff
+       bld.install_files('${CONFIGDIR}/ardour3/export', 'export/*.format')
 
        # i18n
        if bld.env['ENABLE_NLS']: