From: Kostya Shishkov Date: Wed, 4 Feb 2026 17:50:33 +0000 (+0100) Subject: sndplay: use more compact output format X-Git-Url: https://git.nihav.org/?a=commitdiff_plain;h=f34e2acbc64a918d38e4581fcd04c40f77a18737;p=nihav-player.git sndplay: use more compact output format --- diff --git a/sndplay/src/main.rs b/sndplay/src/main.rs index bd56951..a78cbad 100644 --- a/sndplay/src/main.rs +++ b/sndplay/src/main.rs @@ -266,7 +266,7 @@ impl Player { } else { br = Box::new(fr); } - let dmx = DemuxerObject::create(br, &self.full_reg, name, None, is_raw, &[], true); + let dmx = DemuxerObject::create(br, &self.full_reg, name, None, is_raw, &[], false); if dmx.is_none() { println!("Demuxer creation failed!"); return; @@ -318,7 +318,7 @@ impl Player { } else { 44100 }; let ch = ainfo.channels; - println!("Playing {} [{}Hz {}ch]", name, arate, ch); + println!("Playing {} - {dmx} [{}Hz {}ch]", name, arate, ch); let ret = AudioDevice::open(arate, ch.min(2)); if ret.is_none() { println!("cannot open output");