[haiku-commits] Change in haiku[master]: WavPack support

  • From: Gerrit <review@xxxxxxxxxxxxxxxxxxx>
  • To: waddlesplash <waddlesplash@xxxxxxxxx>, haiku-commits@xxxxxxxxxxxxx
  • Date: Thu, 25 Feb 2021 16:50:51 +0000

From extrowerk <zmizsei@xxxxxxxxxxxxx>:

extrowerk has uploaded this change for review. ( 
https://review.haiku-os.org/c/haiku/+/3752 ;)


Change subject: WavPack support
......................................................................

WavPack support

Change-Id: Id731621f39defd8f065b5460a9a5fb8c5b868c98
---
M src/add-ons/media/plugins/ffmpeg/MuxerTable.cpp
A src/data/mime_db/audio/x-wavpack
2 files changed, 25 insertions(+), 0 deletions(-)



  git pull ssh://git.haiku-os.org:22/haiku refs/changes/52/3752/1

diff --git a/src/add-ons/media/plugins/ffmpeg/MuxerTable.cpp 
b/src/add-ons/media/plugins/ffmpeg/MuxerTable.cpp
index 5971b56..891af2c 100644
--- a/src/add-ons/media/plugins/ffmpeg/MuxerTable.cpp
+++ b/src/add-ons/media/plugins/ffmpeg/MuxerTable.cpp
@@ -471,6 +471,20 @@
                "med",
                { 0 }
        },
+       {
+               media_file_format::B_READABLE
+                       | media_file_format::B_KNOWS_RAW_AUDIO
+                       | media_file_format::B_KNOWS_ENCODED_AUDIO,
+               { 0 },
+               B_MISC_FORMAT_FAMILY,
+               100,
+               { 0 },
+               "audio/x-wavpack",
+               "WavPack Lossless Audio",
+               "wv",
+               "wv",
+               { 0 }
+       },
 };

 const size_t gMuxerCount = sizeof(gMuxerTable) / sizeof(media_file_format);
diff --git a/src/data/mime_db/audio/x-wavpack b/src/data/mime_db/audio/x-wavpack
new file mode 100644
index 0000000..9bfb067
--- /dev/null
+++ b/src/data/mime_db/audio/x-wavpack
@@ -0,0 +1,11 @@
+
+resource(0, "BEOS:TYPE") #'MIMS' "application/x-vnd.Be-meta-mime";
+
+resource(1, "META:TYPE") "audio/x-wavpack";
+
+resource(2, "META:S:DESC") #'MSDC' "WavPack Lossless Audio";
+
+resource(3, "META:EXTENS") message(234) {
+       "extensions" = "wv",
+       "type" = "audio/x-wavpack"
+};

--
To view, visit https://review.haiku-os.org/c/haiku/+/3752
To unsubscribe, or for help writing mail filters, visit 
https://review.haiku-os.org/settings

Gerrit-Project: haiku
Gerrit-Branch: master
Gerrit-Change-Id: Id731621f39defd8f065b5460a9a5fb8c5b868c98
Gerrit-Change-Number: 3752
Gerrit-PatchSet: 1
Gerrit-Owner: extrowerk <zmizsei@xxxxxxxxxxxxx>
Gerrit-MessageType: newchange

Other related posts:

  • » [haiku-commits] Change in haiku[master]: WavPack support - Gerrit