I have spent last months with testing OSP in FMOD low-level API in c#. I can't use it from FMOD studio because I'm blind and it isn't usable for me. I traversed through many forums but I'm still struggling. Please help me.
Problem description I can hear no spatialization and no reverb room effects and the sound sounds a bit muffled.
My code
using System;
using System.Runtime.InteropServices;
using System.Windows.Forms;
using FMOD;
namespace FmodOculusTest
{
internal enum OspGlobalsParamIndex
{
ReflectionEngineEnabled, // bool
ReverbEnabled, // bool
GlobalScale, // float
BypasAll, // bypass
RoomWidth, // float
RoomHeight, // float
RoomLength, // float
RefLeft, // float
RefRight, // float
RefUP, // float
RefDown, // float
RefNear, // float
RefFar, // float
ReverbRangeMin, // float
ReverbRangeMax, // float
OspGlobalsPINDEXNumParameters
};
internal enum OspParamIndex
{
SoundPosition, // FMOD_DSP_PARAMETER_3DATTRIBUTES - both absolute and relative to camera
ReflectionsEnabled, // bool
AttenuationEnabled, // bool
SourceVolumetricRadius, // float
SourceRangeMin, // float
SourceRangeMax, // float
OspNumParameters
};
internal enum OspParamIndexAmbisonic
{
SoundPosition, // FMOD_DSP_PARAMETER_3DATTRIBUTES - both absolute and relative to camera
VirtualSpeakerMode, // bool - OculusAmbi vs. Virtual Speakers