Supported file types

Started by kafffee,

kafffee

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:

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

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

#2
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?

Ian @ un4seen

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

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.