This plugin provides a asynchronous audio source to debug audio buffering issues.
I hope this plugin is useful to reproduce and debug the issue. obsproject/obs-studio#4600
The frequency of a sine wave output by this plugin.
Make audio data a little slower or faster if set to negative or positive, respectively.
- If you set negative value, you will see a short period of silence.

- If you set positive value, you will see a block of dropped samples.

- I recommend to set
+/-5000 ppmso that you will see the issue more than 15 times in a minute.
Use cmake to build on Linux. After checkout, run these commands.
sed -i 's;${CMAKE_INSTALL_FULL_LIBDIR};/usr/lib;' CMakeLists.txt
mkdir build && cd build
cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_INSTALL_LIBDIR=/usr/lib ..
make
sudo make install
You might need to adjust CMAKE_INSTALL_LIBDIR for your system.
Use cmake to build on Linux. After checkout, run these commands.
mkdir build && cd build
cmake ..
make