Author Topic: BASS for iOS (iPhone/iPad)  (Read 689527 times)

Ian @ un4seen

  • Administrator
  • Posts: 23272
Re: BASS for iOS (iPhone/iPad)
« Reply #1400 on: 5 Nov '20 - 16:47 »
What is the error code from the BASS_StreamCreateFile call? Use BASS_ErrorGetCode immediately after to check that. Are other file formats in the same location playing OK? If the problem is happening with a particular file, please upload that to have a look at here:

   ftp.un4seen.com/incoming/

ankitsaini

  • Posts: 3
Re: BASS for iOS (iPhone/iPad)
« Reply #1401 on: 10 Nov '20 - 14:52 »
I am getting this error code:
BASS_ERROR_FILEFORM    41    // unsupported file format

Other files are in .mp3 format on same location and playing fine but the problem only occurring with .mov, .m4a or .mp4 files.

What is the error code from the BASS_StreamCreateFile call? Use BASS_ErrorGetCode immediately after to check that. Are other file formats in the same location playing OK? If the problem is happening with a particular file, please upload that to have a look at here:

   ftp.un4seen.com/incoming/

Ian @ un4seen

  • Administrator
  • Posts: 23272
Re: BASS for iOS (iPhone/iPad)
« Reply #1402 on: 10 Nov '20 - 15:39 »
I just noticed in your post that you've put the BASS_STREAM_PRESCAN flag in the BASS_StreamCreateFile call's "offset" parameter. That could explain the BASS_ERROR_FILEFORM error because BASS doesn't see the file's headers then. Does the problem still happen if you change that to 0? If so, please upload one of the affected files to have a look at.

Ian @ un4seen

  • Administrator
  • Posts: 23272
Re: BASS for iOS (iPhone/iPad)
« Reply #1403 on: 4 Dec '20 - 17:12 »
The iOS versions of the BASSenc 2.4.15, BASSenc_FLAC 2.4.3, BASSenc_OGG 2.4.1, BASSenc_OPUS 2.4.2, BASSFLAC 2.4.4.5 releases are now up in the 1st post.