Codingspezis / metal-only

Metal Only Android App

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Wrong 128 kb/s playback

rbrtslmn opened this issue · comments

There is a low probability that the 128 kb/s stream will be decoded wrong. This causes a slower, bad sounding playback.
This was handled with a workaround before fix of Issue #27 on bitbucket: "Update aacdecoder-android" and must be redone for revision 28.

defective:
07-30 11:57:14.148: D/PCMFeed(6410): run(): sampleRate=48000, channels=1, bufferSizeInBytes=144000 (1500 ms)

correctly:
07-30 11:57:10.847: D/PCMFeed(6410): run(): sampleRate=44100, channels=2, bufferSizeInBytes=264600 (1500 ms)

Workaround log:

07-31 12:02:53.046: D/OpencorePlayer(10446): play(): samplerate=8000, channels=2
07-31 12:02:53.046: I/Decoder(10446): stop() stopping native decoder
07-31 12:02:53.046: E/OpencorePlayer(10446): playAsync(): Wrong sample rate detected: 8000
07-31 12:02:53.046: E/OpencorePlayer(10446): playAsync(): restarting playback #1