[kde-doc-english] [kwave] /: decoding of Creative Voice files (*.voc)

Thomas Eschenbacher Thomas.Eschenbacher at gmx.de
Thu Apr 21 18:47:00 UTC 2016


Git commit 8e3000dca3c9170857a34e141598633734269d31 by Thomas Eschenbacher.
Committed on 21/04/2016 at 18:46.
Pushed by eschenbacher into branch 'master'.

decoding of Creative Voice files (*.voc)

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

http://commits.kde.org/kwave/8e3000dca3c9170857a34e141598633734269d31

diff --git a/CHANGES b/CHANGES
index ae61ff7..0e085b1 100644
--- a/CHANGES
+++ b/CHANGES
@@ -12,6 +12,7 @@
  * record plugin: added retry mechanism in case of device busy
  * decoding of Core Audio Format (*.caf), using ALAC, A-LAW, U-LAW and IMA
    compression
+ * decoding of Creative Voice files (*.voc)
 
 0.9.1 [2016-02-21]
 
diff --git a/CMakeLists.txt b/CMakeLists.txt
index a388b1c..cdb387d 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -353,7 +353,9 @@ 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-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-voc;")
 IF (WITH_MP3)
     SET(KWAVE_DESKTOP_MIME_TYPES "${KWAVE_DESKTOP_MIME_TYPES}audio/mpeg;")
     SET(KWAVE_DESKTOP_MIME_TYPES "${KWAVE_DESKTOP_MIME_TYPES}audio/x-mp1;")
diff --git a/doc/en/index.docbook b/doc/en/index.docbook
index a84c553..d93cbc8 100644
--- a/doc/en/index.docbook
+++ b/doc/en/index.docbook
@@ -1812,7 +1812,8 @@
 	    <filename>*.aiff</filename> (Audio Interchange Format),
 	    <filename>*.caf</filename> (Core Audio Format),
 	    <filename>*.sf</filename> (Berkeley, IRCAM, Carl Sound Format),
-	    <filename>*.snd</filename> (NeXT, Sun Audio)
+	    <filename>*.snd</filename> (NeXT, Sun Audio),
+	    <filename>*.voc</filename> (Creative Voice)
 	    and others through the <ulink url="&url_libaudiofile;">audiofile</ulink>
 	    plugin.
 	</para></listitem>
@@ -5589,6 +5590,22 @@
 			<entry><literal>audio/x-ircam</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>
+			<entry>&i18n-plugin-lbl_file_type_extensions;</entry>
+			<entry><filename>*.voc</filename></entry>
+		    </row>
+		    <row>
+			<entry>&i18n-plugin-lbl_file_type_mime_types;</entry>
+			<entry><literal>audio/x-voc</literal></entry>
+		    </row>
+		</tbody></tgroup></informaltable>
+
 	    </listitem>
 	</varlistentry>
 	<varlistentry>
diff --git a/plugins/codec_audiofile/AudiofileDecoder.cpp b/plugins/codec_audiofile/AudiofileDecoder.cpp
index 3540cfb..623a344 100644
--- a/plugins/codec_audiofile/AudiofileDecoder.cpp
+++ b/plugins/codec_audiofile/AudiofileDecoder.cpp
@@ -58,6 +58,9 @@ Kwave::AudiofileDecoder::AudiofileDecoder()
     addMimeType("audio/x-ircam",
                 i18n("Berkeley, IRCAM, Carl Sound Format"),
                 "*.sf; *.SF");
+    addMimeType("audio/x-voc",
+                i18n("Creative Voice"),
+                "*.voc; *.VOC");
 }
 
 //***************************************************************************


More information about the kde-doc-english mailing list