[kde-doc-english] [kwave] /: import of NIST SPHERE Audio File Format (*.nist)

Thomas Eschenbacher Thomas.Eschenbacher at gmx.de
Thu Apr 21 19:00:13 UTC 2016


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

import of NIST SPHERE Audio File Format (*.nist)

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

http://commits.kde.org/kwave/2d74061275cb95bc58bca738249a0351f4089f48

diff --git a/CHANGES b/CHANGES
index 0e085b1..3ba7a38 100644
--- a/CHANGES
+++ b/CHANGES
@@ -10,9 +10,10 @@
  * removed optimized memcpy for PowerPC
  * record plugin: improved handling of error messages
  * record plugin: added retry mechanism in case of device busy
- * decoding of Core Audio Format (*.caf), using ALAC, A-LAW, U-LAW and IMA
+ * import of Core Audio Format (*.caf), using ALAC, A-LAW, U-LAW and IMA
    compression
- * decoding of Creative Voice files (*.voc)
+ * import of Creative Voice files (*.voc)
+ * import of NIST SPHERE Audio File Format (*.nist)
 
 0.9.1 [2016-02-21]
 
diff --git a/CMakeLists.txt b/CMakeLists.txt
index cdb387d..c902ef6 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -355,6 +355,7 @@ 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-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-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 d93cbc8..b7863bb 100644
--- a/doc/en/index.docbook
+++ b/doc/en/index.docbook
@@ -1811,6 +1811,7 @@
 	    <filename>*.au</filename>  (NeXT, Sun Audio),
 	    <filename>*.aiff</filename> (Audio Interchange Format),
 	    <filename>*.caf</filename> (Core Audio Format),
+	    <filename>*.nist</filename> (NIST SPHERE Audio File Format),
 	    <filename>*.sf</filename> (Berkeley, IRCAM, Carl Sound Format),
 	    <filename>*.snd</filename> (NeXT, Sun Audio),
 	    <filename>*.voc</filename> (Creative Voice)
@@ -5594,6 +5595,21 @@
 		<informaltable frame='none'><tgroup cols='2'><tbody>
 		    <row>
 			<entry>&i18n-plugin-lbl_file_type_description;</entry>
+			<entry>NIST SPHERE Audio File Format</entry>
+		    </row>
+		    <row>
+			<entry>&i18n-plugin-lbl_file_type_extensions;</entry>
+			<entry><filename>*.nist</filename></entry>
+		    </row>
+		    <row>
+			<entry>&i18n-plugin-lbl_file_type_mime_types;</entry>
+			<entry><literal>audio/x-nist</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 623a344..239fa3f 100644
--- a/plugins/codec_audiofile/AudiofileDecoder.cpp
+++ b/plugins/codec_audiofile/AudiofileDecoder.cpp
@@ -55,6 +55,9 @@ 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");


More information about the kde-doc-english mailing list