WavPack support

Change-Id: Id731621f39defd8f065b5460a9a5fb8c5b868c98
Reviewed-on: https://review.haiku-os.org/c/haiku/+/3752
Reviewed-by: Adrien Destugues <pulkomandy@gmail.com>
This commit is contained in:
Zoltán Mizsei 2021-02-25 17:49:21 +01:00 committed by Adrien Destugues
parent bc33f9dd87
commit a1d14e4d75
2 changed files with 27 additions and 0 deletions

View File

@ -471,6 +471,20 @@ const media_file_format gMuxerTable[] = {
"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);

View File

@ -0,0 +1,13 @@
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"
};
resource(4, "META:SNIFF_RULE") "0.50 (\"wvpk\")";