Sound not playing

Hi, I just started audirvana and I use a chord mojo as my dac/amp. It works well with everything else but when I first started audirvana, my headphones make a loud popping and crackling noise and my Mac switches to another source automatically. Is there anyway I can use it without it changing it by itself? Thanks.