From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: AS6130 216.105.38.0/24 X-Spam-Status: No, score=-3.7 required=3.0 tests=AWL,BAYES_00,DKIM_INVALID, DKIM_SIGNED,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, RCVD_IN_DNSWL_MED,SPF_HELO_PASS,SPF_PASS shortcircuit=no autolearn=ham autolearn_force=no version=3.4.2 Received: from lists.sourceforge.net (lists.sourceforge.net [216.105.38.7]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dcvr.yhbt.net (Postfix) with ESMTPS id 9EEBA1F4B6 for ; Fri, 12 Jul 2019 17:10:53 +0000 (UTC) Received: from [127.0.0.1] (helo=sfs-ml-1.v29.lw.sourceforge.com) by sfs-ml-1.v29.lw.sourceforge.com with esmtp (Exim 4.90_1) (envelope-from ) id 1hlz4H-0004FD-5A; Fri, 12 Jul 2019 17:10:45 +0000 Received: from [172.30.20.202] (helo=mx.sourceforge.net) by sfs-ml-1.v29.lw.sourceforge.com with esmtps (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.90_1) (envelope-from ) id 1hlz4F-0004Ev-28 for sox-devel@lists.sourceforge.net; Fri, 12 Jul 2019 17:10:43 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sourceforge.net; s=x; h=Content-Transfer-Encoding:Content-Type:MIME-Version :Message-ID:In-Reply-To:Date:References:Subject:Cc:To:From:Sender:Reply-To: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=J19Qm1bw78IGnTsWF/lzSv81kuIWe0Da8g3gwrvqa2A=; b=UhTlwtdfGLnXcwr80toJuBVXVR 3E6a0k4EYhk31ae9QUxw5vfZi2n+9X0lYHXXmOZliMYKL9NDi617uFJxspHdwphECfTOr1126VP6t H+sUpcyk5Pai8e4VGbi9ECibKKoUXnBOuzy0nspVAXj9XhmnZNWNnFwloinzp/hxxZrM=; DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sf.net; s=x ; h=Content-Transfer-Encoding:Content-Type:MIME-Version:Message-ID: In-Reply-To:Date:References:Subject:Cc:To:From:Sender:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=J19Qm1bw78IGnTsWF/lzSv81kuIWe0Da8g3gwrvqa2A=; b=VL8gmRtFDKi6bryLsRKI1Tn54X 4z+T5mx4BG5irLD1RjhNG0hLaCfmasQta8x3KFbsVvaKXqMCbJZHwwhtPrrYj/4CEpm3Vv85wszy8 Fx/1zvlCIVv6nrT7IPmik/A67nvNpS4NtaIhwjWDB3KaRr84WGh+jd7wWuRTSEuG4ZOY=; Received: from unicorn.mansr.com ([81.2.72.234]) by sfi-mx-4.v28.lw.sourceforge.com with esmtps (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.90_1) id 1hlz4D-00GmC5-KW for sox-devel@lists.sourceforge.net; Fri, 12 Jul 2019 17:10:42 +0000 Received: by unicorn.mansr.com (Postfix, from userid 51770) id 8045E1539B; Fri, 12 Jul 2019 18:10:29 +0100 (BST) From: =?iso-8859-1?Q?M=E5ns_Rullg=E5rd?= To: Diemo Schwarz References: Date: Fri, 12 Jul 2019 18:10:29 +0100 In-Reply-To: (Diemo Schwarz's message of "Thu, 11 Jul 2019 23:13:55 +0200") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux) MIME-Version: 1.0 X-Headers-End: 1hlz4D-00GmC5-KW Subject: Re: is libsox thread safe? X-BeenThere: sox-devel@lists.sourceforge.net X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: sox-devel@lists.sourceforge.net Cc: sox-devel@lists.sourceforge.net Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Errors-To: sox-devel-bounces@lists.sourceforge.net Diemo Schwarz writes: > Hi all, > > is libsox's audio file reading safe and meant to be used in a multi-threa= ded > 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=E5ns Rullg=E5rd _______________________________________________ SoX-devel mailing list SoX-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sox-devel