commit 41a1b70aa460627e94d314d5e0d34292037ea58d
parent f17c60be3190511851b2013061bc54cbe57b1ce3
Author: Alexander Kojevnikov <alexander@kojevnikov.com>
Date: Sun, 30 May 2010 12:55:45 +1000
Add support for DTS files
Diffstat:
4 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/.gitignore b/.gitignore
@@ -25,6 +25,7 @@ omf.make
po/.intltool-merge-cache
po/POTFILES
po/stamp-it
+samples/
src/*.c
src/*.o
src/*.stamp
diff --git a/data/spek.desktop.in.in b/data/spek.desktop.in.in
@@ -10,4 +10,4 @@ Icon=spek
Terminal=false
Categories=AudioVideo;Audio
StartupNotify=true
-MimeType=audio/3gpp;audio/ac3;audio/AMR;audio/AMR-WB;audio/basic;audio/midi;audio/mp4;audio/mpeg;audio/ogg;audio/prs.sid;audio/vnd.rn-realaudio;audio/x-aiff;audio/x-ape;audio/x-flac;audio/x-gsm;audio/x-it;audio/x-m4a;audio/x-matroska;audio/x-mod;audio/x-mp3;audio/x-mpeg;audio/x-ms-asf;audio/x-ms-asx;audio/x-ms-wax;audio/x-ms-wma;audio/x-musepack;audio/x-pn-aiff;audio/x-pn-au;audio/x-pn-wav;audio/x-pn-windows-acm;audio/x-realaudio;audio/x-real-audio;audio/x-sbc;audio/x-speex;audio/x-tta;audio/x-wav;audio/x-wavpack;audio/x-vorbis;audio/x-vorbis+ogg;audio/x-xm;application/x-flac
+MimeType=audio/3gpp;audio/ac3;audio/AMR;audio/AMR-WB;audio/basic;audio/midi;audio/mp4;audio/mpeg;audio/ogg;audio/prs.sid;audio/vnd.rn-realaudio;audio/x-aiff;audio/x-ape;audio/x-flac;audio/x-gsm;audio/x-it;audio/x-m4a;audio/x-matroska;audio/x-mod;audio/x-mp3;audio/x-mpeg;audio/x-ms-asf;audio/x-ms-asx;audio/x-ms-wax;audio/x-ms-wma;audio/x-musepack;audio/x-pn-aiff;audio/x-pn-au;audio/x-pn-wav;audio/x-pn-windows-acm;audio/x-realaudio;audio/x-real-audio;audio/x-sbc;audio/x-speex;audio/x-tta;audio/x-wav;audio/x-wavpack;audio/x-vorbis;audio/x-vorbis+ogg;audio/x-xm;application/x-flac;application/x-dts
diff --git a/src/spek-window.vala b/src/spek-window.vala
@@ -223,6 +223,7 @@ namespace Spek {
"*.awb",
"*.ape",
"*.au",
+ "*.dts",
"*.flac",
"*.gsm",
"*.m4a",
diff --git a/win/spek.wxs b/win/spek.wxs
@@ -70,7 +70,7 @@
<RegistryValue Root="HKLM" Key="SOFTWARE\Classes\Spek.Audio\shell" Value="open" Type="string" />
<RegistryValue Root="HKLM" Key="SOFTWARE\Classes\Spek.Audio\shell\open\command" Value=""[INSTALLLOCATION]bin\spek.exe" "%1"" Type="string" />
<!-- Associate with file extensions -->
- <?foreach ext in "3gp;aac,aif;aifc;aiff;amr;awb;ape;au;flac;gsm;m4a;m4p;mp3;mp4;mp+;mpc;mpp;oga;ogg;ra;ram;snd;wav;wma;wv"?>
+ <?foreach ext in "3gp;aac,aif;aifc;aiff;amr;awb;ape;au;dts;flac;gsm;m4a;m4p;mp3;mp4;mp+;mpc;mpp;oga;ogg;ra;ram;snd;wav;wma;wv"?>
<RegistryValue Root="HKLM" Key="SOFTWARE\Spek\Capabilities\FileAssociations" Name=".$(var.ext)" Value="Spek.Audio" Type="string" />
<RegistryValue Root="HKLM" Key="SOFTWARE\Classes\Applications\spek.exe\SupportedTypes" Name=".$(var.ext)" Value="" Type="string" />
<RegistryValue Root="HKLM" Key="SOFTWARE\Classes\.$(var.ext)\OpenWithList\spek.exe" Value="" Type="string" />