yucemahmut / android-on-freerunner

Automatically exported from code.google.com/p/android-on-freerunner
0 stars 0 forks source link

Flac support #59

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
It would be awesome to have flac support in this build. There is a patch
against the gerrit repo here, http://the-b.org/FLAC_on_Android.

Original issue reported on code.google.com by bowdr...@gmail.com on 23 Oct 2009 at 11:42

GoogleCodeExporter commented 9 years ago
Added this to the build. I didn't have any FLAC files handy to test with, so 
please 
try it and report back. Should be in the 20091030 daily.

Original comment by scarhill on 29 Oct 2009 at 2:12

GoogleCodeExporter commented 9 years ago

Original comment by scarhill on 29 Oct 2009 at 2:12

GoogleCodeExporter commented 9 years ago
I'm using daily 20091105
What, exactly, should we see ?
I uploaded a flac file (taken from http://ff123.net/samples.html ) to the 
SDcard, and
then noticed :
 - no change in the list of songs available in the "Music" app, even after running
the "Media scanner"
 - the message "Application not available" when I select the flac file with a File
Manager
...

What am I doing wrong ?

Original comment by kewlcat...@gmail.com on 4 Nov 2009 at 11:35

GoogleCodeExporter commented 9 years ago
The page where the patch is from says the followint:

Limitation: The current implementation only accepts 16-bit FLAC. I plan on 
adding
8-bit and 24-bit (dithering to 16-bit; the Android platform doesn't appear to 
support
24-bit audio).

So verify the bit number in the flac, if it correct try to see if there is 
something
interesting in logcat if there is attach it.

Original comment by larlin...@gmail.com on 5 Nov 2009 at 12:42

GoogleCodeExporter commented 9 years ago
localhost:~/android% file 1.flac 
1.flac: FLAC audio bitstream data, 16 bit, stereo, 44.1 kHz, 714694 samples

localhost:~/android% adb logcat
(...)
  Starting FileManager...
(...)
V/OIFM_DirScanner( 1197): Scanning directory /sdcard
V/OIFM_DirScanner( 1197): Counting files... (total count=15)
I/ActivityManager(  855): Displayed activity
org.openintents.filemanager/.FileManagerActivity: 626 ms
V/OIFM_DirScanner( 1197): Sorting results...
V/OIFM_DirScanner( 1197): Sending data back to main thread
V/OIFM_ThumbnailLoader( 1197): Scanning for thumbnails (files=3)
V/OIFM_ThumbnailLoader( 1197): Done scanning for thumbnails
(...)
  "Click" on the file 1.flac - the same file as above -
(...)
I/ActivityManager(  855): Starting activity: Intent {
action=android.intent.action.VIEW data=file:///sdcard/1.flac 
type=application/x-flac }
I/NotificationService(  855): enqueueToast pkg=org.openintents.filemanager
callback=android.app.ITransientNotification$Stub$Proxy@437e4e98 duration=0

And that's all...

Original comment by kewlcat...@gmail.com on 5 Nov 2009 at 1:35

GoogleCodeExporter commented 9 years ago
On a related note, ogg vorbis support is also missing.

Original comment by quick.du...@gmail.com on 13 Jul 2010 at 10:27