bptr = (sxe_sox_sample_t*)outbuf;
samples = sxe_sox_read(ft, bptr, mtap->channels*length);
- SOX_DEBUG_S("SoX handle: 0x%lx read %zd samples\n",
+ SOX_DEBUG_S("SoX handle: 0x%lx read %zd samples\n",
(unsigned long int)ft, samples);
if (samples < 0)
return;
/* fetch the SNDFILE context and our audio props */
- if (!(ft = media_stream_data(ms)))
+ if (!(ft = media_stream_data(ms)))
return;
SOX_DEBUG_S("rewind stream 0x%lx\n", (unsigned long int)ft);
#ifdef SXE_SOX_CAN_SEEK
if( sxe_sox_seek(ft, 0, SOX_SEEK_SET) == 0 ) {
return;
- }
- SOX_DEBUG_S("rewind stream 0x%lx failed, trying reopen\n",
+ }
+ SOX_DEBUG_S("rewind stream 0x%lx failed, trying reopen\n",
(unsigned long int)ft);
#endif
sxe_sox_close(ft);
mkind_file_properties *mkfp = NULL;
const char *file = NULL;
int file_len __attribute__((unused)) = 0;
-
+
/* open the file */
mkfp = media_stream_kind_properties(ms).fprops;
TO_EXTERNAL_FORMAT(LISP_STRING, mkfp->filename,
}
JACK_DEBUG("SEMAPHORE WAIT: 0x%x@0x%x@0x%x\n",
- (unsigned int)&(sjsd->sem),
- (unsigned int)sjsd,
+ (unsigned int)&(sjsd->sem),
+ (unsigned int)sjsd,
(unsigned int)aj);
SXE_SEMAPH_SYNCH(&(sjsd->sem));
code = 0;
aj->buffer = NULL;
aj->buffer_alloc_size = 0;
- SOUND_DEBUG_AJ("created: 0x%lx stream 0x%lx device 0x%lx sentinel 0x%lx\n",
+ 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;