Re: [android-developers] Re: AudioRecord.getMinBufferSize hangs on KitKat
Update:
-- Shazam also hangs... Google Now hangs the device intermittently and wont record...
Bryan
On Sunday, 10 November 2013 14:06:31 UTC, Paul-Peter Tournaris wrote:
On Sunday, 10 November 2013 14:06:31 UTC, Paul-Peter Tournaris wrote:
Maybe the new way that Nexus 5 uses to tunnel the Audio causes this problem!On Sun, Nov 10, 2013 at 2:54 PM, skooter500 <skoot...@gmail.com> wrote:
Follow up... All audio record API's cause this!For example, this call also hangs:audioRecord = new AudioRecord(MediaRecorder.AudioSource.MIC, sampleRate, AudioFormat.CHANNEL_ CONFIGURATION_MONO, AudioFormat.ENCODING_PCM_ 16BIT, totalBytes); Is there something special Im supposed to do on Android 4.4??Bryan
On Sunday, 10 November 2013 12:19:41 UTC, skooter500 wrote:HiMy Nexus 5 arrived today, however I have noticed a bug that causes my app (Tunepal) to hang. It is very simple to reproduce. Just call:AudioRecord.getMinBufferSize(22050, AudioFormat.CHANNEL_CONFIGURAT ION_MONO, AudioFormat.ENCODING_PCM_16BIT );
Changing the sample ate has no effect eitherWhat the hell Google?! Dont you test stuff before you release it?Here is the full code for a simple app to reproduce this:BTW This code does not cause a hang on my Galaxy Nexus, Nexus 7, HTC Desire, HTC Desire HD etc etc.I'm investigating a workaroundBryan--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-d...@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
---
You received this message because you are subscribed to the Google Groups "Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscribe@googlegroups.com .
For more options, visit https://groups.google.com/groups/opt_out .
--
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
---
You received this message because you are subscribed to the Google Groups "Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home