The flac library is pulled in with the external dependencies for most (all?) 
b2g devices. You can find it under external/flac. 
frameworks/av/media/libstagefright appears to have a wrapper around it and 
links in the static lib, at the very least.

----- Original Message -----
From: "Brion Vibber" <[email protected]>
To: "Jim Porter" <[email protected]>
Cc: [email protected]
Sent: Thursday, November 6, 2014 2:50:05 PM
Subject: Re: [b2g] Does anyone want to pair on adding FLAC support?

That *is* damn weird -- I can confirm that if I take a .flac and name it 
.flac.mp3 it plays in the Music app on my Flame (running 2.1). But I don't see 
any FLAC stuff in the Gecko source under dom/media where other formats are 
supported... 

Is there some kind of crazy hardware FLAC decoder hiding in there that's 
getting triggered when we play the ".mp3" file? If so it might not be reliable 
on other devices... 

-- brion 

On Thu, Nov 6, 2014 at 11:19 AM, Jim Porter < [email protected] > wrote: 


On 11/06/2014 01:00 PM, Brion Vibber wrote: 
> My understanding from the bug description is that Gecko already decodes 
> and plays FLAC just fine, there's just not metadata extraction so the 
> Music app doesn't see the files. Not sure where the metadata stuff lives 
> offhand. 

That is just too weird. I wonder where we're pulling in a FLAC decoder 
from. Gecko sure doesn't support it, since Firefox Desktop can't play 
FLAC at all. I really want to know what's going on here before I commit 
to anything, but if this is intentional, then adding support for FLAC 
(with metadata parsing) is easy-peasy. 

In any case, I'm probably the one who knows the most about metadata 
parsing for the music app, since I've done a ton of work on it lately. 
If you give me a couple of days to finish my big rewrite of it, I can 
probably get FLAC metadata parsing done in an afternoon. 

- Jim 

_______________________________________________ 
dev-b2g mailing list 
[email protected] 
https://lists.mozilla.org/listinfo/dev-b2g 


_______________________________________________
dev-b2g mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-b2g
_______________________________________________
dev-b2g mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-b2g

Reply via email to