diff options
-rw-r--r-- | src/AlsaDabplus.cpp | 2 | ||||
-rw-r--r-- | src/dabplus-enc-file-zmq.c | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/src/AlsaDabplus.cpp b/src/AlsaDabplus.cpp index f8e4f4b..c08c98d 100644 --- a/src/AlsaDabplus.cpp +++ b/src/AlsaDabplus.cpp @@ -402,6 +402,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. 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. |