Author Topic: BASS for Android  (Read 495793 times)

otherside

  • Posts: 39
Re: BASS for Android
« Reply #1500 on: 20 Dec '18 - 08:47 »
Thanks, I see what the problem is now. Here's an update that should fix it:

   www.un4seen.com/stuff/bass-android-test.zip

Let me know if you still have the problem with that.

Thank you. It fixed the problem. Also wanted to ask why BASS.BASS_StreamGetFilePosition(chan, BASS.BASS_FILEPOS_END) returns -1 on .m4a files? Here's a file - https://yadi.sk/d/4XF2bH8PuUtTsw

Ian @ un4seen

  • Administrator
  • Posts: 21447
Re: BASS for Android
« Reply #1501 on: 20 Dec '18 - 15:18 »
When using Android media codecs (except AAC/ADTS), the file reading isn't handled by BASS so most of the BASS_StreamGetFilePosition modes aren't available. BASS_FILEPOS_SIZE is the only one that is.

pony

  • Posts: 1
Re: BASS for Android
« Reply #1502 on: 15 Jan '19 - 08:36 »
android studio debug to this line,it will step over this line and exit the app. I don't konw the reason and need your help.thanks.

int version= BASSenc_MP3.BASS_Encode_MP3_GetVersion();

Ian @ un4seen

  • Administrator
  • Posts: 21447
Re: BASS for Android
« Reply #1503 on: 15 Jan '19 - 13:22 »
That probably means the BASSenc_MP3 library (libbassenc_mp3.so files) hasn't been included in the app. You can open the app's APK file in ZIP software to check that. Also check the Logcat window for an error message.

Ian @ un4seen

  • Administrator
  • Posts: 21447
Re: BASS for Android
« Reply #1504 on: 17 Jan '19 - 16:38 »
The Android version of the BASS 2.4.14 release is up now in the 1st post.