Change from default audio device to ASIO device

Hi, I want to play a wave file via an ASIO device. I'm able to play audio, but on the default audio device. I've gone through the juce api & forum but can't get how to change an audio device.

Is there a source example of making an ASIO device the current audio device?