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:
parent
5c49cdba8a
commit
6277552ef5
23 changed files with 317 additions and 332 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue