Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 7 Aug 2018 11:41:46 +0200
From:      Hans Petter Selasky <hps@selasky.org>
To:        =?UTF-8?Q?Goran_Meki=c4=87?= <meka@tilda.center>
Cc:        freebsd-multimedia@freebsd.org
Subject:   Re: Choppy audio using virtual_oss
Message-ID:  <6c6613fc-1bfd-71cd-8f7d-84282a258d4a@selasky.org>
In-Reply-To: <20180807092204.opswsmebt3tohsvj@hal9000.home.meka.rs>
References:  <20180807003145.7m55dlakppucpkt2@thinker.home.meka.rs> <57293b09-97c6-8b89-24eb-2497529f2ba5@selasky.org> <20180807085240.mcyaj2siqwtydjyj@hal9000.home.meka.rs> <95ed28ae-57a4-ede0-274c-3ae863d4eb0b@selasky.org> <20180807092204.opswsmebt3tohsvj@hal9000.home.meka.rs>

next in thread | previous in thread | raw e-mail | index | archive | help
On 08/07/18 11:22, Goran Mekić wrote:
>> Can you ktrace ardour and see how many bytes it is writing at a time to OSS?
> Ardour doesn't have those settings, as it uses jack for that. Should I
> try ktrace the jackd process? Thanx!

You can try.

Check the CPU usage(s). If some process is running close to 100% it 
won't work, you need larger buffers.

I'm a bit worried that the high sample rate combined with libsamplerate 
will overturn the system. Did you try to use 44100 or 48000 Hz. Is there 
any particular reason you are using 88200 Hz ?

Another thing to check is if your kernel is compiled with debugging / 
invariants / witness and such. It will make the character device in 
userspace processing slower.

--HPS



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6c6613fc-1bfd-71cd-8f7d-84282a258d4a>