Tested with 6.7-0235
Opening the Audioplayer reference patch for example doesn’t throw an error but it doesn’t play / position doesn’t update (Oscillator and Noise also don’t give any audible output).
When opening the Audioconfiguration (Alt + C) I am greeted by a black, empty window.
Log says this:
Failed to run handler of VL.Audio Configuration
System.NullReferenceException: Object reference not set to an instance of an object.
at VL.Audio.AudioEngine.GetSupportedChannels(Int32& inputChannels, Int32& outputChannels)
at _VL_Audio_.Audio.DriverStatus_KO34XCKo2v1OzrwCrrrcJn.Update(Boolean& Is_Playing_Out, String& Selected_Drive
r_Out, Boolean& Driver_Is_Default_Selection_Out, Boolean& Is_ASIO_Out, Int32& Sample_Rate_Out, Int32& Buffer_Size
_Out, String& Selected_WASAPI_Input_Device_Out, Boolean& WASAPI_Input_Is_Default_Selection_Out, Int32& Available_
Input_Channels_Out, Int32& Open_Input_Channels_Out, Int32& Available_Output_Channels_Out, Int32& Open_Output_Chan
nels_Out, Int32& ASIO_Input_Channel_Offset_Out, Int32& ASIO_Output_Channel_Offset_Out, String& Last_Error_Out)
at _VL_Audio_UI_.Audio.SettingsUI.Controller_S3CWhfU8QqfLJ3sXU76kav.Update(IObservable`1 UI_State_In, AudioSet
tings_R& Output_Out)
at _VL_Audio_HDE_.__auto.VL_Audio_HDEApplication_VyP04T5McEJP0VF85XlHM4.<>c__DisplayClass3_0.<Update>b__8(Obje
ct stateInput_64, IReadOnlyList`1 inputs_65, IReadOnlyList`1 incomingLinks_66, Object& stateOutput_68, Spread`1&
outputs_69)
at _VL_ImGui_.ReGui.ImmediateModeNode_C.<>c__DisplayClass3_0.<Update>b__0(Context Obj_In_51)
at VL.ImGui.Widget.Update(Context context)
at VL.ImGui.ToSkiaLayer.Update(Widget widget, Boolean dockingEnabled, Spread`1 fonts, IStyle Style)
at _VL_Audio_HDE_.__auto.VL_Audio_HDEApplication_VyP04T5McEJP0VF85XlHM4.<>c__DisplayClass3_0.<Update>b__0(Obje
ct stateInput_22, Object& stateOutput_24, IWindow& window_25)
at VL.HDE.WindowFactory.Update(String name, CreateHandler create, UpdateHandler update, Int32& activeWindowCou
nt)
Driversettings stops with NullReferenceExeception when set to
WASAPI: Current System Device
or Default
.
Unexpected exception during Update: Object reference not set to an instance of an object.
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation.
---> System.NullReferenceException: Object reference not set to an instance of an object.
at VL.Audio.AudioEngine.GetSupportedChannels(Int32& inputChannels, Int32& outputChannels)
at VL.Audio.AudioEngine.ChangeDriverSettings(String driverName, String wasapiRecordingName, Int32 sampleRate,
Int32 inputChannels, Int32 inputChannelOffset, Int32 outputChannels, Int32 outputChannelOffset)
at _VL_Audio_.Audio.DriverSettings_KuVlAdkS707LcgTmpwbm2r.Update(AudioDevice Driver_In, AudioSampleRate Sample
_Rate_In, WasapiInputDevice Wasapi_Input_In, Int32 Desired_Input_Channels_In, Int32 Desired_Input_Channel_Offset_
In, Int32 Desired_Output_Channels_In, Int32 Desired_Output_Channel_Offset_In, Boolean Show_Control_Panel_In, Bool
ean Enabled_In, String& Selected_Driver_Out, Int32& Sample_Rate_Out, Int32& Buffer_Size_Out, String& Selected_WAS
API_Input_Device_Out, Int32& Available_Input_Channels_Out, Int32& Open_Input_Channels_Out, Int32& Available_Outpu
t_Channels_Out, Int32& Open_Output_Channels_Out, String& Last_Error_Out, Boolean& Is_ASIO_Out)
at _Explanation_Overview_.__auto.Explanation_OverviewApplication_HxjL4vVCGyzPIknG3sV8h5Program_.Update__TRACE_
_(Explanation_OverviewApplication_HxjL4vVCGyzPIknG3sV8h5 __self, PatchTracer __tracer) in D:\_vvvv\vvvv_gamma_6.7
-0235\packs\VL.Audio\help\Explanation Overview.vl.1.cs:line 252
at _Explanation_Overview_.__auto.Explanation_OverviewApplication_HxjL4vVCGyzPIknG3sV8h5Program_.Update(Explana
tion_OverviewApplication_HxjL4vVCGyzPIknG3sV8h5 __self) in D:\_vvvv\vvvv_gamma_6.7-0235\packs\VL.Audio\help\Expla
nation Overview.vl.1.cs:line 25
at InvokeStub_Explanation_OverviewApplication_HxjL4vVCGyzPIknG3sV8h5.Update(Object, Object, IntPtr*)
at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)
--- End of inner exception stack trace ---
at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)
at VL.Lang.Platforms.RuntimeInstance.Step(ITargetCompilation compilation, TimeSpan timeSinceStart)
at VL.Lang.Platforms.RuntimeHost.StepInstances(ITargetCompilation compilation, TimeSpan timeSinceStart, Boolean& hadToKill)
When setting it to a Asio driver like for example the one from FL Studio it works.
It works in 6.6.