[kde-doc-english] [kwave] /: import of Amiga IFF/8SVX Sound File Format (*.8svx)

Thomas Eschenbacher Thomas.Eschenbacher at gmx.de
Thu Apr 21 19:57:18 UTC 2016


Git commit 6ba3dc26b2801a22cb11c53262e6a9e1d287de1b by Thomas Eschenbacher.
Committed on 21/04/2016 at 19:57.
Pushed by eschenbacher into branch 'master'.

import of Amiga IFF/8SVX Sound File Format (*.8svx)

M  +1    -0    CHANGES
M  +1    -0    CMakeLists.txt
M  +18   -0    doc/en/index.docbook
M  +3    -0    plugins/codec_audiofile/AudiofileDecoder.cpp

http://commits.kde.org/kwave/6ba3dc26b2801a22cb11c53262e6a9e1d287de1b

diff --git a/CHANGES b/CHANGES
index 8b874d0..1b09efd 100644
--- a/CHANGES
+++ b/CHANGES
@@ -16,6 +16,7 @@
  * import of NIST SPHERE Audio File Format (*.nist)
  * import of Creative Voice files (*.voc)
  * import Audio Visual Research File Format (*.avr)
+ * import of Amiga IFF/8SVX Sound File Format (*.8svx)
 
 0.9.1 [2016-02-21]
 
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 53fbb5d..7916434 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -351,6 +351,7 @@ CONFIGURE_FILE(
 SET(KWAVE_DESKTOP_MIME_TYPES "${KWAVE_DESKTOP_MIME_TYPES}audio/wav;")
 SET(KWAVE_DESKTOP_MIME_TYPES "${KWAVE_DESKTOP_MIME_TYPES}audio/x-wav;")
 SET(KWAVE_DESKTOP_MIME_TYPES "${KWAVE_DESKTOP_MIME_TYPES}audio/basic;")
+SET(KWAVE_DESKTOP_MIME_TYPES "${KWAVE_DESKTOP_MIME_TYPES}audio/x-8svx;")
 SET(KWAVE_DESKTOP_MIME_TYPES "${KWAVE_DESKTOP_MIME_TYPES}audio/x-aifc;")
 SET(KWAVE_DESKTOP_MIME_TYPES "${KWAVE_DESKTOP_MIME_TYPES}audio/x-aiff;")
 SET(KWAVE_DESKTOP_MIME_TYPES "${KWAVE_DESKTOP_MIME_TYPES}audio/x-avr;")
diff --git a/doc/en/index.docbook b/doc/en/index.docbook
index 23b2a78..b13961d 100644
--- a/doc/en/index.docbook
+++ b/doc/en/index.docbook
@@ -1808,6 +1808,7 @@
 
 	<listitem><para>
 	    Additionally you can import file formats like
+	    <filename>*.8svx</filename> (Amiga IFF/8SVX Sound File Format),
 	    <filename>*.au</filename>  (NeXT, Sun Audio),
 	    <filename>*.aiff</filename> (Audio Interchange Format),
 	    <filename>*.avr</filename> (Audio Visual Research File Format),
@@ -5513,6 +5514,23 @@
 	<varlistentry>
 	    <term><emphasis role="bold">&i18n-plugin_lbl_file_types;</emphasis></term>
 	    <listitem>
+
+		<informaltable frame='none'><tgroup cols='2'><tbody>
+		    <row>
+			<entry>&i18n-plugin-lbl_file_type_description;</entry>
+			<entry>Amiga IFF/8SVX Sound File Format</entry>
+		    </row>
+		    <row>
+			<entry>&i18n-plugin-lbl_file_type_extensions;</entry>
+			<entry><filename>*.8svx</filename></entry>
+			<entry><filename>*.iff</filename></entry>
+		    </row>
+		    <row>
+			<entry>&i18n-plugin-lbl_file_type_mime_types;</entry>
+			<entry><literal>audio/x-8svx</literal></entry>
+		    </row>
+		</tbody></tgroup></informaltable>
+
 		<informaltable frame='none'><tgroup cols='2'><tbody>
 		    <row>
 			<entry>&i18n-plugin-lbl_file_type_description;</entry>
diff --git a/plugins/codec_audiofile/AudiofileDecoder.cpp b/plugins/codec_audiofile/AudiofileDecoder.cpp
index 5ea74b7..c31da57 100644
--- a/plugins/codec_audiofile/AudiofileDecoder.cpp
+++ b/plugins/codec_audiofile/AudiofileDecoder.cpp
@@ -46,6 +46,9 @@ Kwave::AudiofileDecoder::AudiofileDecoder()
                 "*.au; *.AU; *.snd; *.SND");
 
     /* some others, mime types might be wrong (I found no RFC or similar)  */
+    addMimeType("audio/x-8svx",
+                i18n("Amiga IFF/8SVX Sound File Format"),
+                "*.iff; *.IFF; *.8svx; *.8SVX");
     addMimeType("audio/x-aifc",
                 i18n("Compressed Audio Interchange Format"),
                 "*.aifc; *.AIFC");


More information about the kde-doc-english mailing list