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

Ian @ un4seen

  • Administrator
  • Posts: 19894
Re: BASS for iOS (iPhone/iPad)
« Reply #1175 on: 31 Mar '17 - 15:07 »
The iOS version of the BASSMIDI 2.4.11 release is now up in the 1st post.

draenorr

  • Posts: 2
Re: BASS for iOS (iPhone/iPad)
« Reply #1176 on: 3 Apr '17 - 09:24 »
Hello, I have a problem with bitRate
I'm trying to open online stream
http://radio.sosimc.ru:9000/838264aac
Code: [Select]
BASS_ChannelGetAttribute(chan, BASS_ATTRIB_BITRATE, &_bitRate)bass return me 4294967

This value returned for any AAC stream. Is this attribute unsupported for AAC or I'm made an error somewhere?
« Last Edit: 3 Apr '17 - 09:59 by draenorr »

Ian @ un4seen

  • Administrator
  • Posts: 19894
Re: BASS for iOS (iPhone/iPad)
« Reply #1177 on: 3 Apr '17 - 15:55 »
A BASS update to fix that problem is up now in the 1st post, so please re-download to get that.

draenorr

  • Posts: 2
Re: BASS for iOS (iPhone/iPad)
« Reply #1178 on: 4 Apr '17 - 08:59 »
Thank you very much!

Oleg N

  • Posts: 74
BASS_StreamCreateURL() for iTunes music delay
« Reply #1179 on: 7 Apr '17 - 11:57 »
Has anyone had this problem?
When starting a track on iOS device from iTunes library using "ipod-library://" URL it takes 2 to 7 seconds before playback actually starts.
- tracks are usually 320 kbps AAC, without DRM, synced from iTunes on mac.
- reproduces randomly on iPhone 5S, 6S, 7+, with iOS 10.3, built on XCode 8;
- no particular track on which this happens, problem seems to disappear after 3-4 tracks, but then suddenly sometimes appears again

Code: [Select]
    DWORD flags = BASS_SAMPLE_FLOAT | BASS_ASYNCFILE;
    _sourceChannel = BASS_StreamCreateURL(iPodURL.absoluteString.UTF8String, 0, flags, NULL, NULL);
« Last Edit: 7 Apr '17 - 16:50 by Oleg N »

Ian @ un4seen

  • Administrator
  • Posts: 19894
Re: BASS for iOS (iPhone/iPad)
« Reply #1180 on: 7 Apr '17 - 16:01 »
Is the delay in the stream creation or in starting playback, ie. in the BASS_StreamCreateURL or BASS_ChannelPlay call?

With "ipod-library://" URLs, iOS (rather than BASS) handles the file reading. I'm not entirely sure what iOS does internally with them, eg. what sort of overhead iPod library access has.