cg2121 / obs-soundboard

OBS plugin that adds a soundboard dock
GNU General Public License v2.0
69 stars 6 forks source link

restart a sound immediately when pressing its button #12

Open ioerjfoige0439i opened 1 year ago

ioerjfoige0439i commented 1 year ago

hi I'd like to restart a sound immediately when pressing its button. currently, it won't restart the sound immediately if it is playing. if you'd like to see what I'm looking for, just put the same sound on 2 different buttons and press each one back and forth quickly to see the effect I'm looking for. if you have the .sln file I can try making the changes in visual studio and compiling it myself since I only see the header and cpp files in the repo. thanks!

ioerjfoige0439i commented 1 year ago

hi I tried building with cmake but it gives me an error about libobs:

CMake Error at CMakeLists.txt:49 (find_package): By not providing "Findlibobs.cmake" in CMAKE_MODULE_PATH this project has asked CMake to find a package configuration file provided by "libobs", but CMake did not find one.

Could not find a package configuration file provided by "libobs" with any of the following names:

libobsConfig.cmake
libobs-config.cmake

Add the installation prefix of "libobs" to CMAKE_PREFIX_PATH or set "libobs_DIR" to a directory containing one of the above files. If "libobs" provides a separate development package or SDK, be sure it has been installed.

ioerjfoige0439i commented 1 year ago

Actually, it seems to be working now. Odd. Would still like to know how to compile though incase I want to make future edits.