ShadowLu / aacdecoder-android

Automatically exported from code.google.com/p/aacdecoder-android
0 stars 0 forks source link

Mp3 stream played too fast #47

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
I was constantly starting and ending app during development process on Xperia 
Z. Decoder normally works perfectly.

What is the expected output? What do you see instead?
This has only happened twice while developing. It gives a slight chipmonk 
effect on the output however returns to normal on process/app restart.

What version of the product are you using? On which device ?
0.7

What is the URL of the stream ?
http://media-ice.musicradio.com/CapitalManchesterMP3Low.m3u

Please provide any additional information below.
01-07 20:47:12.709: W/AudioTrack(20746): releaseBuffer() track 0x6eaf04d0 
name=0x1 disabled, restarting
01-07 20:47:12.719: D/BufferReader(20746): next() waiting....
01-07 20:47:14.040: D/BufferReader(20746): next() awaken
01-07 20:47:14.040: D/AACPlayer(20746): play(): decoded 43776 samples
01-07 20:47:14.040: W/AudioTrack(20746): releaseBuffer() track 0x6eaf04d0 
name=0x1 disabled, restarting
01-07 20:47:14.060: D/BufferReader(20746): next() waiting....
01-07 20:47:14.100: I/engageTV(20746): Working... 2/5 @ 79642789
01-07 20:47:15.281: D/BufferReader(20746): next() awaken
01-07 20:47:15.291: D/AACPlayer(20746): play(): decoded 43776 samples
01-07 20:47:15.291: W/AudioTrack(20746): releaseBuffer() track 0x6eaf04d0 
name=0x1 disabled, restarting
01-07 20:47:15.301: D/BufferReader(20746): next() waiting....
01-07 20:47:16.793: D/BufferReader(20746): next() awaken
01-07 20:47:16.813: D/AACPlayer(20746): play(): decoded 43776 samples
01-07 20:47:16.833: D/BufferReader(20746): next() waiting....
01-07 20:47:18.334: D/BufferReader(20746): next() awaken
01-07 20:47:18.344: D/AACPlayer(20746): play(): decoded 43776 samples
01-07 20:47:18.354: D/BufferReader(20746): next() waiting....
01-07 20:47:19.105: I/engageTV(20746): Working... 3/5 @ 79647790
01-07 20:47:19.695: D/BufferReader(20746): next() awaken
01-07 20:47:19.705: D/AACPlayer(20746): play(): decoded 43776 samples
01-07 20:47:19.705: W/AudioTrack(20746): releaseBuffer() track 0x6eaf04d0 
name=0x1 disabled, restarting
01-07 20:47:19.705: D/BufferReader(20746): next() waiting....
01-07 20:47:21.097: D/BufferReader(20746): next() awaken
01-07 20:47:21.097: D/AACPlayer(20746): play(): decoded 43776 samples
01-07 20:47:21.097: W/AudioTrack(20746): releaseBuffer() track 0x6eaf04d0 
name=0x1 disabled, restarting
01-07 20:47:21.117: D/BufferReader(20746): next() waiting....
01-07 20:47:22.298: D/BufferReader(20746): next() awaken
01-07 20:47:22.298: D/AACPlayer(20746): play(): decoded 43776 samples
01-07 20:47:22.298: W/AudioTrack(20746): releaseBuffer() track 0x6eaf04d0 
name=0x1 disabled, restarting
01-07 20:47:22.308: D/BufferReader(20746): next() waiting....
01-07 20:47:23.739: D/BufferReader(20746): next() awaken
01-07 20:47:23.749: D/AACPlayer(20746): play(): decoded 43776 samples
01-07 20:47:23.779: D/BufferReader(20746): next() waiting....
01-07 20:47:24.110: I/engageTV(20746): Working... 4/5 @ 79652790
01-07 20:47:25.291: D/BufferReader(20746): next() awaken
01-07 20:47:25.291: D/AACPlayer(20746): play(): decoded 43776 samples
01-07 20:47:25.311: D/BufferReader(20746): next() waiting....
01-07 20:47:26.722: D/BufferReader(20746): next() awaken
01-07 20:47:26.742: D/AACPlayer(20746): play(): decoded 43776 samples
01-07 20:47:26.742: W/AudioTrack(20746): releaseBuffer() track 0x6eaf04d0 
name=0x1 disabled, restarting
01-07 20:47:26.762: D/BufferReader(20746): next() waiting....
01-07 20:47:28.054: D/BufferReader(20746): next() awaken
01-07 20:47:28.064: D/AACPlayer(20746): play(): decoded 43776 samples
01-07 20:47:28.064: W/AudioTrack(20746): releaseBuffer() track 0x6eaf04d0 
name=0x1 disabled, restarting
01-07 20:47:28.074: D/BufferReader(20746): next() waiting....
01-07 20:47:29.105: I/engageTV(20746): Working... 5/5 @ 79657791
01-07 20:47:29.495: D/BufferReader(20746): next() awaken
01-07 20:47:29.515: D/AACPlayer(20746): play(): decoded 43776 samples
01-07 20:47:29.515: W/AudioTrack(20746): releaseBuffer() track 0x6eaf04d0 
name=0x1 disabled, restarting
01-07 20:47:29.545: D/BufferReader(20746): next() waiting....
01-07 20:47:30.926: D/BufferReader(20746): next() awaken
01-07 20:47:30.926: D/AACPlayer(20746): play(): decoded 43776 samples
01-07 20:47:30.936: D/BufferReader(20746): next() waiting....
01-07 20:47:32.198: D/BufferReader(20746): next() awaken
01-07 20:47:32.208: D/AACPlayer(20746): play(): decoded 43776 samples
01-07 20:47:32.228: D/BufferReader(20746): next() waiting....
01-07 20:47:33.599: D/BufferReader(20746): next() awaken
01-07 20:47:33.599: D/AACPlayer(20746): play(): decoded 43776 samples
01-07 20:47:33.599: W/AudioTrack(20746): releaseBuffer() track 0x6eaf04d0 
name=0x1 disabled, restarting
01-07 20:47:33.619: D/BufferReader(20746): next() waiting....
01-07 20:47:34.109: I/engageTV(20746): Completed work @ 79662791
01-07 20:47:34.180: I/engageTV(20746): Handling Message 0
01-07 20:47:34.180: I/engageTV(20746): Received: 0
01-07 20:47:34.890: D/BufferReader(20746): next() awaken
01-07 20:47:34.900: D/AACPlayer(20746): play(): decoded 43776 samples
01-07 20:47:34.910: I/Decoder(20746): stop() stopping native decoder
01-07 20:47:34.910: I/AACPlayer(20746): play(): average decoding time: 745 ms
01-07 20:47:34.910: I/AACPlayer(20746): play(): average rate (samples/sec): 
audio=64000, decoding=58694, audio/decoding= -8 %  (the higher, the better; 
negative means that decoding is slower than needed by audio)
01-07 20:47:34.920: D/PCMFeed(20746): run() stopped.
01-07 20:47:34.930: E/BufferReader(20746): Exception when reading: 
java.net.SocketException: Socket closed

Original issue reported on code.google.com by vince.du...@gmail.com on 8 Jan 2014 at 5:30

GoogleCodeExporter commented 8 years ago
I reproduced this error too. My case is the opposite sound effect.

Original comment by i...@geodeveloper.net on 15 May 2014 at 9:11