Fix builds with no DEBUG defined.

This commit is contained in:
Alexandre Ratchov 2019-07-28 11:26:51 +02:00
parent 50ccf31dd8
commit 436f0dbfff
2 changed files with 4 additions and 0 deletions

View File

@ -489,8 +489,10 @@ sio_alsa_xrun(struct sio_alsa_hdl *hdl)
int wbpf;
DPRINTFN(2, "sio_alsa_xrun:\n");
#ifdef DEBUG
if (_sndio_debug >= 2)
_sio_printpos(&hdl->sio);
#endif
/*
* we assume rused/wused are zero if rec/play modes are not

View File

@ -665,8 +665,10 @@ sio_oss_xrun(struct sio_oss_hdl *hdl)
int wbpf;
DPRINTFN(2, "sio_oss_xrun:\n");
#ifdef DEBUG
if (_sndio_debug >= 2)
_sio_printpos(&hdl->sio);
#endif
/*
* we assume rused/wused are zero if rec/play modes are not