ReactOS Fundraising Campaign 2012
 
€ 4,410 / € 30,000

Information | Donate

Home | Info | Community | Development | myReactOS | Contact Us

  1. Home
  2. Community
  3. Development
  4. myReactOS
  5. Fundraiser 2012

  1. Main Page
  2. Alphabetical List
  3. Data Structures
  4. Directories
  5. File List
  6. Data Fields
  7. Globals
  8. Related Pages

ReactOS Development > Doxygen

sound3d.c File Reference
#include <stdarg.h>
#include <math.h>
#include "windef.h"
#include "winbase.h"
#include "winuser.h"
#include "mmsystem.h"
#include "winternl.h"
#include "mmddk.h"
#include "wine/debug.h"
#include "dsound.h"
#include "dsdriver.h"
#include "dsound_private.h"

Go to the source code of this file.

Defines

#define NONAMELESSUNION
#define NONAMELESSSTRUCT
#define DEFAULT_VELOCITY   340

Functions

 WINE_DEFAULT_DEBUG_CHANNEL (dsound3d)
static D3DVALUE ScalarProduct (const D3DVECTOR *a, const D3DVECTOR *b)
static D3DVECTOR VectorProduct (const D3DVECTOR *a, const D3DVECTOR *b)
static D3DVALUE VectorMagnitude (const D3DVECTOR *a)
static D3DVALUE RadToDeg (D3DVALUE angle)
static D3DVALUE AngleBetweenVectorsRad (const D3DVECTOR *a, const D3DVECTOR *b)
static D3DVALUE AngleBetweenVectorsDeg (const D3DVECTOR *a, const D3DVECTOR *b)
static D3DVECTOR VectorBetweenTwoPoints (const D3DVECTOR *a, const D3DVECTOR *b)
static D3DVALUE ProjectVector (const D3DVECTOR *a, const D3DVECTOR *p)
void DSOUND_Calc3DBuffer (IDirectSoundBufferImpl *dsb)
static void DSOUND_Mix3DBuffer (IDirectSoundBufferImpl *dsb)
static void DSOUND_ChangeListener (IDirectSound3DListenerImpl *ds3dl)
static HRESULT WINAPI IDirectSound3DBufferImpl_QueryInterface (LPDIRECTSOUND3DBUFFER iface, REFIID riid, LPVOID *ppobj)
static ULONG WINAPI IDirectSound3DBufferImpl_AddRef (LPDIRECTSOUND3DBUFFER iface)
static ULONG WINAPI IDirectSound3DBufferImpl_Release (LPDIRECTSOUND3DBUFFER iface)
static HRESULT WINAPI IDirectSound3DBufferImpl_GetAllParameters (LPDIRECTSOUND3DBUFFER iface, LPDS3DBUFFER lpDs3dBuffer)
static HRESULT WINAPI IDirectSound3DBufferImpl_GetConeAngles (LPDIRECTSOUND3DBUFFER iface, LPDWORD lpdwInsideConeAngle, LPDWORD lpdwOutsideConeAngle)
static HRESULT WINAPI IDirectSound3DBufferImpl_GetConeOrientation (LPDIRECTSOUND3DBUFFER iface, LPD3DVECTOR lpvConeOrientation)
static HRESULT WINAPI IDirectSound3DBufferImpl_GetConeOutsideVolume (LPDIRECTSOUND3DBUFFER iface, LPLONG lplConeOutsideVolume)
static HRESULT WINAPI IDirectSound3DBufferImpl_GetMaxDistance (LPDIRECTSOUND3DBUFFER iface, LPD3DVALUE lpfMaxDistance)
static HRESULT WINAPI IDirectSound3DBufferImpl_GetMinDistance (LPDIRECTSOUND3DBUFFER iface, LPD3DVALUE lpfMinDistance)
static HRESULT WINAPI IDirectSound3DBufferImpl_GetMode (LPDIRECTSOUND3DBUFFER iface, LPDWORD lpdwMode)
static HRESULT WINAPI IDirectSound3DBufferImpl_GetPosition (LPDIRECTSOUND3DBUFFER iface, LPD3DVECTOR lpvPosition)
static HRESULT WINAPI IDirectSound3DBufferImpl_GetVelocity (LPDIRECTSOUND3DBUFFER iface, LPD3DVECTOR lpvVelocity)
static HRESULT WINAPI IDirectSound3DBufferImpl_SetAllParameters (LPDIRECTSOUND3DBUFFER iface, LPCDS3DBUFFER lpcDs3dBuffer, DWORD dwApply)
static HRESULT WINAPI IDirectSound3DBufferImpl_SetConeAngles (LPDIRECTSOUND3DBUFFER iface, DWORD dwInsideConeAngle, DWORD dwOutsideConeAngle, DWORD dwApply)
static HRESULT WINAPI IDirectSound3DBufferImpl_SetConeOrientation (LPDIRECTSOUND3DBUFFER iface, D3DVALUE x, D3DVALUE y, D3DVALUE z, DWORD dwApply)
static HRESULT WINAPI IDirectSound3DBufferImpl_SetConeOutsideVolume (LPDIRECTSOUND3DBUFFER iface, LONG lConeOutsideVolume, DWORD dwApply)
static HRESULT WINAPI IDirectSound3DBufferImpl_SetMaxDistance (LPDIRECTSOUND3DBUFFER iface, D3DVALUE fMaxDistance, DWORD dwApply)
static HRESULT WINAPI IDirectSound3DBufferImpl_SetMinDistance (LPDIRECTSOUND3DBUFFER iface, D3DVALUE fMinDistance, DWORD dwApply)
static HRESULT WINAPI IDirectSound3DBufferImpl_SetMode (LPDIRECTSOUND3DBUFFER iface, DWORD dwMode, DWORD dwApply)
static HRESULT WINAPI IDirectSound3DBufferImpl_SetPosition (LPDIRECTSOUND3DBUFFER iface, D3DVALUE x, D3DVALUE y, D3DVALUE z, DWORD dwApply)
static HRESULT WINAPI IDirectSound3DBufferImpl_SetVelocity (LPDIRECTSOUND3DBUFFER iface, D3DVALUE x, D3DVALUE y, D3DVALUE z, DWORD dwApply)
HRESULT IDirectSound3DBufferImpl_Create (IDirectSoundBufferImpl *dsb, IDirectSound3DBufferImpl **pds3db)
HRESULT IDirectSound3DBufferImpl_Destroy (IDirectSound3DBufferImpl *pds3db)
static HRESULT WINAPI IDirectSound3DListenerImpl_QueryInterface (LPDIRECTSOUND3DLISTENER iface, REFIID riid, LPVOID *ppobj)
static ULONG WINAPI IDirectSound3DListenerImpl_AddRef (LPDIRECTSOUND3DLISTENER iface)
static ULONG WINAPI IDirectSound3DListenerImpl_Release (LPDIRECTSOUND3DLISTENER iface)
static HRESULT WINAPI IDirectSound3DListenerImpl_GetAllParameter (LPDIRECTSOUND3DLISTENER iface, LPDS3DLISTENER lpDS3DL)
static HRESULT WINAPI IDirectSound3DListenerImpl_GetDistanceFactor (LPDIRECTSOUND3DLISTENER iface, LPD3DVALUE lpfDistanceFactor)
static HRESULT WINAPI IDirectSound3DListenerImpl_GetDopplerFactor (LPDIRECTSOUND3DLISTENER iface, LPD3DVALUE lpfDopplerFactor)
static HRESULT WINAPI IDirectSound3DListenerImpl_GetOrientation (LPDIRECTSOUND3DLISTENER iface, LPD3DVECTOR lpvOrientFront, LPD3DVECTOR lpvOrientTop)
static HRESULT WINAPI IDirectSound3DListenerImpl_GetPosition (LPDIRECTSOUND3DLISTENER iface, LPD3DVECTOR lpvPosition)
static HRESULT WINAPI IDirectSound3DListenerImpl_GetRolloffFactor (LPDIRECTSOUND3DLISTENER iface, LPD3DVALUE lpfRolloffFactor)
static HRESULT WINAPI IDirectSound3DListenerImpl_GetVelocity (LPDIRECTSOUND3DLISTENER iface, LPD3DVECTOR lpvVelocity)
static HRESULT WINAPI IDirectSound3DListenerImpl_SetAllParameters (LPDIRECTSOUND3DLISTENER iface, LPCDS3DLISTENER lpcDS3DL, DWORD dwApply)
static HRESULT WINAPI IDirectSound3DListenerImpl_SetDistanceFactor (LPDIRECTSOUND3DLISTENER iface, D3DVALUE fDistanceFactor, DWORD dwApply)
static HRESULT WINAPI IDirectSound3DListenerImpl_SetDopplerFactor (LPDIRECTSOUND3DLISTENER iface, D3DVALUE fDopplerFactor, DWORD dwApply)
static HRESULT WINAPI IDirectSound3DListenerImpl_SetOrientation (LPDIRECTSOUND3DLISTENER iface, D3DVALUE xFront, D3DVALUE yFront, D3DVALUE zFront, D3DVALUE xTop, D3DVALUE yTop, D3DVALUE zTop, DWORD dwApply)
static HRESULT WINAPI IDirectSound3DListenerImpl_SetPosition (LPDIRECTSOUND3DLISTENER iface, D3DVALUE x, D3DVALUE y, D3DVALUE z, DWORD dwApply)
static HRESULT WINAPI IDirectSound3DListenerImpl_SetRolloffFactor (LPDIRECTSOUND3DLISTENER iface, D3DVALUE fRolloffFactor, DWORD dwApply)
static HRESULT WINAPI IDirectSound3DListenerImpl_SetVelocity (LPDIRECTSOUND3DLISTENER iface, D3DVALUE x, D3DVALUE y, D3DVALUE z, DWORD dwApply)
static HRESULT WINAPI IDirectSound3DListenerImpl_CommitDeferredSettings (LPDIRECTSOUND3DLISTENER iface)
HRESULT IDirectSound3DListenerImpl_Create (DirectSoundDevice *device, IDirectSound3DListenerImpl **ppdsl)

Variables

static const
IDirectSound3DBufferVtbl 
ds3dbvt
static const
IDirectSound3DListenerVtbl 
ds3dlvt

Generated on Sun May 27 2012 05:02:40 for ReactOS by doxygen 1.7.6.1

ReactOS is a registered trademark or a trademark of ReactOS Foundation in the United States and other countries.