You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We're currently accessing the FAudioContext device pointer to set up some in-memory caching/streaming of music files on Nintendo Switch. To do this, we patch in the following function to SoundEffect.cs to get the device pointer.
public static IntPtr DeviceHandle()
{
return Device().Handle;
}
Ideally we could access this via an EXT method.
Would this be accepted as PR? If so, where/how do you recommend exposing it?
Or, if there's a better way to do the in-memory caching/streaming I'm open to suggestions.
The text was updated successfully, but these errors were encountered:
We could possibly do SoundEffect.FromPointerEXT instead; the application can load all PCM data to a single host pointer and then call SoundEffect.FromPointerEXT with the offset pointer and the wave format, and all SoundEffect has to do on disposal is avoid freeing the host pointer.
We're currently accessing the FAudioContext device pointer to set up some in-memory caching/streaming of music files on Nintendo Switch. To do this, we patch in the following function to SoundEffect.cs to get the device pointer.
Ideally we could access this via an EXT method.
Would this be accepted as PR? If so, where/how do you recommend exposing it?
Or, if there's a better way to do the in-memory caching/streaming I'm open to suggestions.
The text was updated successfully, but these errors were encountered: