From: Diemo Schwarz <Diemo.Schwarz@ircam.fr>
To: sox-devel@lists.sourceforge.net
Subject: is libsox thread safe?
Date: Thu, 11 Jul 2019 23:13:55 +0200 [thread overview]
Message-ID: <ca07f6cd-3104-adf7-917c-83377cb52791@ircam.fr> (raw)
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.
Thanks for any hints, cheers...
...Diemo
--
Diemo Schwarz, PhD -- http://diemo.concatenative.net
Sound–Music–Movement Interaction Team -- http://ismm.ircam.fr
IRCAM - Centre Pompidou -- 1, place Igor-Stravinsky, 75004 Paris, France
Phone +33-1-4478-4879 -- Fax +33-1-4478-1540
_______________________________________________
SoX-devel mailing list
SoX-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sox-devel
next reply other threads:[~2019-07-11 21:31 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-07-11 21:13 Diemo Schwarz [this message]
2019-07-12 17:10 ` is libsox thread safe? Måns Rullgård
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=ca07f6cd-3104-adf7-917c-83377cb52791@ircam.fr \
--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).