aj->state = MTSTATE_UNKNOWN;
aj->play_state = MTPSTATE_UNKNOWN;
-#ifdef EF_USE_ASYNEQ
SXE_MUTEX_INIT(&aj->mtx);
+#ifdef EF_USE_ASYNEQ
audio_job_queue(aj) = NULL;
#endif
aj->buffer = NULL;
aj->buffer_alloc_size = 0;
- SOUND_DEBUG_AJ("created: 0x%lx\n", (long unsigned int)aj);
+ SOUND_DEBUG_AJ("created: 0x%lx stream 0x%lx device 0x%lx sentinel 0x%lx\n",
+ (long unsigned int)aj, (long unsigned int)stream,
+ (long unsigned int)device, (long unsigned int) sentinel);
return aj;
}
aj->queue = NULL;
#endif
- SOUND_DEBUG_AJ("calling play meth\n");
+ SOUND_DEBUG_AJ("sync calling play meth\n");
XAUDIO_DEVICE(device)->meths->play(aj);
if (!NILP(sentinel)) {