ref: b2a4d84902790c801917d98f8e749a1b3b6a6682
parent: 08bd7a56ac0ec16adc86bbd106f8731b8d271b11
author: qwx <[email protected]>
date: Sat Aug 24 13:09:08 EDT 2024
draw: show currently displayed channel on mono view
--- a/draw.c
+++ b/draw.c
@@ -192,7 +192,9 @@
Point p;
draw(screen, statr, col[Cbg], nil, ZP);
- seprint(s, s+sizeof s, "T=%zd @ %τ", T / Sampsz, dot.cur);
+ seprint(s, s+sizeof s, "%sT=%zd @ %τ",
+ stereo ? "" : chan==0?"Left ":"Right ",
+ T / Sampsz, dot.cur);
p = string(screen, statr.min, col[Ctext], ZP, font, s);
if(dot.from > 0 || dot.to < dot.totalsz){
seprint(s, s+sizeof s, " from %τ to %τ", dot.from, dot.to);