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 <[email protected]> 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:
>>
>> Hi
>>
>> My 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_CONFIGURATION_MONO,
>> AudioFormat.ENCODING_PCM_16BIT);
>>
>> Changing the sample ate has no effect either
>>
>> What the hell Google?! Dont you test stuff before you release it?
>>
>> Here is the full code for a simple app to reproduce this:
>>
>> https://github.com/skooter500/MinBufferSizeBug
>>
>> 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 workaround
>>
>> Bryan
>>
>  --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]
> 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 [email protected].
> For more options, visit https://groups.google.com/groups/opt_out.
>



-- 
*Παύλος-Πέτρος Τουρνάρης*
*Android  & Software Developer*

   - *http://goo.gl/TsJ8u <http://goo.gl/TsJ8u>*
   - *http://acschedule.org <http://acschedule.org>*

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
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 [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to