Skip to main content

Topic: Native WavPack support in Android (Read 22079 times) previous topic - next topic

0 Members and 1 Guest are viewing this topic.
  • bryant
  • [*][*][*][*][*]
  • Developer (Donating)
Native WavPack support in Android
Peter McQuillan has again outdone himself by providing a set of patches for Android that provides native decoding of WavPack files. The support even includes handling correction files (which I believe is the first time on a portable device)! It uses the 4.60.1 version of the WavPack library without source code modification.

Of course, this has not been accepted by the Android folks yet. It would obviously be a great coup for WavPack to be in Android and anyone interested in helping this along should “star” the issue request on the Google Android site (you don’t have to add a comment unless you want to):

WavPack on Android issue request

Links to the patches are in the request if anyone wants to try them out now.

Thanks so much to Peter for all his hard work and Scott for posting the initial request! 

edit: haha, could some kind moderator please fix my spelling error in the thread title? 
  • Last Edit: 14 January, 2010, 12:28:03 AM by bryant

  • soiaf
  • [*][*]
  • Members (Donating)
Native WavPack support in Android
Reply #1
One thing I'd just like to add to this 
Android is no longer just on phones, we're starting to see portable media players (like the Archos 5) being released with Android as their operating system.  At CES this year manufacturers were also showing Android running on set top boxes.
As Android becomes pervasive, it would be great to think that WavPack support would be included as standard - so please add your "star"

  • DARcode
  • [*][*][*][*][*]
  • Members (Donating)
Native WavPack support in Android
Reply #2
Added mine a while ago along with a comment, come on HA WavPack users! Let's show some support!
WavPack 4.80.0 -b384hx6cmv / qaac 2.59 -V 100

  • HotshotGG
  • [*][*][*][*][*]
Native WavPack support in Android
Reply #3
Quote
Android is no longer just on phones, we're starting to see portable media players (like the Archos 5) being released with Android as their operating system. At CES this year manufacturers were also showing Android running on set top boxes.
As Android becomes pervasive, it would be great to think that WavPack support would be included as standard - so please add your "star"


I am noticing this trend as well. I am wondering if this has a lot to do with the SDK or just the general nature of the embedded O/S. The easier is to get up and running to write apps and other utilities for it the more people will start to take a liking to it. 
budding I.T professional

  • ExUser
  • [*][*][*][*][*]
  • Read-only
Native WavPack support in Android
Reply #4
I'm more than a little frustrated by Google's position that Android is a fork of Linux, rather than working on having their modifications accepted into the mainline kernel. But that's largely irrelevant here.

You have my star. WavPack for the win!
  • Last Edit: 09 February, 2010, 09:57:57 AM by Canar

  • rpp3po
  • [*][*][*][*][*]
  • Developer
Native WavPack support in Android
Reply #5
Google does not have that position. Their code was dropped from mainline by a maintainer not working for Google. He criticized a lack of effort from Google's side to get it accepted, as you write. The other side of the story is, that there may also be a lack of willingness to accept very reasonable changes on the side of the kernel maintainers. Google employs the best programmers of the world, they are not known for trying to force half-baked, vendor-centric changes into OSS projects. They are also not known as forkers, but rank along the biggest contributors to OSS worldwide.

Lets see what happens. If the future shows that one side still can profit from the other, changes will merge again. This is all pretty low level, anyway. Higher level interfaces and APIs are not affected by this, just specific types of drivers.

There are some insightful comments in this Slashdot discussion.
  • Last Edit: 09 February, 2010, 11:01:54 AM by rpp3po

  • ExUser
  • [*][*][*][*][*]
  • Read-only
Native WavPack support in Android
Reply #6
We only disagree in the meaning of "Google's position". I stated their de facto position. Really, dropping a load of changes however long after the initial branch is simply not the way open source is done anywhere, and if the patch was from anyone but Google it would be dropped without a second thought. You stated their "official" position. There is an incongruity between the two positions at the moment. I'm hoping for a resolution between Google and Linux, but all the hope in the world won't necessarily make it happen.

This is getting quite off-topic, however.

  • soiaf
  • [*][*]
  • Members (Donating)
Native WavPack support in Android
Reply #7
I am noticing this trend as well. I am wondering if this has a lot to do with the SDK or just the general nature of the embedded O/S. The easier is to get up and running to write apps and other utilities for it the more people will start to take a liking to it. 


Well, its a free OS that is currently being developed/improved that works on ARM chips (which a large amount of consumer electronics devices use). Its also (apparently) relatively straightforward to get working on a new hardware platform. From a manufacturers perspective this can mean reduced software development costs as well as reduced license costs.
I can't speak about the complexity of writing apps for Android, but once I figured out how to get the proper development environment setup adding WavPack support wasn't too complicated

Now that the code to add WavPack is available, I'm hoping that any manufacturer that releases a product using Android also adds WavPack support as well! Though it would be much easier if WavPack support was added by default in the Android code - so please add your star! 

  • HotshotGG
  • [*][*][*][*][*]
Native WavPack support in Android
Reply #8
Quote
Now that the code to add WavPack is available, I'm hoping that any manufacturer that releases a product using Android also adds WavPack support as well! Though it would be much easier if WavPack support was added by default in the Android code - so please add your star!


Ohh I definitely will support it except I don't have an Android device! I am already greatful for being able to use WavPack on my Cowon o2 though I was seriously considering using hybrid mode in the future if I start to run low on space!
budding I.T professional

  • TREX6662k6
  • [*][*][*][*]
Native WavPack support in Android
Reply #9
Starred! Fingers crossed.

