summaryrefslogtreecommitdiffstats
path: root/src/AlsaDabplus.cpp
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/AlsaDabplus.cpp
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/AlsaDabplus.cpp')
-rw-r--r--src/AlsaDabplus.cpp2
1 files changed, 2 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.