MCPcopy Create free account
hub / github.com/HertzDevil/0CC-FamiTracker / EnumerateDevices

Method EnumerateDevices

Source/DirectSound.cpp:92–108  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

90}
91
92void CDSound::EnumerateDevices()
93{
94 ClearEnumeration();
95
96 DirectSoundEnumerate(DSEnumCallback, this); // // //
97
98#ifdef _DEBUG
99 // Add an invalid device for debugging reasons
100 GUID g;
101 g.Data1 = 1;
102 g.Data2 = 2;
103 g.Data3 = 3;
104 for (int i = 0; i < 8; ++i)
105 g.Data4[i] = i;
106 EnumerateCallback(&g, L"Invalid device", NULL);
107#endif
108}
109
110unsigned int CDSound::GetDeviceCount() const
111{

Callers 1

InitializeSoundMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected