Author Topic: Supported file types  (Read 320 times)

kafffee

  • Posts: 252
Supported file types
« on: 6 Sep '23 - 07:54 »
Hello  :)

I ran into a very little problem:

In my application I have the user search for radiostreams ot the following file types:

mp3
flac
ogg
opus
wv
alac
aac
aac+
wma
aiff

I am initializing bass.dll with the following code:

Code: [Select]
Bass.BASS_PluginLoad("bass_aac.dll")
Bass.BASS_PluginLoad("bassalac.dll")
Bass.BASS_PluginLoad("bassflac.dll")
Bass.BASS_PluginLoad("bassopus.dll")
Bass.BASS_PluginLoad("basswma.dll")
Bass.BASS_PluginLoad("basswv.dll")

Still on one radio stream, I got ErrorGetCode = 41 when I try to start playback. Unfortunately, I don't know which file type it was, because the error occured on someone else who was testing my app.

Did I initialize right? The types OGG and AIFF should be included in bass.dll, right? And AAC+ is done by bass_aac.dll??

Ian @ un4seen

  • Administrator
  • Posts: 25595
Re: Supported file types
« Reply #1 on: 6 Sep '23 - 13:08 »
Do you have the stream's URL? If it happens to end in ".m3u8" then adding the BASSHLS add-on to your app (via BASS_PluginLoad) should make it playable.

If the problem persists, also confirm what Windows version the user is running, as that will determine what Media Foundation support is available.

kafffee

  • Posts: 252
Re: Supported file types
« Reply #2 on: 6 Sep '23 - 14:15 »
Wow cool. Unfortunately, I cannot tell what URL it was, but my user has Windows 11 running...

So, OGG, AIFF, and AAC+ should be running with my setup?
« Last Edit: 6 Sep '23 - 14:39 by kafffee »

Ian @ un4seen

  • Administrator
  • Posts: 25595
Re: Supported file types
« Reply #3 on: 6 Sep '23 - 16:57 »
Yes, those formats should all be supported. Can you ask the user what the URL is? We can't really know why it's not working without seeing it.

kafffee

  • Posts: 252
Re: Supported file types
« Reply #4 on: 6 Sep '23 - 17:03 »
No unfortunately he did not memorize that.

Its okay, I guess some day, it will happen again.

For now, I'll go with that BASSHLS.