OT: I really must flog my iPhone for a Nexus One but I've yet to see a decent alternative to Simplify Music.
  • Last Edit: 10 February, 2010, 09:57:58 PM by TREX6662k6

  • lameboy
  • [*]
Native WavPack support in Android
Reply #10
This is great news. Does anyone know if Android supports FLAC?
The dev-page I found does not list it..:

http://developer.android.com/guide/appendi...ia-formats.html

XLD // ALAC // OGG VORBIS

  • jcoalson
  • [*][*][*][*][*]
  • Developer
Native WavPack support in Android
Reply #11
flac's got about 600 stars:
http://code.google.com/p/android/issues/detail?id=1461

probably somewhere in the comments there is some current status.  I thought it was pretty far along but I've lost track of it.

  • soiaf
  • [*][*]
  • Members (Donating)
Native WavPack support in Android
Reply #12
Until Google decide to add native support (and please add your star if you haven't already) I thought people might be interested in trying this music player on their android phones. Its been available for a few months, but it required you to have 'root' access on your phone. However a few weeks the author managed to get the application working on non-rooted phones as well.
I tried it on a Nexus One and it works well. Its quite basic in terms of functionality (no seeking for example), but it does play WavPack files  It apparently also does FLAC, APE and Musepack so something there for everyone

http://forum.xda-developers.com/showthread.php?t=575923

  • bryant
  • [*][*][*][*][*]
  • Developer (Donating)
Native WavPack support in Android
Reply #13
Soiaf, does that program not support seeking in general, or does it just not support seeking with WavPack?

I took a quick look at the source and they are using the "tiny decoder" (like Rockbox) and that made me think they just didn't know how to get seeking working with that package.

Thanks for the "heads up" on this! 

  • soiaf
  • [*][*]
  • Members (Donating)
Native WavPack support in Android
Reply #14
Soiaf, does that program not support seeking in general, or does it just not support seeking with WavPack?


No, the program itself doesn't currently seem to support seeking (or at least it doesn't for MP3 and FLAC also). Its a small annoyance, but otherwise the program is quite good, it does what it says it does 

  • esa372
  • [*][*][*][*]
  • Members (Donating)
Native WavPack support in Android
Reply #15
...anyone interested in helping this along should “star” the issue request on the Google Android site...

Done!

Go, WavPack!
Clowns love haircuts; so should Lee Marvin's valet.

  • Notat
  • [*][*][*][*][*]
Native WavPack support in Android
Reply #16
I'm all about bigger fish. I put stars on making my contact database searchable and fixing the calculator's clear button.

  • kiit
  • [*][*][*]
Native WavPack support in Android
Reply #17
Done! Great idea, and goodluck with it bryant!

  • DARcode
  • [*][*][*][*][*]
  • Members (Donating)
Native WavPack support in Android
Reply #18
Any news on this topic?

FLAC support is rumored to be planned for the next Android release after 2.2, namely Gingerbread.
WavPack 4.80.0 -b384hx6cmv / qaac 2.59 -V 100

Native WavPack support in Android
Reply #19
Any news on this topic?

FLAC support is rumored to be planned for the next Android release after 2.2, namely Gingerbread.


That doesn't suprise me. Xiph.org supports Google with the WebM-format (Vorbis as audio codec). It sounds very fair to me if Google shows some respect back and build in support for Xiph's lossless codec.

It wouldn't even suprise me if Google takes over Xiph in a few years.

With WebM (VP8 + Matroska + Vorbis) and a great lossless format (FLAC) Google has a very competitive codecpackage.
The future is lossless!

  • bryant
  • [*][*][*][*][*]
  • Developer (Donating)
Native WavPack support in Android
Reply #20
Any news on this topic?

FLAC support is rumored to be planned for the next Android release after 2.2, namely Gingerbread.

There are clues as to what they may be thinking in the comments section at the bottom of this page. I am not sure exactly how to interpret it, but I am certainly hoping that there would be room for both FLAC and WavPack support in Android, especially since WavPack's hybrid mode makes more sense on a portable than pure lossless.

  • bryant
  • [*][*][*][*][*]
  • Developer (Donating)
Native WavPack support in Android
Reply #21
Peter has been kind enough to update the WavPack patches for Android 2.2 (thanks, Peter!) and there is still no word from Google on what they are planning to do in this area (so there is still hope this could go in).

In any event, we are up to 96 "stars" on the feature request, so if you would be interested in this and haven't done so, please give it a star and maybe we can get to 100! 

WavPack on Android request

David


  • callmeace
  • [*][*]
Native WavPack support in Android
Reply #22
I have added a star and comment, I use WavPack as my primary lossless audio codec. Thanks for all your work on it!

I have mostly been using it recently alongside x264 video in MKV container, it beats 'zlib' compression on the wave audio (which is a built in option when generating an MKV), and WavPack seems to be supported properly in MKV anyway.

I know FLAC has more support from being around longer, and because of the 'OGGFLAC' thing, and good luck to that format as well, but WAVPack in my experience of using it always performs better.

I was interested in that FLAKE project which was a more efficient encoder, and then someone made a faster CUDA encoder (uses GPU for processing) called FLACUDA. I wonder if something like that would happen for WavPack?

  • Miramis
  • [*]
Native WavPack support in Android
Reply #23
100 stars now.  (One from me.)
Rhythmbox, Flac + Vorbis, Sennheiser HD650 + Sony MDR-XB1000

  • Pri3st
  • [*][*][*]
Native WavPack support in Android
Reply #24
One more star from me.