Supports 192 kHz audio in Android

Is there a way to support 192kHz audio in AudioTrack in Android? I know that android only officially supports sampling up to 44100Hz, but there are devices that can supposedly play 192kHz audio like LG G2, Samsung G Note 3 and a few others. But event on these devices I cannot set the sample rate higher than 96000 Hz. The AudioTrack sources have this line:

/** Maximum value for sample rate */
private static final int SAMPLE_RATE_HZ_MAX = 96000;

      

Also I know there is 192kHz support in several Android music players like PowerAmp and how did they achieve them?

+3


source to share





All Articles