sox-devel@lists.sourceforge.net unofficial mirror
 help / color / mirror / code / Atom feed
From: M Junaid Muzammil <m_junaid_muzammil@yahoo.com>
To: "sox-devel@lists.sourceforge.net" <sox-devel@lists.sourceforge.net>
Subject: Speed sox_effect_options
Date: Sun, 17 Mar 2013 04:18:47 -0700 (PDT)	[thread overview]
Message-ID: <1363519127.94114.YahooMailNeo@web121106.mail.ne1.yahoo.com> (raw)


[-- Attachment #1.1: Type: text/plain, Size: 451 bytes --]

Hi,

I need to increase the speed with which audio file is played. I have tried the following piece of code for doubling the speed but this is not working for me.

  e = sox_create_effect(sox_find_effect("speed"));
  args[0] = "2", assert(sox_effect_options(e, 1, args) == SOX_SUCCESS);

  assert(sox_add_effect(chain, e, &in->signal, &in->signal) == SOX_SUCCESS);
  free(e);

Is the argument list correctly provided for the speed option? 

[-- Attachment #1.2: Type: text/html, Size: 1880 bytes --]

[-- Attachment #2: Type: text/plain, Size: 238 bytes --]

------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_mar

[-- Attachment #3: Type: text/plain, Size: 158 bytes --]

_______________________________________________
SoX-devel mailing list
SoX-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sox-devel

                 reply	other threads:[~2013-03-17 11:19 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=1363519127.94114.YahooMailNeo@web121106.mail.ne1.yahoo.com \
    --to=sox-devel@lists.sourceforge.net \
    --cc=m_junaid_muzammil@yahoo.com \
    /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).