Sound presentation crashes Windows

Hello,

I am using an Asus Xonar D2X sound card  to present low latency sounds using PsychPortAudio (Version 3.0.11 beta; Matlab version R2013a 8.1.0.604, Windows 7 professional, SP1)



The script I use is here:

InitializePsychSound(1);
    nrchannels = 3;
    Samplerate = 44100;
    pahandle = PsychPortAudio('Open', [], 1, 2, Samplerate, nrchannels, [], .020);  
Sound = [wave_L; wave_R; SyncPulse];

  

repetitions=1;
PsychPortAudio('FillBuffer', pahandle, Sound);
StartSound = tic;
PsychPortAudio('Start', pahandle, repetitions, 0, 1);
[SoundTime, SoundDuration, ~, ~] =  PsychPortAudio('Stop', pahandle);

    

PsychPortAudio('DeleteBuffer');

After starting the sound presentation (PsychPortAudio('Start', pahandle, repetitions, 0, 1);) Windows crashes and restarts, giving the following error message: 

DRIVER_IRQL_NOT_LESS_OR_EQUAL

Technical information:
STOP: 0x000000D1 (0x0000000000000000,0x0000000000000002, 0x0000000000000000,0
XFFFFF88005265351)
cmudaxp.sys - Address FFFFF88005265351 base at FFFFF88005243000, Datestamp 46e60248

However win sound works properly and Psychtoolbox recognizes and initializes the sound card properly, giving its correct specs.
The same script also works on a similar pc with an Asus  Xonar Essence ST sound card without problems.

Is this a known bug with this sound card? And is there a fix to it?

Best,
Raphael

It's a kernel audio driver bug, otherwise the system wouldn't die this way. A little Google for "cmudaxp.sys" will show you you're in good company, and maybe even some way out of it. Probably use of ASIO mode for professional class sound output triggers this, whereas typical Windows apps will use non-ASIO mode for sound output.

good luck,
-mario