OxygenCobalt / Auxio

A simple, rational music player for android
GNU General Public License v3.0
1.82k stars 120 forks source link

AIFF, WAVPack, Monkey's Audio, ASF/WMA, DSF, DSD support #361

Open OxygenCobalt opened 1 year ago

OxygenCobalt commented 1 year ago

With #346, the door is theoretically opened for the addition of more obscure audio formats like those specified in the title. To do this, I would have to:

  1. Await #322 so I can detect these formats myself. Android isn't really aware of these mime types, so they will consider these files generic "documents" and not include them in the media database.
  2. Write my own container parsers for ExoPlayer. ExoPlayer only supports generic container formats, which won't apply to these. This is also where I would implement metadata support for things like APE comments.
  3. Plug the codecs into the FFMpeg extension, as there is no native android support for them.

This is relatively low-priority right now.

OxygenCobalt commented 1 year ago

Theoretically, I may try to take this further by effectively gutting most of the ExoPlayer internals and just using FFMpeg for audio decoding and format/metadata parsing. Again, basically what the big proprietary music players do. Depends on how good FFMpeg's metadata support is (i.e Multi-value capabilities).

Edit: This is much harder than I originally thought. I would have to do a huge amount of work in order to get the proper format support set up here.