mirror of https://github.com/ericonr/sndio.git
better dprintfs
This commit is contained in:
parent
edb571c12e
commit
48c6dc6585
13
aucat/wav.c
13
aucat/wav.c
|
@ -497,14 +497,11 @@ wav_init(struct wav *f)
|
||||||
f->pstate = WAV_INIT;
|
f->pstate = WAV_INIT;
|
||||||
if ((f->mode & f->dev->mode) != f->mode) {
|
if ((f->mode & f->dev->mode) != f->mode) {
|
||||||
#ifdef DEBUG
|
#ifdef DEBUG
|
||||||
wav_dbg(f);
|
if (debug_level >= 1) {
|
||||||
dbg_puts(": ");
|
wav_dbg(f);
|
||||||
dbg_puts("d = ");
|
dbg_puts(": ");
|
||||||
dbg_putx(f->dev->mode);
|
dbg_puts(": operation not supported by device\n");
|
||||||
dbg_puts(", f = ");
|
}
|
||||||
dbg_putx(f->mode);
|
|
||||||
|
|
||||||
dbg_puts(": operation not supported by device\n");
|
|
||||||
#endif
|
#endif
|
||||||
wav_exit(f);
|
wav_exit(f);
|
||||||
return 0;
|
return 0;
|
||||||
|
|
Loading…
Reference in New Issue