newsAdvanced Gtk+ Sequencer - News: Better performance needs bigger ring-buffer

 
 
Latest News
Advanced Gtk+ Sequencer v2.1.x - implementing server parts posted by jkraehemann, Sun 04 Nov 2018 11:53:45 PM UTC - 0 replies
Extending the test-suite of v2.0.x posted by jkraehemann, Wed 10 Oct 2018 02:38:35 AM UTC - 0 replies
Got segfault after a while of recording posted by jkraehemann, Thu 20 Sep 2018 03:04:31 PM UTC - 0 replies
Advanced Gtk+ Sequencer v2.0.0 - new major release posted by jkraehemann, Mon 10 Sep 2018 03:20:12 AM UTC - 0 replies
currently dealing with capture of soundcard posted by jkraehemann, Tue 04 Sep 2018 12:21:58 AM UTC - 0 replies
[Submit News]
[67 news in archive]

Better performance needs bigger ring-buffer

Item posted by Joël Krähemann <jkraehemann> on Wed 04 Jan 2017 03:46:21 PM UTC.

Recent refactoring using intermediate pre and post sync is believed to give better overall performance of the engine. But it had its disadvantage to audio playback being distorted.

Better performance needs bigger ring-buffer because ALSA output is done asynchronous. Further timing is only possible with already happened informations. So its basically just an approximation to stay in real-time.

For now, GSequencer uses a ring-buffer of size of 2. This is going to incremented to 8. The gsequencer release 0.7.123 didn't actually fix the issue introduced in 07.122. Since it wasn't evident what was happening.

However much code was improved so far, especially protecting objects by mutices.

Bests,
Joël

No messages in Better performance needs bigger ring-buffer

 

Back to the top


Powered by Savane 3.3