Android :: Getting PCM Data From Built-in Audio Decoders

Jun 27, 2009

First of all, sorry for my bad english. I'm new into Android application development, just experimenting with the emulator and the SDK. I have searched with some keywords on the developer group, but i didn't find what i need. I'm searching for classes which with i can do simple audio DSP on locally stored audio files. e.g. i like to do crossfade/overlap on MP3 files, and an overall automatic gain control/ equalization on the realtime mix . As i see i can use the AudioTrack class to send raw PCM data to the audio hardware, so i could implement the DSP in java, but i don't see any way to use the internal decoders to grab decoded PCM frames from encoded audio files (like MP3, OGG, AAC). I thought about using Java decoder implementations like JLayer to do the decoding but that's a very CPU intensive approach which is not good for e.g. a media player application which runs in the background. Is there any classes for using the platforms builtin decoders, or should i "port" some available decoders with NDK to my application?

Android :: Getting PCM data from built-in audio decoders


General :: Better To Use Android Built In Post ICS Data Counter Or External App?

Aug 29, 2012

Just wondering what would be better/more accurate for a data usage counter...

View 6 Replies View Related

Android :: Decode MP3 Audio Data To PCM Audio Format In Android

Dec 9, 2009

I am streaming an MP3 audio and instead making this MP3 audio to play, I want it to be converted to PCM format and pass this PCM audio to AudioTrack(as it takes PCM data as input.) instead of passing my MP3 stream to MediaPlayer. Can anyone please help me to convert the MP3 to PCM stream?

View 3 Replies View Related

General :: Reverse Engineering Non-built To Built Ready SD Extension?

Nov 27, 2013

I have done many of reverse engineering for other electronics in the past, Since Im new to android I was wondering before even wasting my time if is possible to port, or built a rom from sources or a phone thatis NOT External SD built in to a phone that it have the external sd built in.

Making it short can I try to reverse engineer the android code from a Nexus 5 (no ext_sd) to other device that have ext_sd built in?

If is possible where should I be looking to start trying making some development on this as I haven't done nothing close quite.

View 9 Replies View Related

Android :: Processing Raw Audio Data

Apr 10, 2009

I want to develop an app that lets one intercept raw audio data sent for playback (possibly by a different app), and apply audio enhancements over this raw data.Does Cupcake allow such filtering of audio data? If so, which API should I use? I understand this may not be possible at an application level for security reasons.I'm trying to see if this is possible with native code linking to public or private API of Android.

View 3 Replies View Related

Android :: How To Capture Audio Data From Mic Into A Buffer?

Sep 24, 2009

I am working on a packet switched network. I want to capture the audio data from mic into a buffer at a desired sample rate.How can I capture the audio data from mic into a buffer instead of a file? Also how can I control the audio capture rate as per the desired sample rate?

View 2 Replies View Related

Android :: Getting Amount Of Audio Data Buffered In Device

Apr 5, 2010

I am trying to write a streaming application.I have my own decoder and I am playing PCM audio using AudioTrack. At any point in time I want to know how much data is buffered with the device. I want to use this so that if the data with the device go below a level, I want to go into a buffering mode where I will buffer 2-3 seconds of data before continuing playback again. Can someone please tell me how to do this?

View 5 Replies View Related

Android : How To Get Data About All Audio Files In Device Using MediaAudio

May 4, 2010

I've been trying to understand how to get data about all the audio files in the device using MediaAudio but unfortunately the documentation is far from clear. Also, thereīs almost nothing about it on the forum right now and I couldnīt find good resources over the internet.

Iīve seen pretty quick and objective examples on how to access the main information from the containers but I couldnīt find in any place how I could get the names of the tracks (MediaStore.Audio.AudioColumns doesnīt have an specific constant for it) and the most important, how I could retrieve the path for the media (audio file in this case) Iīve found using the info on MusicStore.Audio.

am I missing something here? It seems it should be so easy but I canīt find the info! Also if I change any data on the container, will this data be also changed in the real file as well?

You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

View 4 Replies View Related

Samsung Galaxy S :: Can't Get 3G Data And Bluetooth Audio At Same Time

Jul 7, 2010

Just taken delivery of a UK edition Samsung Galaxy S. Connecting it to my car audio via bluetooth no problems but it drops the 3G/H network connection as soon as it connects to the car. Disconnect the Bluetooth and I get the data connection back. Is this deliberate or a bug? It means I can't receive emails etc whilst in my car unless I turn off Bluetooth.

