|
ReactOS 0.4.16-dev-1946-g52006dd
|
#include <windows.h>#include <setupapi.h>#include <mmddk.h>#include <objbase.h>#include <olectl.h>#include <unknwn.h>#include <dsound.h>#include <dsconf.h>#include <vfwmsgs.h>#include <ks.h>#include <ksmedia.h>#include <limits.h>#include <stdio.h>#include "resource.h"#include <debug.h>

Go to the source code of this file.
Classes | |
| struct | INTERFACE_TABLE |
| struct | tagFILTERINFO |
Macros | |
| #define | COBJMACROS |
| #define | NONAMELESSUNION |
| #define | NONAMELESSSTRUCT |
| #define | INIT_GUID(guid, l, w1, w2, b1, b2, b3, b4, b5, b6, b7, b8) |
Typedefs | |
| typedef HRESULT(CALLBACK * | LPFNCREATEINSTANCE) (IUnknown *pUnkOuter, REFIID riid, LPVOID *ppvObject) |
| typedef struct tagFILTERINFO | FILTERINFO |
| typedef struct tagFILTERINFO * | LPFILTERINFO |
Enumerations | |
| enum | PIN_TYPE { PIN_TYPE_NONE = 0 , PIN_TYPE_PLAYBACK = 1 , PIN_TYPE_RECORDING = 2 } |
Variables | |
| HINSTANCE | dsound_hInstance |
| LPFILTERINFO | RootInfo |
| typedef struct tagFILTERINFO FILTERINFO |
| typedef struct tagFILTERINFO * LPFILTERINFO |
| Enumerator | |
|---|---|
| PIN_TYPE_NONE | |
| PIN_TYPE_PLAYBACK | |
| PIN_TYPE_RECORDING | |
| BOOL CreateCompatiblePin | ( | IN HANDLE | hFilter, |
| IN DWORD | PinId, | ||
| IN BOOL | bLoop, | ||
| IN LPWAVEFORMATEX | WaveFormatEx, | ||
| OUT LPWAVEFORMATEX | WaveFormatOut, | ||
| OUT PHANDLE | hPin | ||
| ) |
Definition at line 517 of file misc.c.
Referenced by NewDirectSoundCaptureBuffer().
| VOID DoNotifyPositionEvents | ( | LPDIRECTSOUNDNOTIFY | iface, |
| DWORD | OldPosition, | ||
| DWORD | NewPosition | ||
| ) |
Definition at line 190 of file notify.c.
Referenced by MixerThreadRoutine().
| HRESULT EnumAudioDeviceInterfaces | ( | LPFILTERINFO * | OutRootInfo | ) |
Definition at line 384 of file devicelist.c.
Referenced by DllMain(), DSoundEnumerate(), and IDirectSound8_fnInitialize().
| BOOL FindDeviceByGuid | ( | LPCGUID | pGuidSrc, |
| LPFILTERINFO * | Filter | ||
| ) |
Definition at line 470 of file devicelist.c.
Referenced by CDirectSoundCapture_fnInitialize(), GetDeviceID(), IDirectSound8_fnInitialize(), and KSPropertySetImpl_Get().
| BOOL FindDeviceByMappedId | ( | IN ULONG | DeviceID, |
| LPFILTERINFO * | Filter, | ||
| BOOL | bPlayback | ||
| ) |
Definition at line 442 of file devicelist.c.
Referenced by GetDeviceID().
| DWORD GetFilterPinCommunication | ( | IN HANDLE | hFilter, |
| IN ULONG | PinId, | ||
| OUT PKSPIN_COMMUNICATION | Communication | ||
| ) |
Definition at line 427 of file misc.c.
Referenced by FindAudioFilterPins().
Definition at line 357 of file misc.c.
Referenced by EnumerateAudioFilter().
Definition at line 444 of file misc.c.
Referenced by FindAudioFilterPins().
| ULONG GetPinIdFromFilter | ( | LPFILTERINFO | Filter, |
| BOOL | bCapture, | ||
| ULONG | Offset | ||
| ) |
Definition at line 13 of file devicelist.c.
Referenced by NewDirectSoundCaptureBuffer(), and PrimaryDirectSoundBuffer_SetFormat().
| IClassFactory * IClassFactory_fnConstructor | ( | LPFNCREATEINSTANCE | lpfnCI, |
| PLONG | pcRefDll, | ||
| REFIID | riidInst | ||
| ) |
Definition at line 125 of file classfactory.c.
Definition at line 449 of file directsound.c.
Definition at line 284 of file capture.c.
| HRESULT NewDirectSoundCaptureBuffer | ( | LPDIRECTSOUNDCAPTUREBUFFER8 * | OutBuffer, |
| LPFILTERINFO | Filter, | ||
| LPCDSCBUFFERDESC | lpcDSBufferDesc | ||
| ) |
Definition at line 687 of file capturebuffer.c.
Referenced by CDirectSoundCapture_fnCreateCaptureBuffer().
| HRESULT NewDirectSoundNotify | ( | LPDIRECTSOUNDNOTIFY * | Notify, |
| BOOL | bLoop, | ||
| BOOL | bMix, | ||
| HANDLE | hPin, | ||
| DWORD | BufferSize | ||
| ) |
Definition at line 244 of file property.c.
| HRESULT NewPrimarySoundBuffer | ( | LPDIRECTSOUNDBUFFER8 * | OutBuffer, |
| LPFILTERINFO | Filter, | ||
| DWORD | dwLevel, | ||
| DWORD | dwFlags | ||
| ) |
Definition at line 768 of file primary.c.
Referenced by IDirectSound8_fnCreateSoundBuffer().
| HRESULT NewSecondarySoundBuffer | ( | LPDIRECTSOUNDBUFFER8 * | OutBuffer, |
| LPFILTERINFO | Filter, | ||
| DWORD | dwLevel, | ||
| LPCDSBUFFERDESC | lpcDSBufferDesc, | ||
| LPDIRECTSOUNDBUFFER8 | PrimaryBuffer | ||
| ) |
Definition at line 611 of file secondary.c.
Referenced by IDirectSound8_fnCreateSoundBuffer().
Definition at line 277 of file misc.c.
Referenced by EnumerateAudioFilter().
| DWORD OpenPin | ( | HANDLE | hFilter, |
| ULONG | PinId, | ||
| LPWAVEFORMATEX | WaveFormatEx, | ||
| PHANDLE | hPin, | ||
| BOOL | bLoop | ||
| ) |
Definition at line 212 of file misc.c.
Referenced by CreateCompatiblePin(), NewDirectSoundCaptureBuffer(), and PrimaryDirectSoundBuffer_SetFormat().
| VOID PerformChannelConversion | ( | PUCHAR | Buffer, |
| ULONG | BufferLength, | ||
| PULONG | BytesRead, | ||
| ULONG | OldChannels, | ||
| ULONG | NewChannels, | ||
| ULONG | BitsPerSample, | ||
| PUCHAR | Result, | ||
| ULONG | ResultLength, | ||
| PULONG | BytesWritten | ||
| ) |
Definition at line 18 of file misc.c.
Referenced by MixerThreadRoutine().
| VOID PrimaryDirectSoundBuffer_AcquireLock | ( | LPDIRECTSOUNDBUFFER8 | iface | ) |
Definition at line 746 of file primary.c.
Referenced by PrimaryDirectSoundBuffer8Impl_fnPlay(), PrimaryDirectSoundBuffer8Impl_fnStop(), and SecondaryDirectSoundBuffer8Impl_fnPlay().
| HRESULT PrimaryDirectSoundBuffer_GetPosition | ( | LPDIRECTSOUNDBUFFER8 | iface, |
| LPDWORD | pdwCurrentPlayCursor, | ||
| LPDWORD | pdwCurrentWriteCursor | ||
| ) |
Definition at line 644 of file primary.c.
Referenced by SecondaryDirectSoundBuffer8Impl_fnGetCurrentPosition().
| VOID PrimaryDirectSoundBuffer_ReleaseLock | ( | LPDIRECTSOUNDBUFFER8 | iface | ) |
Definition at line 757 of file primary.c.
Referenced by PrimaryDirectSoundBuffer8Impl_fnPlay(), PrimaryDirectSoundBuffer8Impl_fnStop(), and SecondaryDirectSoundBuffer8Impl_fnPlay().
| HRESULT PrimaryDirectSoundBuffer_SetFormat | ( | LPDIRECTSOUNDBUFFER8 | iface, |
| LPWAVEFORMATEX | pcfxFormat, | ||
| BOOL | bLooped | ||
| ) |
Definition at line 694 of file primary.c.
Referenced by SecondaryDirectSoundBuffer8Impl_fnPlay().
| VOID PrimaryDirectSoundBuffer_SetState | ( | LPDIRECTSOUNDBUFFER8 | iface, |
| KSSTATE | State | ||
| ) |
Definition at line 621 of file primary.c.
Referenced by PrimaryDirectSoundBuffer8Impl_fnPlay(), PrimaryDirectSoundBuffer8Impl_fnStop(), SecondaryDirectSoundBuffer8Impl_fnPlay(), and SecondaryDirectSoundBuffer8Impl_fnStop().
| DWORD PrimaryDirectSoundBuffer_Write | ( | LPDIRECTSOUNDBUFFER8 | iface, |
| LPVOID | Buffer, | ||
| DWORD | BufferSize | ||
| ) |
Definition at line 587 of file primary.c.
Referenced by SecondaryDirectSoundBuffer8Impl_fnPlay().
| BOOL SetPinFormat | ( | IN HANDLE | hPin, |
| IN LPWAVEFORMATEX | WaveFormatEx | ||
| ) |
Definition at line 77 of file misc.c.
Referenced by PrimaryDirectSoundBuffer_SetFormat().
| DWORD SyncOverlappedDeviceIoControl | ( | IN HANDLE | Handle, |
| IN DWORD | IoControlCode, | ||
| IN LPVOID | InBuffer, | ||
| IN DWORD | InBufferSize, | ||
| OUT LPVOID | OutBuffer, | ||
| IN DWORD | OutBufferSize, | ||
| OUT LPDWORD BytesTransferred | OPTIONAL | ||
| ) |
Definition at line 298 of file misc.c.
|
extern |
Definition at line 12 of file dsound.c.
Referenced by DllMain(), and LoadResourceString().
|
extern |
Definition at line 13 of file dsound.c.
Referenced by CDirectSoundCapture_fnInitialize(), DllMain(), DSoundEnumerate(), FindDeviceByGuid(), FindDeviceByMappedId(), and IDirectSound8_fnInitialize().