Radio Error Code

Started by umar4911, Apr 03, 2019, 02:36 PM

Previous topic - Next topic

umar4911

in debug, when trying to play radio, it gives error code 20. What does that mean??
RT Member | Asian City Scripter | CTB Contributor | VKs Contributor | European City Contributor | EAD Scripter

Xenon

#1
Error codes list
0 BASS_OK
1 BASS_ERROR_MEM
2 BASS_ERROR_FILEOPEN
3 BASS_ERROR_DRIVER
4 BASS_ERROR_BUFLOST
5 BASS_ERROR_HANDLE
6 BASS_ERROR_FORMAT
7 BASS_ERROR_POSITION
8 BASS_ERROR_INIT
9 BASS_ERROR_START
10 BASS_ERROR_SSL
14 BASS_ERROR_ALREADY
18 BASS_ERROR_NOCHAN
19 BASS_ERROR_ILLTYPE
20 BASS_ERROR_ILLPARAM
21 BASS_ERROR_NO3D
22 BASS_ERROR_NOEAX
23 BASS_ERROR_DEVICE
24 BASS_ERROR_NOPLAY
25 BASS_ERROR_FREQ
27 BASS_ERROR_NOTFILE
29 BASS_ERROR_NOHW
31 BASS_ERROR_EMPTY
32 BASS_ERROR_NONET
33 BASS_ERROR_CREATE
34 BASS_ERROR_NOFX
37 BASS_ERROR_NOTAVAIL
38 BASS_ERROR_DECODE
39 BASS_ERROR_DX
40 BASS_ERROR_TIMEOUT
41 BASS_ERROR_FILEFORM
42 BASS_ERROR_SPEAKER
43 BASS_ERROR_VERSION
44 BASS_ERROR_CODEC
45 BASS_ERROR_ENDED
46 BASS_ERROR_BUSY
-1 BASS_ERROR_UNKNOWN
Source:
https://www.un4seen.com/doc/#bass/BASS_ErrorGetCode.html

umar4911

Quote from: Xenon on Apr 03, 2019, 05:52 PMError codes list
20 BASS_ERROR_ILLPARAM
what does this error means? how to solve it?
RT Member | Asian City Scripter | CTB Contributor | VKs Contributor | European City Contributor | EAD Scripter

dracc

Quote from: umar4911 on Apr 04, 2019, 01:44 PM
Quote from: Xenon on Apr 03, 2019, 05:52 PMError codes list
20 BASS_ERROR_ILLPARAM
what does this error means? how to solve it?

It is probably related to the shape of your radio stream and/or how you call the CreateRadio function (argument order?).

umar4911

I don't know what the error was but I just made the link in my main function and it worked xD
RT Member | Asian City Scripter | CTB Contributor | VKs Contributor | European City Contributor | EAD Scripter