[kde-doc-english] [kwave] /: import of Sample Vision Format (*.smp)

Thomas Eschenbacher Thomas.Eschenbacher at gmx.de
Thu Apr 21 19:23:39 UTC 2016


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

import of Sample Vision Format (*.smp)

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

http://commits.kde.org/kwave/ea9833c564e5381b84e230fdbb65ce24688b720e

diff --git a/CHANGES b/CHANGES
index 3ba7a38..d0d7de5 100644
--- a/CHANGES
+++ b/CHANGES
@@ -12,8 +12,9 @@
  * record plugin: added retry mechanism in case of device busy
  * import of Core Audio Format (*.caf), using ALAC, A-LAW, U-LAW and IMA
    compression
- * import of Creative Voice files (*.voc)
+ * import of Sample Vision Format (*.smp)
  * import of NIST SPHERE Audio File Format (*.nist)
+ * import of Creative Voice files (*.voc)
 
 0.9.1 [2016-02-21]
 
diff --git a/CMakeLists.txt b/CMakeLists.txt
index c902ef6..32f9c93 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -356,6 +356,7 @@ SET(KWAVE_DESKTOP_MIME_TYPES "${KWAVE_DESKTOP_MIME_TYPES}audio/x-aiff;")
 SET(KWAVE_DESKTOP_MIME_TYPES "${KWAVE_DESKTOP_MIME_TYPES}audio/x-caf;")
 SET(KWAVE_DESKTOP_MIME_TYPES "${KWAVE_DESKTOP_MIME_TYPES}audio/x-ircam;")
 SET(KWAVE_DESKTOP_MIME_TYPES "${KWAVE_DESKTOP_MIME_TYPES}audio/x-nist;")
+SET(KWAVE_DESKTOP_MIME_TYPES "${KWAVE_DESKTOP_MIME_TYPES}audio/x-smp;")
 SET(KWAVE_DESKTOP_MIME_TYPES "${KWAVE_DESKTOP_MIME_TYPES}audio/x-voc;")
 IF (WITH_MP3)
     SET(KWAVE_DESKTOP_MIME_TYPES "${KWAVE_DESKTOP_MIME_TYPES}audio/mpeg;")
diff --git a/doc/en/index.docbook b/doc/en/index.docbook
index b7863bb..48790c0 100644
--- a/doc/en/index.docbook
+++ b/doc/en/index.docbook
@@ -1813,6 +1813,7 @@
 	    <filename>*.caf</filename> (Core Audio Format),
 	    <filename>*.nist</filename> (NIST SPHERE Audio File Format),
 	    <filename>*.sf</filename> (Berkeley, IRCAM, Carl Sound Format),
+	    <filename>*.smp</filename> (Sample Vision Format),
 	    <filename>*.snd</filename> (NeXT, Sun Audio),
 	    <filename>*.voc</filename> (Creative Voice)
 	    and others through the <ulink url="&url_libaudiofile;">audiofile</ulink>
@@ -5610,6 +5611,21 @@
 		<informaltable frame='none'><tgroup cols='2'><tbody>
 		    <row>
 			<entry>&i18n-plugin-lbl_file_type_description;</entry>
+			<entry>Sample Vision Format</entry>
+		    </row>
+		    <row>
+			<entry>&i18n-plugin-lbl_file_type_extensions;</entry>
+			<entry><filename>*.smp</filename></entry>
+		    </row>
+		    <row>
+			<entry>&i18n-plugin-lbl_file_type_mime_types;</entry>
+			<entry><literal>audio/x-smp</literal></entry>
+		    </row>
+		</tbody></tgroup></informaltable>
+
+		<informaltable frame='none'><tgroup cols='2'><tbody>
+		    <row>
+			<entry>&i18n-plugin-lbl_file_type_description;</entry>
 			<entry>Creative Voice</entry>
 		    </row>
 		    <row>
diff --git a/plugins/codec_audiofile/AudiofileDecoder.cpp b/plugins/codec_audiofile/AudiofileDecoder.cpp
index 239fa3f..9378bc4 100644
--- a/plugins/codec_audiofile/AudiofileDecoder.cpp
+++ b/plugins/codec_audiofile/AudiofileDecoder.cpp
@@ -55,12 +55,15 @@ Kwave::AudiofileDecoder::AudiofileDecoder()
     addMimeType("audio/x-caf",
                 i18n("Core Audio File Format"),
                 "*.caf; *.CAF");
-    addMimeType("audio/x-nist",
-                i18n("NIST SPHERE Audio File Format"),
-                "*.nist; *.NIST");
     addMimeType("audio/x-ircam",
                 i18n("Berkeley, IRCAM, Carl Sound Format"),
                 "*.sf; *.SF");
+    addMimeType("audio/x-nist",
+                i18n("NIST SPHERE Audio File Format"),
+                "*.nist; *.NIST");
+    addMimeType("audio/x-smp",
+                i18n("Sample Vision Format"),
+                "*.smp; *.SMP");
     addMimeType("audio/x-voc",
                 i18n("Creative Voice"),
                 "*.voc; *.VOC");


More information about the kde-doc-english mailing list