marwen2 / aacdecoder-android

Automatically exported from code.google.com/p/aacdecoder-android
GNU Lesser General Public License v3.0
0 stars 0 forks source link

96000Hz is not a supported sample rate. (not only 96000Hz, sometimes 64000 Hz and etc.) #42

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1.
2.
3.

What is the expected output? What do you see instead?

When I change channel , sometimes output this error , 

What version of the product are you using? On which device ?
I tested on Nexus 4 , Galaxy S3 and some other devices too have this problem

What is the URL of the stream ?

Mount Point /Streaming.aac

Stream Title:   Radio
Stream Description: Armenian Radio Station
Content Type:   audio/aacp
Mount started:
Bitrate:    128
Current Listeners:  2
Peak Listeners: 0
Stream Genre:   World, Pop
Stream URL: 
Current Song:

Please provide any additional information below.

10-21 12:00:36.785: E/AndroidRuntime(11084): FATAL EXCEPTION: Thread-672
10-21 12:00:36.785: E/AndroidRuntime(11084): 
java.lang.IllegalArgumentException: 96000Hz is not a supported sample rate.
10-21 12:00:36.785: E/AndroidRuntime(11084):    at 
android.media.AudioTrack.audioParamCheck(AudioTrack.java:375)
10-21 12:00:36.785: E/AndroidRuntime(11084):    at 
android.media.AudioTrack.<init>(AudioTrack.java:309)
10-21 12:00:36.785: E/AndroidRuntime(11084):    at 
android.media.AudioTrack.<init>(AudioTrack.java:259)
10-21 12:00:36.785: E/AndroidRuntime(11084):    at 
com.spoledge.aacplayer.PCMFeed.run(PCMFeed.java:216)
10-21 12:00:36.785: E/AndroidRuntime(11084):    at 
java.lang.Thread.run(Thread.java:841)

Original issue reported on code.google.com by gora...@gmail.com on 21 Oct 2013 at 8:09