From owner-freebsd-multimedia@freebsd.org Tue Aug 7 09:17:31 2018 Return-Path: Delivered-To: freebsd-multimedia@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id CE44A10545F1 for ; Tue, 7 Aug 2018 09:17:31 +0000 (UTC) (envelope-from hps@selasky.org) Received: from mail.turbocat.net (turbocat.net [88.99.82.50]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 6F190856AB for ; Tue, 7 Aug 2018 09:17:31 +0000 (UTC) (envelope-from hps@selasky.org) Received: from hps2016.home.selasky.org (unknown [62.141.128.70]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.turbocat.net (Postfix) with ESMTPSA id E688F2600DC; Tue, 7 Aug 2018 11:17:22 +0200 (CEST) Subject: Re: Choppy audio using virtual_oss To: =?UTF-8?Q?Goran_Meki=c4=87?= Cc: freebsd-multimedia@freebsd.org References: <20180807003145.7m55dlakppucpkt2@thinker.home.meka.rs> <57293b09-97c6-8b89-24eb-2497529f2ba5@selasky.org> <20180807085240.mcyaj2siqwtydjyj@hal9000.home.meka.rs> From: Hans Petter Selasky Message-ID: <95ed28ae-57a4-ede0-274c-3ae863d4eb0b@selasky.org> Date: Tue, 7 Aug 2018 11:17:01 +0200 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:52.0) Gecko/20100101 Thunderbird/52.8.0 MIME-Version: 1.0 In-Reply-To: <20180807085240.mcyaj2siqwtydjyj@hal9000.home.meka.rs> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Aug 2018 09:17:32 -0000 On 08/07/18 10:52, Goran Mekić wrote: > It gives best results so far, as ardour chops less, but it still does it > few times per second, not a constant "rrrrr" sound on top of mix. Try to use 4 ms buffering, both hardware and software. What is the buffer settings for ardour. I've seen some silly OSS applications which put one and one sample by write() request to /dev/dsp. I will not work. Can you ktrace ardour and see how many bytes it is writing at a time to OSS? --HPS