Showing posts with label problem. Show all posts
Showing posts with label problem. Show all posts

Tuesday, January 12, 2016

Where is list of my youtube subscriptions? [SOLVED]

Where is list of my youtube subscriptions?
I was not able to find it quickly.
Here is the link that will get you to the list of your Youtube subscriptions: https://www.youtube.com/subscription_manager

Monday, May 25, 2015

Solution for choppy/breaking/stuttering audio on Android for software engineers

If you are a software engineer and you are facing with choppy audio on Android and the only clue is the following line in the logcat:
E/AudioSink(54): received unknown event type: 1 inside CallbackWrapper !
then, don't be sad - you don't have to dig Android sources (you can do that, but is it what you really want to do?) to fix buffer underruns in media system ("1" is AudioTrack::EVENT_UNDERRUN).

I highly recommend to switch from MediaPlayer implementation to OpenMXPlayer, it did solve the problem with choppy audio for me. It has the same API as MediaPlayer, so it shall be super fast for you to try it out and finally switch (when you like it) to OpenMXPlayer.

You can find more details here:

  1. Code (License is GNU LGPL) https://code.google.com/p/android-openmxplayer/
  2. http://www.pocketmagic.net/android-audio-player-using-mediacodec-mediaextractor/


It's constructed based on the MediaCodec Api, so it can be used with Android 4.1 or newer. It's fast, easy to understand and robust, making it an excellent choice for your multimedia applications, regardless of the audio source you are targeting: local files or online audio streaming.

If you have other solution or you know some OpenMXPlayer issues, feel free to leave a comment.

Sunday, May 24, 2015

Android Studio build fails with “Task '' not found in root project 'android-UniversalMusicPlayer-master'.”

I was playing with UniversalMusicPlayer sample from https://github.com/googlesamples/android-UniversalMusicPlayer and faced with the following error:

Task '' not found in root project 'android-UniversalMusicPlayer-master'
The following fixed the stuff for me:


  1. Kill ~/.graddle folder (C:\Users\\.graddle)
  2. I have launched gradlew.bat from the root folder. Script did some tricks and now it works for me.