sox-devel@lists.sourceforge.net unofficial mirror
 help / color / mirror / code / Atom feed
From: Ulrich Klauer <ulrich@chirlu.de>
To: sox-devel@lists.sourceforge.net
Subject: Re: Bug in program or in libsox?
Date: Mon, 05 Aug 2013 18:25:32 +0200	[thread overview]
Message-ID: <20130805182532.Horde.rL_uIJtJb_GjeK0uOVK-_w2@webmail.df.eu> (raw)
In-Reply-To: <000d01ce9139$35bdaef0$a1390cd0$@symonics.com>

Christian Hoene wrote:

> the attached program converts a file to one channel and a sampling  
> rate of 8000. If the input is a stereo file, then the duration of  
> the output file is half of the duration of the input file. The last  
> half is missing.

sox_add_effect() modifies its "in" parameter, which therefore must not  
be the same as that used by the input format handler. See this commit  
on how to fix it:
https://github.com/uklauer/sox/commit/5fb5573e26bdac46be6953e0e0399d1a2aaeb350

Ulrich


------------------------------------------------------------------------------
Get your SQL database under version control now!
Version control is standard for application code, but databases havent 
caught up. So what steps can you take to put your SQL databases under 
version control? Why should you start doing it? Read more to find out.
http://pubads.g.doubleclick.net/gampad/clk?id=49501711&iu=/4140/ostg.clktrk

      reply	other threads:[~2013-08-05 16:25 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-08-04 17:36 Bug in program or in libsox? Christian Hoene
2013-08-05 16:25 ` Ulrich Klauer [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-list from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://lists.sourceforge.net/lists/listinfo/sox-devel

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20130805182532.Horde.rL_uIJtJb_GjeK0uOVK-_w2@webmail.df.eu \
    --to=sox-devel@lists.sourceforge.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://80x24.org/mirrors/sox.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).