Author Topic: BASS for Android  (Read 367673 times)

Ian @ un4seen

  • Administrator
  • Posts: 20063
Re: BASS for Android
« Reply #1275 on: 24 May '17 - 16:51 »
You can use the MediaCodecList class to get all available codecs:

   https://developer.android.com/reference/android/media/MediaCodecList.html

Ionut Cristea

  • Posts: 1545
Re: BASS for Android
« Reply #1276 on: 12 Jun '17 - 07:11 »
  Hello Ian,

I am wondering if BASS_FILEPROCS functions are called by main thread using for example BASS_ChannelPlay function. If yes how i can avoid that?

Thanks,
Ionut

Ian @ un4seen

  • Administrator
  • Posts: 20063
Re: BASS for Android
« Reply #1277 on: 12 Jun '17 - 17:17 »
Yes, BASS_ChannelPlay will usually need to decode some data before starting playback, which is likely to require some file reading. You can avoid that by calling BASS_ChannelUpdate first, which you could do in another thread.