summaryrefslogtreecommitdiffstats
path: root/src/dabplus-enc-file-zmq.c
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2014-03-09 18:56:52 +0100
committerMatthias P. Braendli <matthias.braendli@mpb.li>2014-03-09 18:56:52 +0100
commit7b59e9865f030c0d2dfd1cca0f303013654e2111 (patch)
tree670c9f7f36c4ce4d6ddfe851c70eebf38c76a8e2 /src/dabplus-enc-file-zmq.c
parent161b139b62811cce3ec86bd86d32d165801ea123 (diff)
downloadODR-AudioEnc-7b59e9865f030c0d2dfd1cca0f303013654e2111.tar.gz
ODR-AudioEnc-7b59e9865f030c0d2dfd1cca0f303013654e2111.tar.bz2
ODR-AudioEnc-7b59e9865f030c0d2dfd1cca0f303013654e2111.zip
add nice PAD data debugging output
Diffstat (limited to 'src/dabplus-enc-file-zmq.c')
-rw-r--r--src/dabplus-enc-file-zmq.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/dabplus-enc-file-zmq.c b/src/dabplus-enc-file-zmq.c
index 9b6d684..cb83877 100644
--- a/src/dabplus-enc-file-zmq.c
+++ b/src/dabplus-enc-file-zmq.c
@@ -378,6 +378,8 @@ int main(int argc, char *argv[]) {
else if(ret >= 0) {
// Otherwise, you're good to go and buffer should contain "count" bytes.
in_buf.numBufs = 2; // Samples + Data;
+ if (ret > 0)
+ fprintf(stderr, "p");
}
else {
// Some other error occurred during read.