ReactOS 0.4.16-dev-297-gc569aee
|
#include "wdmaud.h"
#include <winreg.h>
#include <setupapi.h>
#include <mmixer.h>
#include <ndk/rtlfuncs.h>
#include <ndk/iofuncs.h>
#include <debug.h>
#include <mmebuddy_debug.h>
Go to the source code of this file.
Macros | |
#define | NTOS_MODE_USER |
#define | NDEBUG |
Variables | |
BOOL | MMixerLibraryInitialized = FALSE |
MIXER_CONTEXT | MixerContext |
GUID | CategoryGuid = {STATIC_KSCATEGORY_AUDIO} |
Definition at line 307 of file mmixer.c.
MIXER_STATUS Close | ( | HANDLE | hDevice | ) |
MIXER_STATUS CloseKey | ( | IN HANDLE | hKey | ) |
|
static |
Definition at line 925 of file mmixer.c.
Referenced by WdmAudCommitWaveBufferByMMixer().
MIXER_STATUS Control | ( | IN HANDLE | hMixer, |
IN ULONG | dwIoControlCode, | ||
IN PVOID | lpInBuffer, | ||
IN ULONG | nInBufferSize, | ||
OUT PVOID | lpOutBuffer, | ||
ULONG | nOutBufferSize, | ||
PULONG | lpBytesReturned | ||
) |
Definition at line 153 of file mmixer.c.
Definition at line 126 of file mmixer.c.
Referenced by DECLARE_INTERFACE_(), IopQueueDeviceChangeEvent(), IopQueueDeviceInstallEvent(), IopQueueTargetDeviceEvent(), NtUserInternalGetWindowText(), PrependPacket(), and RepairList().
MIXER_STATUS Enum | ( | IN PVOID | EnumContext, |
IN ULONG | DeviceIndex, | ||
OUT LPWSTR * | DeviceName, | ||
OUT PHANDLE | OutHandle, | ||
OUT PHANDLE | OutKey | ||
) |
Definition at line 220 of file mmixer.c.
Referenced by Moniker_Enum(), test_Hlink_Navigate(), test_HlinkClone(), test_HlinkGetSetMonikerReference(), test_HlinkSite(), USBH_ChangeIndicationWorker(), WdmAudInitUserModeMixer(), WdmAudMixerInitialize(), and WshCollection__NewEnum().
VOID CALLBACK MixerEventCallback | ( | IN PVOID | MixerEventContext, |
IN HANDLE | hMixer, | ||
IN ULONG | NotificationType, | ||
IN ULONG | Value | ||
) |
Definition at line 672 of file mmixer.c.
Referenced by WdmAudSetMixerDeviceFormatByMMixer().
MIXER_STATUS Open | ( | IN LPWSTR | DevicePath, |
OUT PHANDLE | hDevice | ||
) |
Definition at line 132 of file mmixer.c.
MIXER_STATUS OpenKey | ( | IN HANDLE | hKey, |
IN LPWSTR | SubKey, | ||
IN ULONG | DesiredAccess, | ||
OUT PHANDLE | OutKey | ||
) |
Definition at line 84 of file mmixer.c.
MIXER_STATUS QueryKeyValue | ( | IN HANDLE | hKey, |
IN LPWSTR | KeyName, | ||
OUT PVOID * | ResultBuffer, | ||
OUT PULONG | ResultLength, | ||
OUT PULONG | KeyType | ||
) |
Definition at line 61 of file mmixer.c.
MMRESULT WdmAudCleanupByMMixer | ( | ) |
MMRESULT WdmAudCloseSoundDeviceByMMixer | ( | IN struct _SOUND_DEVICE_INSTANCE * | SoundDeviceInstance, |
IN PVOID | Handle | ||
) |
Definition at line 557 of file mmixer.c.
MMRESULT WdmAudCommitWaveBufferByMMixer | ( | IN PSOUND_DEVICE_INSTANCE | SoundDeviceInstance, |
IN PVOID | OffsetPtr, | ||
IN DWORD | Length, | ||
IN PSOUND_OVERLAPPED | Overlap, | ||
IN LPOVERLAPPED_COMPLETION_ROUTINE | CompletionRoutine | ||
) |
Definition at line 945 of file mmixer.c.
MMRESULT WdmAudGetCapabilitiesByMMixer | ( | IN PSOUND_DEVICE | SoundDevice, |
IN DWORD | DeviceId, | ||
OUT PVOID | Capabilities, | ||
IN DWORD | CapabilitiesSize | ||
) |
Definition at line 514 of file mmixer.c.
MMRESULT WdmAudGetControlDetails | ( | IN HANDLE | hMixer, |
IN DWORD | MixerId, | ||
IN LPMIXERCONTROLDETAILS | MixDetails, | ||
IN ULONG | Flags | ||
) |
Definition at line 440 of file mmixer.c.
Referenced by WdmAudDeviceControl(), WdmAudGetVolumeByMMixer(), and WdmAudQueryMixerInfoByMMixer().
MMRESULT WdmAudGetDeviceInterfaceStringByMMixer | ( | IN MMDEVICE_TYPE | DeviceType, |
IN DWORD | DeviceId, | ||
IN LPWSTR | Interface, | ||
IN DWORD | InterfaceLength, | ||
OUT DWORD * | InterfaceSize | ||
) |
MMRESULT WdmAudGetLineControls | ( | IN HANDLE | hMixer, |
IN DWORD | MixerId, | ||
IN LPMIXERLINECONTROLSW | MixControls, | ||
IN ULONG | Flags | ||
) |
Definition at line 413 of file mmixer.c.
Referenced by WdmAudDeviceControl(), WdmAudGetVolumeByMMixer(), WdmAudQueryMixerInfoByMMixer(), and WdmAudSetVolumeByMMixer().
MMRESULT WdmAudGetLineInfo | ( | IN HANDLE | hMixer, |
IN DWORD | MixerId, | ||
IN LPMIXERLINEW | MixLine, | ||
IN ULONG | Flags | ||
) |
Definition at line 400 of file mmixer.c.
Referenced by WdmAudDeviceControl(), WdmAudGetVolumeByMMixer(), WdmAudQueryMixerInfoByMMixer(), and WdmAudSetVolumeByMMixer().
MMRESULT WdmAudGetMixerCapabilities | ( | IN ULONG | DeviceId, |
LPMIXERCAPSW | Capabilities | ||
) |
Definition at line 389 of file mmixer.c.
Referenced by WdmAudGetCapabilitiesByMMixer().
MMRESULT WdmAudGetNumWdmDevsByMMixer | ( | IN MMDEVICE_TYPE | DeviceType, |
OUT DWORD * | DeviceCount | ||
) |
Definition at line 596 of file mmixer.c.
MMRESULT WdmAudGetVolumeByMMixer | ( | _In_ PSOUND_DEVICE_INSTANCE | SoundDeviceInstance, |
_In_ DWORD | DeviceId, | ||
_Out_ PDWORD | pdwVolume | ||
) |
Definition at line 809 of file mmixer.c.
MMRESULT WdmAudGetWaveInCapabilities | ( | IN ULONG | DeviceId, |
LPWAVEINCAPSW | Capabilities | ||
) |
Definition at line 465 of file mmixer.c.
Referenced by WdmAudGetCapabilitiesByMMixer().
MMRESULT WdmAudGetWaveOutCapabilities | ( | IN ULONG | DeviceId, |
LPWAVEOUTCAPSW | Capabilities | ||
) |
Definition at line 453 of file mmixer.c.
Referenced by WdmAudGetCapabilitiesByMMixer().
MMRESULT WdmAudGetWavePositionByMMixer | ( | IN struct _SOUND_DEVICE_INSTANCE * | SoundDeviceInstance, |
IN MMTIME * | Time | ||
) |
Definition at line 775 of file mmixer.c.
BOOL WdmAudInitUserModeMixer | ( | ) |
Definition at line 336 of file mmixer.c.
Referenced by WdmAudOpenSoundDeviceByMMixer().
MMRESULT WdmAudOpenSoundDeviceByMMixer | ( | IN struct _SOUND_DEVICE * | SoundDevice, |
OUT PVOID * | Handle | ||
) |
MMRESULT WdmAudQueryMixerInfoByMMixer | ( | IN struct _SOUND_DEVICE_INSTANCE * | SoundDeviceInstance, |
IN DWORD | MixerId, | ||
IN UINT | uMsg, | ||
IN LPVOID | Parameter, | ||
IN DWORD | Flags | ||
) |
Definition at line 618 of file mmixer.c.
MMRESULT WdmAudResetStreamByMMixer | ( | IN struct _SOUND_DEVICE_INSTANCE * | SoundDeviceInstance, |
IN MMDEVICE_TYPE | DeviceType, | ||
IN BOOLEAN | bStartReset | ||
) |
Definition at line 753 of file mmixer.c.
MMRESULT WdmAudSetControlDetails | ( | IN HANDLE | hMixer, |
IN DWORD | MixerId, | ||
IN LPMIXERCONTROLDETAILS | MixDetails, | ||
IN ULONG | Flags | ||
) |
Definition at line 426 of file mmixer.c.
Referenced by WdmAudDeviceControl(), WdmAudQueryMixerInfoByMMixer(), and WdmAudSetVolumeByMMixer().
MMRESULT WdmAudSetMixerDeviceFormatByMMixer | ( | IN PSOUND_DEVICE_INSTANCE | Instance, |
IN DWORD | DeviceId, | ||
IN PWAVEFORMATEX | WaveFormat, | ||
IN DWORD | WaveFormatSize | ||
) |
Definition at line 690 of file mmixer.c.
MMRESULT WdmAudSetVolumeByMMixer | ( | _In_ PSOUND_DEVICE_INSTANCE | SoundDeviceInstance, |
_In_ DWORD | DeviceId, | ||
_In_ DWORD | dwVolume | ||
) |
Definition at line 866 of file mmixer.c.
MMRESULT WdmAudSetWaveDeviceFormatByMMixer | ( | IN PSOUND_DEVICE_INSTANCE | Instance, |
IN DWORD | DeviceId, | ||
IN PWAVEFORMATEX | WaveFormat, | ||
IN DWORD | WaveFormatSize | ||
) |
Definition at line 476 of file mmixer.c.
MMRESULT WdmAudSetWaveStateByMMixer | ( | IN struct _SOUND_DEVICE_INSTANCE * | SoundDeviceInstance, |
IN BOOL | bStart | ||
) |
Definition at line 703 of file mmixer.c.
GUID CategoryGuid = {STATIC_KSCATEGORY_AUDIO} |
Definition at line 58 of file mmixer.c.
Referenced by Enum(), and WdmAudInitUserModeMixer().
MIXER_CONTEXT MixerContext |
Definition at line 41 of file mmixer.c.
Referenced by MMixerAddEvent(), MMixerAddMidiPin(), MMixerAddMixerControl(), MMixerAddMixerControlsToDestinationLine(), MMixerAddMixerControlsToMixerLineByNodeIndexArray(), MMixerAddMixerSourceLines(), MMixerAddPinConnection(), MMixerAddPinIndexToArray(), MMixerAddPinToPinConnection(), MMixerAllocatePinConnect(), MMixerAllocateTopology(), MMixerAllocateTopologyNodeArray(), MMixerAllocateTopologyPinArray(), MMixerApplyOutputFilterHack(), MMixerBuildMixerDestinationLine(), MMixerBuildMixerSourceLine(), MMixerBuildTopology(), MMixerCheckFilterPinMidiSupport(), MMixerClose(), MMixerCountMixerControls(), MMixerCreateDestinationLine(), MMixerCreateMixerData(), MMixerCreateTopology(), MMixerExploreTopology(), MMixerFreeMixerInfo(), MMixerGetAllUpOrDownstreamNodesFromNodeIndex(), MMixerGetAllUpOrDownstreamNodesFromPinIndex(), MMixerGetAllUpOrDownstreamPinsFromNodeIndex(), MMixerGetAllUpOrDownstreamPinsFromPinIndex(), MMixerGetAudioPinDataRanges(), MMixerGetCapabilities(), MMixerGetChannelCountEnhanced(), MMixerGetChannelCountLegacy(), MMixerGetComponentAndTargetType(), MMixerGetControlDetails(), MMixerGetCount(), MMixerGetDeviceName(), MMixerGetDeviceNameWithComponentId(), MMixerGetFilterPinCount(), MMixerGetFilterTopologyProperty(), MMixerGetLineControls(), MMixerGetLineInfo(), MMixerGetMaxChannelsForNode(), MMixerGetMidiDevicePath(), MMixerGetMidiInCount(), MMixerGetMidiOutCount(), MMixerGetMixerDataByDeviceHandle(), MMixerGetMixerInfoByIndex(), MMixerGetPhysicalConnection(), MMixerGetPinDataFlowAndCommunication(), MMixerGetPinInstanceCount(), MMixerGetPinName(), MMixerGetUpOrDownstreamNodes(), MMixerGetUpOrDownStreamPins(), MMixerGetWaveDevicePath(), MMixerGetWaveInCount(), MMixerGetWaveOutCount(), MMixerGetWavePosition(), MMixerHandleAlternativeMixers(), MMixerHandleNodePinConnection(), MMixerHandleNodeToNodeConnection(), MMixerHandlePhysicalConnection(), MMixerHandleTopologyFilter(), MMixerInitialize(), MMixerInitializeFilter(), MMixerInitializeMidiForFilter(), MMixerInitializeTopologyNodes(), MMixerInitializeWaveInfo(), MMixerIsNodeConnectedToPin(), MMixerMidiInCapabilities(), MMixerMidiOutCapabilities(), MMixerOpen(), MMixerOpenMidi(), MMixerOpenMidiPin(), MMixerOpenWave(), MMixerOpenWavePin(), MMixerPrintMixers(), MMixerRemoveEvent(), MMixerSetControlDetails(), MMixerSetGetControlDetails(), MMixerSetGetMuteControlDetails(), MMixerSetGetMuxControlDetails(), MMixerSetGetVolumeControlDetails(), MMixerSetMidiStatus(), MMixerSetupFilter(), MMixerSetWaveResetState(), MMixerSetWaveStatus(), MMixerVerifyContext(), MMixerWaveInCapabilities(), MMixerWaveOutCapabilities(), WdmAudCloseAllMixers(), WdmAudCloseSoundDeviceByMMixer(), WdmAudControlCloseMixer(), WdmAudControlOpenMidi(), WdmAudControlOpenMixer(), WdmAudControlOpenWave(), WdmAudGetControlDetails(), WdmAudGetLineControls(), WdmAudGetLineInfo(), WdmAudGetMidiInDeviceCount(), WdmAudGetMidiOutDeviceCount(), WdmAudGetMixerCapabilities(), WdmAudGetMixerDeviceCount(), WdmAudGetNumWdmDevsByMMixer(), WdmAudGetPnpNameByIndexAndType(), WdmAudGetPosition(), WdmAudGetWaveInCapabilities(), WdmAudGetWaveInDeviceCount(), WdmAudGetWaveOutCapabilities(), WdmAudGetWaveOutDeviceCount(), WdmAudGetWavePositionByMMixer(), WdmAudInitUserModeMixer(), WdmAudMidiCapabilities(), WdmAudMixerCapabilities(), WdmAudMixerInitialize(), WdmAudResetStreamByMMixer(), WdmAudSetControlDetails(), WdmAudSetMixerDeviceFormatByMMixer(), WdmAudSetWaveDeviceFormatByMMixer(), WdmAudSetWaveStateByMMixer(), and WdmAudWaveCapabilities().
Definition at line 24 of file mmixer.c.
Referenced by WdmAudInitUserModeMixer().