How to set Audio Sampling rate higher than 44.1kHz

All your problems with Audio, Video and Images.

Do you feel android should ensure hardware capabilities ?

yes, when possible and explain when not possible
0
No votes
no, i dont care
0
No votes
I dont know
0
No votes
no answer..
0
No votes
 
Total votes : 0

How to set Audio Sampling rate higher than 44.1kHz

Postby www.rzr.online.fr » Thu Aug 11, 2011 10:27 am

Subject: How to set Audio Sampling rate higher than 44.1kHz ?


Hi,

I noticed that android.media.Record failed to work
when using wrong sampleRateInHz...

You can also reproduce easily that issue
using pcmrecorder on Samsung Nexus S (by Google) :

https://market.android.com/details?id=c ... cmrecorder

http://ko-yasui.com/home/pcmrecorder/


So It fails to record above 44.1Khz
while the hardware audio chip supports up to 96KHz :

http://www.wolfsonmicro.com/products/audio_hubs/WM8994/


Is this a device/firmware bug or known limitation ?


Note that the android platform only ensure about 44100Hz (not even 24KHz)

http://developer.android.com/reference/ ... ecord.html

{
sampleRateInHz the sample rate expressed in Hertz.
44100Hz is currently the only rate
that is guaranteed to work on all devices,
but other rates such as 22050, 16000, and 11025
may work on some devices.
}


How to overcome this limitation ?

* could any other API be used ? alsa, openal ? and how ?

* could alsa driver be reconfigured from user side
to be able to sample above 44100Hz ? ( .asoundrc )

* Is it possible to do a such thing
without reflashing/rooting/rebooting the device

* else how to workaround this ?
upsampling (interpolation) efficiently, using native code ?


Thank you for reading ...



More at :

http://stackoverflow.com/questions/7023 ... hz-nexuss# ( I will edit that url, If needed ... )

multimedia-problems-f28/how-to-set-audio-sampling-rate-higher-than-44-1hz-nexuss-t54722.html
User avatar
www.rzr.online.fr
Junior Developer
Junior Developer
 
Posts: 20
Joined: Tue Feb 03, 2009 11:39 am
Location: fr/35/rennes

Top

Return to Multimedia Problems

Who is online

Users browsing this forum: No registered users and 9 guests