Torben,
Lately I get this error (not allways) when starting up mAirList
17-9-2014 12:12:01 Error Unable to start recording on BASS:2: Invalid stream handle
Got an idea what this could be?
Regards,
Ferry
Torben,
Lately I get this error (not allways) when starting up mAirList
17-9-2014 12:12:01 Error Unable to start recording on BASS:2: Invalid stream handle
Got an idea what this could be?
Regards,
Ferry
What is the device being used for? Mic or Line for the encoder?
If you’re running something newer than XP, try using WASAPI instead of DirectSound.
WASAPI seems to fix it indeed.
Only I can use it on inputs but not the outputs, because they get limited to 4 channels instead of 8 (7.1 audio cards)
What’s your speaker settings in the Windows Playback Devices configuration (Windows Control Panel)? Set it to 7.1 there, this should make all channels appear in the mAirList setup. (Windows hides them if you set the speakers to only stereo or quad.)
They are set to 7.1.
DirectSound works good, Wasapi shows 4 stereo outs but only plays on the first two.
Little update:
Starting mAirList a few moments ago:
18-9-2014 13:12:00 Error Unable to start recording on WASAPI:{0.0.1.00000000}.{adda36d0-2336-4b5d-8bb1-7216475d89c3}: Invalid stream handle
Yesterday was fine.
I believe this “invalid stream handle” messages is hiding the actual error message that comes from BASSWASAPI.
Can you please try build 2526 if it gives a different message?
Will let you know when it happens again.
Thanks!
Here it is:
19-9-2014 11:58:56 Error Unable to start recording on WASAPI:{0.0.1.00000000}.{adda36d0-2336-4b5d-8bb1-7216475d89c3}: Assertion failure (C:\projects\mAirList\source\modules\BassAudio\BassRecordDevice.pas, line 177)
Hope you can do something with this.
Regards,
Ferry
Thank. We’re getting closer. Try b2527 please, error message should change once again.
Now I am getting:
19-9-2014 15:38:55 Error Unable to start recording on WASAPI:{0.0.1.00000000}.{adda36d0-2336-4b5d-8bb1-7216475d89c3}: BASS_WASAPI_Init: BASS error -1
Ok, now that’s the actual error message that comes from BASS/BASSWASAPI.
It’s not very helpful though. -1 is the error code for all unexpected errors.
What kind of sound card is that?
It is a VIA HD Audio onboard.
HDAUDIO\FUNC_01&VEN_1106&DEV_E721&SUBSYS_10438345&REV_1001
Motherboard is Asus M3N87-VM
For a while i got no errors, until now:
28-9-2014 13:11:37 Error Unable to start recording on WASAPI:{0.0.1.00000000}.{adda36d0-2336-4b5d-8bb1-7216475d89c3}: BASS_WASAPI_Init: unsupported sample format (BASS error 6)
Regards,
Ferry
An issue with the sample rate perhaps? Does it match the one that Windows displays in the advanced properties of the playback device?
Yes, all are the same 44100
Torben,
Suddenly now I get Unable to start recording on BASS:2: BASS_RecordInit(2): can’t find a free sound driver (BASS error 3)
This is at random when starting mAirList, restarting the program solves it (not ideal)
Looks like the sound driver needs more time to get initialized?
Regards,
Ferry
“BASS:2” indicates that you are now using DirectSound for recording? Not WASAPI anymore?
Hmmm, for some strange reason the Encoder was set for Direct Sound.
Changed it back.
Thanks!