dtas-all
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Unwanted trim after source edit


From: James Rowe
Subject: Re: Unwanted trim after source edit
Date: Sat, 23 May 2020 15:09:29 +0100
User-agent: NeoMutt/20180716

[Resent to the list, because I’m a fool.  Rene, sorry if you get
a dupe.]

* Rene Maurer (address@hidden) wrote:
> Do I use the source in a completely wrong way (should I use sink instead?) or
> what is the reason for this trim?

  The trim exists because sox is restarted when you edit the source in
order to apply your changes, you can see this by checking the PID of the
running sox command after editing.  In order to take in to account your
current position in the track when you edited the source the trim effect
is added to continue playback from the right place.

  You can see it in action if you:

    dtas-ctl play_pause; dtas-ctl play_pause; dtas-ctl current

  In the large YAML dump it emits you’ll see the TRIMFX setting, and
also current_initial value.

> Do I use the source in a completely wrong way (should I use sink instead?) or
> what is the reason for this trim?

  So — assuming I’ve read your mail correctly — you’ve done nothing
wrong at all and are just noticing an implementation detail.

Thanks,

James

Attachment: signature.asc
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]