Implementation of C-Netz (German mobile telephone system)

This commit is contained in:
Andreas Eversberg
2016-02-16 18:56:55 +01:00
parent 4b3e3385b5
commit 16acdbf59d
28 changed files with 10428 additions and 12 deletions

View File

@@ -249,7 +249,10 @@ int sound_get_inbuffer(void *inst)
rc = snd_pcm_delay(sound->phandle, &delay);
if (rc < 0) {
PDEBUG(DSOUND, DEBUG_ERROR, "failed to get delay from interface (%s)\n", snd_strerror(rc));
if (rc == -32)
PDEBUG(DSOUND, DEBUG_ERROR, "Buffer underrun: Please use higher latency and enable real time scheduling\n");
else
PDEBUG(DSOUND, DEBUG_ERROR, "failed to get delay from interface (%s)\n", snd_strerror(rc));
if (rc == -EPIPE)
snd_pcm_prepare(sound->phandle);
return rc;