Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

restart a sound immediately when pressing its button #12

Open
ioerjfoige0439i opened this issue Oct 10, 2022 · 2 comments
Open

restart a sound immediately when pressing its button #12

ioerjfoige0439i opened this issue Oct 10, 2022 · 2 comments

Comments

@ioerjfoige0439i
Copy link

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 ioerjfoige0439i changed the title restart sound a immediately when pressing its button restart a sound immediately when pressing its button Oct 10, 2022
@ioerjfoige0439i
Copy link
Author

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
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant