1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-29 02:40:05 +00:00

Fixed a couple of linux file issues. Removed operator& overloads from a couple of places where they shouldn't have been done. Fixed a few minor win32 compile issues. Improved some internal COM object wrappers.

This commit is contained in:
Julian Storer 2010-10-11 14:52:18 +01:00
parent 5c49cdba8a
commit 6277552ef5
23 changed files with 317 additions and 332 deletions

View file

@ -103,11 +103,11 @@ static const String getDeviceID (IMMDevice* const device)
return s;
}
static EDataFlow getDataFlow (IMMDevice* const device)
static EDataFlow getDataFlow (const ComSmartPtr<IMMDevice>& device)
{
EDataFlow flow = eRender;
ComSmartPtr <IMMEndpoint> endPoint;
if (check (device->QueryInterface (__uuidof (IMMEndpoint), (void**) &endPoint)))
if (check (device.QueryInterface (__uuidof (IMMEndpoint), endPoint)))
(void) check (endPoint->GetDataFlow (&flow));
return flow;