ASIO4All not detected by Juce plug-in Host

Hi,

I am trying to work with Juce, and more specially with the plug-in host.

For some reason, ASIO4All (which is installed on my machine) is not detected in the "Audio device type" drop box.

Is there something I am missing, should I configure something?

Thanks

Nathaniel

You have to include the ASIO SDK when building the host to allow ASIO drivers.

just enable ASIO as build setting in the Introjucer and follow the advice from the build errors (Jules wrote some pretty self explanatory instructions there)

Hi

sorry to insist, I am pretty new to this, I don't know what is ASIO SDK.

Yo what I should include it?

Is it necessary to use Projucer for that?

 

Is there some tutorial somewhere who could help me ?

Thank you

Nathaniel

In the introjucer/projucer, click on the "juce_audio_devices" module. In its settings, enable "JUCE_ASIO". Save. Build. You'll get an include error with some helpful comments above it.

I did it, everything compiles fine, but when I choose the option ASIO in the dialog, the plug-in host crashes...in asio4all.dll

 

any idea?

 

Thanks

 

Nathaniel

 

Stack trace?

>    asio4all.dll!10006e44()    Unknown
     [Frames below may be incorrect and/or missing, no symbols loaded for asio4all.dll]    
     kernel32.dll!773f7c04()    Unknown
     ntdll.dll!77d7ad5f()    Unknown
     ntdll.dll!77d7ad2a()    Unknown

 

something in ASIO4all.dll....

 

Well, looks like a bug in asio4all or your sound driver. Probably something specfic to your setup, because it's usually very stable.

problem was in ASIO4All, I did remove and reinstall and it is now ok

But there is now a crash when I press Test in the configuration settings dialog box: here is the stack:

 

     ntdll.dll!77e07366()    Unknown
     [Frames below may be incorrect and/or missing, no symbols loaded for ntdll.dll]    
     ntdll.dll!77da7896()    Unknown
     sysfer.dll!753b7cb2()    Unknown
     sysfer.dll!753b7cd4()    Unknown
     sysfer.dll!753b7cd4()    Unknown
     sysfer.dll!753b7cb2()    Unknown
     sysfer.dll!753b7cd4()    Unknown
     sysfer.dll!753b8cc0()    Unknown
     sysfer.dll!753b8cc0()    Unknown
     sysfer.dll!753b8cc0()    Unknown
     sysfer.dll!753b8e8b()    Unknown
     sysfer.dll!753b8f26()    Unknown
     ntdll.dll!77d5c6ac()    Unknown
     ntdll.dll!77d5c49c()    Unknown
     KernelBase.dll!75960669()    Unknown
     wdmaud.drv!5c4aef7f()    Unknown
     wdmaud.drv!5c4ae8aa()    Unknown
     wdmaud.drv!5c4aee63()    Unknown
     wdmaud.drv!5c4ae6fd()    Unknown
     wdmaud.drv!5c4ad1cc()    Unknown
     wdmaud.drv!5c4ac9c4()    Unknown
     wdmaud.drv!5c4ace7e()    Unknown
     wdmaud.drv!5c497276()    Unknown
     KernelBase.dll!75992844()    Unknown
>    Plugin Host.exe!_free_base(void * pBlock) Line 50    C
     wdmaud.drv!5c49a5ae()    Unknown
     winmmbase.dll!74d6471b()    Unknown
     Plugin Host.exe!juce::MidiOutput::openDevice(int index) Line 408    C++
     Plugin Host.exe!juce::AudioDeviceManager::setDefaultMidiOutput(const juce::String & deviceName) Line 913    C++
     Plugin Host.exe!juce::AudioDeviceSelectorComponent::comboBoxChanged(juce::ComboBox * comboBoxThatHasChanged) Line 1124    C++
     Plugin Host.exe!juce::ListenerList<juce::ComboBox::Listener,juce::Array<juce::ComboBox::Listener *,juce::DummyCriticalSection,0> >::callChecked<juce::Component::BailOutChecker,juce::ComboBox *>(const juce::Component::BailOutChecker & bailOutChecker, void (juce::ComboBox *) * callbackFunction, juce::ComboBox * param1) Line 182    C++
     Plugin Host.exe!juce::ComboBox::handleAsyncUpdate() Line 633    C++
     Plugin Host.exe!juce::AsyncUpdater::AsyncUpdaterMessage::messageCallback() Line 34    C++
     Plugin Host.exe!juce::WindowsMessageHelpers::dispatchMessageFromLParam(long lParam) Line 49    C++
     Plugin Host.exe!juce::MessageManager::dispatchNextMessageOnSystemQueue(bool returnIfNoPendingMessages) Line 118    C++
     Plugin Host.exe!juce::MessageManager::runDispatchLoopUntil(int millisecondsToRunFor) Line 94    C++
     Plugin Host.exe!juce::ModalComponentManager::runEventLoopForCurrentComponent() Line 285    C++
     Plugin Host.exe!juce::Component::runModalLoop() Line 1712    C++
     Plugin Host.exe!juce::DialogWindow::LaunchOptions::runModal() Line 120    C++
     Plugin Host.exe!MainHostWindow::showAudioSettings() Line 494    C++
     Plugin Host.exe!MainHostWindow::perform(const juce::ApplicationCommandTarget::InvocationInfo & info) Line 434    C++
     Plugin Host.exe!juce::ApplicationCommandTarget::tryToInvoke(const juce::ApplicationCommandTarget::InvocationInfo & info, bool async) Line 67    C++
     Plugin Host.exe!juce::ApplicationCommandTarget::CommandMessage::messageCallback() Line 37    C++
     Plugin Host.exe!juce::WindowsMessageHelpers::dispatchMessageFromLParam(long lParam) Line 49    C++
     Plugin Host.exe!juce::MessageManager::dispatchNextMessageOnSystemQueue(bool returnIfNoPendingMessages) Line 118    C++
     Plugin Host.exe!juce::MessageManager::runDispatchLoop() Line 130    C++
     Plugin Host.exe!juce::JUCEApplicationBase::main() Line 244    C++
     Plugin Host.exe!WinMain(HINSTANCE__ * __formal, HINSTANCE__ * __formal, char * __formal, int __formal) Line 119    C++
     Plugin Host.exe!__tmainCRTStartup() Line 238    C
     Plugin Host.exe!WinMainCRTStartup() Line 164    C
     kernel32.dll!773f7c04()    Unknown
     ntdll.dll!77d7ad5f()    Unknown
     ntdll.dll!77d7ad2a()    Unknown


thank you

 

Nathaniel

Looks like you've got some pretty messed-up drivers on your machine!