DB/SoundProviderPreferences: Difference between revisions

From wowdev
Jump to navigation Jump to search
(New page: World of Warcraft uses the FMod Sound Library by Firelite Technologies ("http://www.fmod.org/"). The data stored in this table corresponds with the struct FMOD_REVERB_PROPERTIES in the FMo...)
 
No edit summary
Line 12: Line 12:


==Structure==
==Structure==
  '''Column Field Type Notes'''
  struct SoundProviderPreferencesEntry // sizeof(0x60)
  1 ID Integer
  {
2 SRefCon String
    m_ID; // +0x0, size 0x4, type 0
3 Unknown Integer NOT used by FMod, it's a WoW Thing.
    m_Description; // +0x4, size 0x4, type 2
4 Unknown Integer NOT used by FMod, it's a WoW Thing
    m_Flags; // +0x8, size 0x4, type 0
5 Volume Float Assumed to be a WoW thing. 20 = Full Volume
    m_EAXEnvironmentSelection; // +0xC, size 0x4, type 0
6 EnvSize Float Environment Size
    m_EAXDecayTime; // +0x10, size 0x4, type 3
7 EnvDiffusion Float Environment Diffusion
    m_EAX2EnvironmentSize; // +0x14, size 0x4, type 3
8 Room Integer Room effect level (at mid frequencies)
    m_EAX2EnvironmentDiffusion; // +0x18, size 0x4, type 3
9 RoomHF Integer Room effect level (at high frequencies)
    m_EAX2Room; // +0x1C, size 0x4, type 0
10 DecayHFRatio Float Used on all frequencies?
    m_EAX2RoomHF; // +0x20, size 0x4, type 0
11 Reflections Integer
    m_EAX2DecayHFRatio; // +0x24, size 0x4, type 3
12 ReflectionsDelay Float
    m_EAX2Reflections; // +0x28, size 0x4, type 0
13 Reverb Integer
    m_EAX2ReflectionsDelay; // +0x2C, size 0x4, type 3
14 ReverbDelay Float
    m_EAX2Reverb; // +0x30, size 0x4, type 0
15 RoomLF Float Most likely accurate, but double check
    m_EAX2ReverbDelay; // +0x34, size 0x4, type 3
16 HLReference Float
    m_EAX2RoomRolloff; // +0x38, size 0x4, type 3
17 EchoDepth Float Most likely accurate, but double check
    m_EAX2AirAbsorption; // +0x3C, size 0x4, type 3
18 Diffusion Float Most likely accurate, but double check
    m_EAX3RoomLF; // +0x40, size 0x4, type 0
19 EchoTime Float
    m_EAX3DecayLFRatio; // +0x44, size 0x4, type 3
20 EnvDiffusion Float Most likely accurate, but double check
    m_EAX3EchoTime; // +0x48, size 0x4, type 3
21 ModulationTime Float
    m_EAX3EchoDepth; // +0x4C, size 0x4, type 3
22 ModulationDepth Float
    m_EAX3ModulationTime; // +0x50, size 0x4, type 3
23 LFReference Float
    m_EAX3ModulationDepth; // +0x54, size 0x4, type 3
  24 RoomRolloffFactor Float
    m_EAX3HFReference; // +0x58, size 0x4, type 3
    m_EAX3LFReference; // +0x5C, size 0x4, type 3
  };


Retrieved from "http://www.sourcepeek.com/wiki/SoundProviderPreferences.dbc"
Retrieved from "http://www.sourcepeek.com/wiki/SoundProviderPreferences.dbc"


[[Category:DBC]]
[[Category:DBC]]

Revision as of 18:57, 16 April 2011

World of Warcraft uses the FMod Sound Library by Firelite Technologies ("http://www.fmod.org/"). The data stored in this table corresponds with the struct FMOD_REVERB_PROPERTIES in the FMod API.

For more indepth descriptions of these properties under win32, you'll need to check the EAX2 and EAX3 documentation at "http://developer.creative.com/" under the 'downloads' section.

However, chances are you will not need to ever touch anything in this DBC.

Header Info

Records....................38
Fields.....................24
Record Size................96
String Block Size.........574

Structure

struct SoundProviderPreferencesEntry // sizeof(0x60)
{
   m_ID; // +0x0, size 0x4, type 0
   m_Description; // +0x4, size 0x4, type 2
   m_Flags; // +0x8, size 0x4, type 0
   m_EAXEnvironmentSelection; // +0xC, size 0x4, type 0
   m_EAXDecayTime; // +0x10, size 0x4, type 3
   m_EAX2EnvironmentSize; // +0x14, size 0x4, type 3
   m_EAX2EnvironmentDiffusion; // +0x18, size 0x4, type 3
   m_EAX2Room; // +0x1C, size 0x4, type 0
   m_EAX2RoomHF; // +0x20, size 0x4, type 0
   m_EAX2DecayHFRatio; // +0x24, size 0x4, type 3
   m_EAX2Reflections; // +0x28, size 0x4, type 0
   m_EAX2ReflectionsDelay; // +0x2C, size 0x4, type 3
   m_EAX2Reverb; // +0x30, size 0x4, type 0
   m_EAX2ReverbDelay; // +0x34, size 0x4, type 3
   m_EAX2RoomRolloff; // +0x38, size 0x4, type 3
   m_EAX2AirAbsorption; // +0x3C, size 0x4, type 3
   m_EAX3RoomLF; // +0x40, size 0x4, type 0
   m_EAX3DecayLFRatio; // +0x44, size 0x4, type 3
   m_EAX3EchoTime; // +0x48, size 0x4, type 3
   m_EAX3EchoDepth; // +0x4C, size 0x4, type 3
   m_EAX3ModulationTime; // +0x50, size 0x4, type 3
   m_EAX3ModulationDepth; // +0x54, size 0x4, type 3
   m_EAX3HFReference; // +0x58, size 0x4, type 3
   m_EAX3LFReference; // +0x5C, size 0x4, type 3
};

Retrieved from "http://www.sourcepeek.com/wiki/SoundProviderPreferences.dbc"