sox-devel@lists.sourceforge.net unofficial mirror
 help / color / mirror / code / Atom feed
From: "Måns Rullgård" <mans@mansr.com>
To: Diemo Schwarz <Diemo.Schwarz@ircam.fr>
Cc: sox-devel@lists.sourceforge.net
Subject: Re: is libsox thread safe?
Date: Fri, 12 Jul 2019 18:10:29 +0100	[thread overview]
Message-ID: <yw1xpnmffabe.fsf@mansr.com> (raw)
In-Reply-To: <ca07f6cd-3104-adf7-917c-83377cb52791@ircam.fr> (Diemo Schwarz's message of "Thu, 11 Jul 2019 23:13:55 +0200")

Diemo Schwarz <Diemo.Schwarz@ircam.fr> writes:

> Hi all,
>
> is libsox's audio file reading safe and meant to be used in a multi-threaded
> situation?
> I just replaced libsndfile by libsox in a program that mixes two audio
> files, where file reading and buffering is done in two separate threads, and
> I'm getting weird behaviour.

Concurrent operations on the same file or effects chain are not supported.

-- 
Måns Rullgård


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

  reply	other threads:[~2019-07-12 17:10 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-07-11 21:13 is libsox thread safe? Diemo Schwarz
2019-07-12 17:10 ` Måns Rullgård [this message]
2019-07-12 18:05   ` Diemo Schwarz

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=yw1xpnmffabe.fsf@mansr.com \
    --to=sox-devel@lists.sourceforge.net \
    --cc=Diemo.Schwarz@ircam.fr \
    /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).