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

Dummy PR to compare miniaudio2 to upstream's dev #2

Draft
wants to merge 148 commits into
base: dev
Choose a base branch
from

Conversation

nevyn
Copy link
Member

@nevyn nevyn commented Apr 6, 2021

No description provided.

nevyn and others added 30 commits November 3, 2019 16:28
so that it’s possible to override embedded game
.. at least this is is how I think you export symbols on
windows properly :S
With the check for samples==0 being done BELOW the assert for offset+samples<soundData->samples,
setting samples to 0 and then having more samples available in the mic than present in
the created buffer would cause buffer overrun
This reverts commit faa65dc.

I can't get it to build in Windows :(
again manually fixing our filesystem override to prioritize cli arg
Neither Quest nor Pico check for null on its out-params.
Better to send in dummy params to avoid nulls.
Otherwise controllers are backwards with OpenVR :S
This makes it possible to reverse a lovr-mouse click on the mirror window into worldspace in pure Lua
with a pcall, like the requires above. so if there
is no matching headset driver, the module is just
turned off.
To be consistent with the pose for controllers.
Voxar and others added 29 commits January 11, 2021 15:23
* Takes device type, so you only get either playback or capture devices
* Doesn't store devices in state, reducing risk of dangling pointers
* Uses names instead of identifiers, since miniaudio identifiers become
  invalid if you call "getDevices" again
* Better diagnostics
* Split up lovrAudioInitDevice to be per-type, cleaner that way
* UseDevice now takes type and name, instead of just identifier
* Stop also uninitializes
* Reset doesn't exist. Just stop and start instead.
* lovrAudioInit no longer takes config, and config is now private.
  Call lovrAudioStart if you want to start.
* ma_device_{un}init and start/stop are only called from one place each,
  reducing the risk of dangling state
instead of mixing up using device with using format
in case initing a device is expensive, don't do it
unnecessarily, and treat 'stop' as more of a 'pause'.
why is this so hard for my brain? :S
it's a quat, not an axis-angle. now it works :)
so that app can know focus on app start
- Reduce epsilon
- Also use epsilon in D_GGX
- Reduce shader string length to the minimum required supported length
@@ -18,6 +18,7 @@ StringEntry lovrEventType[] = {
#ifdef LOVR_ENABLE_THREAD
[EVENT_THREAD_ERROR] = ENTRY("threaderror"),
#endif
[EVENT_PERMISSION] = ENTRY("permission"),
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Task: Audio permission event

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

Successfully merging this pull request may close these issues.

4 participants