BaH.Bass record device info

BlitzMax Forums/Brucey's Modules/BaH.Bass record device info

Flanker(Posted 2016) [#1]
Hello, I'm trying to use the BASS module for an audio recording app, I chose BASS instead of OpenAL because of the spectrum analysis that may be useful later.

Anyway, the example03.bmx shows how to retrieve the audio devices names like that :
Local i:Int = 0
Local info:TBassDeviceInfo = TBass.GetDeviceInfo(i)
While info
	Print i + " : " + info.GetName()

	i:+ 1
	info = TBass.GetDeviceInfo(i)
Wend
In the documentation about TBassDeviceInfo it's written :
Used with TBass.GetDeviceInfo or TBassRecord.GetDeviceInfo to retrieve information on a device.

So I tried TBassRecord.GetDeviceInfo to retrieve the available recording devices but it tells me that GetDeviceInfo can't be found. I'm not used with Bmax, and even less with modules but I dig a little in the bmx module files and found that there was no GetDeviceInfo function for TBassRecord in the module.

Is there a way to add this function ? It must have to be linked with the function in the .dll (BASS_RecordGetDeviceInfo) but I don't understand anything in the logic of a module...