pcmprint

CLI PCM visualiser
git clone git://nsmpr.xyz/pcmprint.git
Log | Files | Refs | README

commit 273e067699620adbcaede1763d2d630eacd0c8d5
parent 7b5eec86654460d9d182ad6281c1f20ad3eb65b5
Author: zavok <an2qzavok@gmail.com>
Date:   Fri, 27 Sep 2019 21:41:03 +0300

changed things slightly

Diffstat:
MMakefile | 2+-
Mpcmprint.1 | 2+-
Mpcmprint.c | 2+-
3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/Makefile b/Makefile @@ -1,5 +1,5 @@ pcmprint: pcmprint.c - gcc pcmprint.c -o pcmprint + cc pcmprint.c -o pcmprint install: pcmprint cp pcmprint /usr/local/bin/pcmprint diff --git a/pcmprint.1 b/pcmprint.1 @@ -21,7 +21,7 @@ Size of the block is assumed to be in sampling frames, 4 bytes per frame. Default value is 1024. .It Fl v Ar width specifies width of the printed channel on the output. -Default value is 35 characters, which with 2 channels and hardcoded 10 characters of separation fits nicely into standard 80-columns terminal. +Default value is 30 characters, which with 2 channels and hardcoded 10 characters of separation fits into standard 80-columns terminal with some room to play. .Sh EXIT STATUS .Ex -std pcmprint .Sh EXAMPLES diff --git a/pcmprint.c b/pcmprint.c @@ -5,7 +5,7 @@ #include <fcntl.h> static size_t BLKSIZE = 1024; -static int32_t CHLEN = 35; +static int32_t CHLEN = 30; char *intens = "`@"; static void