top of page
Search

[94] Bellfounding

  • Writer: Conlan Walker
    Conlan Walker
  • Sep 1, 2023
  • 1 min read

I am very close to finishing the rest of the framework, but I still need to implement threads, and properly integrate device and voice functionality. I fixed most of the access violation errors, but I still need to do a lot of testing.

I first worked on devices, as I wanted to solve the issue of audio artifacts that occur when pausing and unpausing, which I did end up succeeding in.

ree

The main issue with pausing and unpausing is shown in the image to the left.


At about 9 milliseconds, the audio stream is interrupted abruptly, before resuming at exactly 10 milliseconds.

Since this behavior is reliable, I can simply wait 10-11ms before resuming audio to bypass this.


I added this on top of the simple fade ins and fade outs that use exponential decay, so now things should run smoothly at a device level no matter what.


This is what the device code looks like right now. I have some test code in the middle of the device callback, but this is more or less what it should look like, just without the rest of the voice integration stuff.

I won't show the entirety of kmixerVoice again for like the 3rd time, so I'll just show where I think most of the work probably went to this week:

I reworked the headers quite a lot.

_kit_kmixerPrivate.h got a makeover, and some new additions:

A lot of stuff was added to kit_kmixer.h, including a lot more documentation:

As usual, I'll do more of it over the weekend, as I want to do funner stuff next week.

 
 
 

Comments


bottom of page