Severity Code Description Project File Line Suppression State Error (active) BC30521…
- User
Severity Code Description Project File Line Suppression State Error (active) BC30521 Overload resolution failed because no accessible 'AddMixerInput' is most specific for these arguments: 'Public Overloads Sub AddMixerInput(mixerInput As IWaveProvider)': Not most specific. 'Public Overloads Sub AddMixerInput(mixerInput As ISampleProvider)': Not most specific. Enigma D:\01 - Grags\Visual Studio\Enigma\Enigma\frmGame.vb 690 Error (active) BC30521 Overload resolution failed because no accessible 'AddMixerInput' is most specific for these arguments: Enigma D:\01 - Grags\Visual Studio\Enigma\Enigma\frmGame.vb 690
do I need NAudio.Core?
- Assistant
The error you're encountering is related to overload resolution in Visual Basic. This occurs when there are multiple overloads of a method and the compiler cannot determine the most specific one to use based on the arguments provided.
In your case, the
AddMixerInputmethod has two overloads:Public Overloads Sub AddMixerInput(mixerInput As IWaveProvider)