View 1 Replies View Related

Android :: Approach To Cache Large Amount Of Textual And Audio Data / In Android Application

Jul 13, 2010

We are supposed to cache textual and audio data in our application until device is booted or maximum of two days, whichever happens earlier. To get a perspective on data to be cached, note that we are to store about 200 text headers containing around 10 fields, each of length 30 bytes and about 20 sound files each about a minute long.We are getting the textual data by parsing XMLs and then we keep them in ArrayLists. The sound files are directly written inside the app storage using File I/O (and not on SDcard or Apps Cache directory).This application is to be run on devices running Android 1.5 or later.I understand, and please correct me if I am wrong, that we can cache the files either on SDcard or inside the application or inside applications Cache directory.

View 2 Replies View Related

Android :: Decoding Encoded Audio Data On Android Without Playing It

Feb 25, 2010

Short version: What is the best way to get data encoded in an MP3 (and ideally in an AAC/Ogg/WMA) into a Java array or ByteBuffer that I can then manipulate?I'm putting together a program that has slowing down and speeding up sound files as one of its features. This works fine for WAV files,which are a header plus the exact binary data that needs to be sent to the speaker, and now I need to implement it for MP3 (ideally, this would also support AAC, Ogg, and WMA, but since those are less popular formats this is not required). Android does not expose an interface to decode the MP3 without playing it, so I need to create that
interface.

View 1 Replies View Related

Android :: Send Audio Data With SMS In Android

Aug 5, 2010

I am trying to send an audio file converted to a byte array with SMS using SMSManager.sendDataMessage.But, I am unable to send it to other phone. Can any suggest how can I do it?

View 1 Replies View Related

Motorola :: Android Player To Recognize Audio Tags On Lossless Audio Files?

May 23, 2010

Does anyone know if there is a way for either meridian or the regular android player to recognize audio tags on lossless audio files?

View 1 Replies View Related

Android :: Analog To IOS Core Audio / Audio File Stream Services?

Sep 22, 2010

Is there an Android equivalent to the iOS Core Audio / Audio File Stream Services? I need to be able to read audio bytes from a network and feed them to the audio system under my control, so I can do my own timeouts / reconnects / range requests / etc. without interrupting the audio playback (since the system audio thread would be playing audio already enqueued). It seems that MediaPlayer doesn't give me this level of control. Is there a lower-level framework that does, either in the SDK or NDK?

View 2 Replies View Related

Android :: Combine Only One Audio File From Two Audio Files

Oct 2, 2010

I want combine two audio files. (A audio file + B audio file = AB audio file)So, my search result is:

1. useing an AudioTrack.

2. decode PCM from audio file.

3. combine PCM.

This is currect? It there another way?

View 1 Replies View Related

Android :: How Can I Apply An Audio Effect To Recorded Audio?

Oct 17, 2010

I want to record a sample from the microphone, then I want to play the recorded file maximizing the volume and apply some audio effect, like modifing sample rate or addind an echo.Waht is the best way? is there an example?

View 1 Replies View Related

Android :: Audio Record And Play Recorded Audio

Jun 2, 2009

Could you please let me know how to do the audio record in android emulator and play the same recorded audio. Could you please help me in proceeding in development.I tried with MediaPlayer API's also.Its not working.

View 5 Replies View Related

Android :: Determining Audio Format Of Audio Files

May 8, 2010

Is there a way to determine the audio format of an audio file in Android? On normal java I do it like this:

File file= new File(...);
AudioInputStream stream = AudioSystem.getAudioInputStream(file);
AudioFormat format= stream.getFormat();

View 2 Replies View Related

Motorola Droid : How To Play Audio From Phone Through RR Audio System?

May 5, 2010

I connected my phone via USB to my RR sport to upload audio files to the RR hard drive. However, I keep getting connection error. Apparently my device is not being recognized as a storage. I did the unmount thinking. Also, I am wondering how I can play audio from my phone through the RR audio system.
RR is 2010.

View 2 Replies View Related

Android :: Play Remote Audio File In Android Audio Player

Nov 12, 2010

I am working on a application that would allow users to play remote files. My question is how do I open those remote files to be played in the default android player?but this does not give me control of what is happening!

View 2 Replies View Related

Samsung Galaxy S :: Audio Codecs /can't Hear Any Audio

Jun 28, 2010

I have a 720p video that I am trying to play on GS. The image is amazing by the way. But I can't hear any audio (works fine on my PC). Anything wrong with the audio codec used?

View 7 Replies View Related

Android :: Uninstall Built-in App

Mar 5, 2009

We are plannig to write a new music application from scratch. Also we want to uninstall the built-in music application to ensure only our application resides on the phone. adb ls /data/app command doesn't list built-in applications. So, I am unable to uninstall the built in music application without knowing its name. So, I am getting a feeling like built in applications uninstallation is handled in different way.

View 15 Replies View Related

Android :: How To Built Resident App?

Apr 14, 2009

I have to built a resident application, but I have no idea to do that If you know how to do, please do me a favor and teaching me.

View 3 Replies View Related

Android :: Is This Built In Drawable?

Feb 8, 2010

In this linked image , I see the button on the right quite often in a lot of apps. On my Moto Droid, it is used extensively in the settings app. It is also used as the default AlertDialog icon. Can I use this via a android.r.drawable?

View 2 Replies View Related

Android :: Built SDK In Cygwin?

Aug 23, 2010

I've been trying to build SDK in cygwin from Android 2.2-r1.1 source code, and now I am facing some problems as below:

1. The adb couldn't be built successfully, it seems it couldn't find the header files in /usr/include/w32api/ddk 2. The fastboot also couln't be built 3. After disable adb and fastboot from make_windows_sdk.sh, I counld get the sdk zip file 4. When using this sdk in Eclipse, I got an error "W/ResourceType( 2888): Unable to get buffer of resource asset file" which is related to resource.arsc in android.jar, after replacing that file, the sdk is find in Eclipse (also need to copy adb from downloaded sdk)

Anyone has tried to build sdk in cygwin as well? Would you pls share the methods to fix the problems above?

View 3 Replies View Related

Android :: Has Anyone Built OpenAL?

Apr 6, 2010

Has anyone built OpenAL for the Android, or found the shared library for it on the system? This seems like an obvious need for a game of any kind, yet there's no resources out there for it. It seems the Android java sound library can't do pitch changes from what I can tell, so there seems a need for OpenAL. I know OpenAL Soft can be built on top of ALSA, but I'm not sure if anyones done that, and I'm sure it would take me a month.

If there's a good guide somewhere on sound manipulation on the Android without OpenAL, that's fine too. It's just that OpenAL is sort of a standard for game makers and it would be nice to port my thousands of lines over to this system, which I sort of thought was the point of the NDK before I dugg into it and saw that there's almost no shared library access on the system.I hope I can actually port without becoming a java expert myself. Really disliking the NDK so far!

View 2 Replies View Related

General :: Android Built In VPN

Sep 3, 2012

Ihave a Question to the standard Android VPN Client because i cant test it:

- If i connect my VPN after i started my Smartphone,- what happens when my mobile Data Connection lost? Do Android perform an auto reconnect to the VPN when the data connection is restored?

View 1 Replies View Related

Android :: Best Way To Store Application Data / When Data Stored / Data Format Could Change In Future Versions?

Mar 4, 2010

I'm making an Android Java app game (although this question applies to all languages really) and hope to release the first version soon. I'm nervous about how I save data in my game. My problem is that, if in a later update, I decide to store more data or store the same data in a different way, I need to be careful I don't lose or corrupt data for users that upgrade (i.e. I want users to be able to use data created by an old version in the new version, like their high scores from before).For example, say I want to save high scores in version 1.

View 3 Replies View Related

Android :: Open Pdf From My App Using Built In Pdf Viewer

May 26, 2010

I want to be able to open a pdf file in my app using the android's built in pdf viewer app, but i dont know how to start other apps. I'm sure i have to call start activity, i just dont know how to identify the app im opening and how to pass the file to that specific app.I just learned that the pdf viewer i have on my phone is actually made by HTC and that Adobe just barely released their android pdf viewer (which is great). So the new question is this: how do i verify that the user has installed adobe's viewer, and then how do i open the file in that app from my app?

View 3 Replies View Related

Android :: Anyway To Disable Or Delete Built-In IM App

Oct 14, 2009

The built-in IM app is always running in the background. It starts over right after I kill it.Short of changing to a different OS, is there anyway to disable or delete this application?

View 6 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved