Skip to content

Commit

Permalink
WASAPI : Fix Windows <10 build
Browse files Browse the repository at this point in the history
  • Loading branch information
MarcusTomlinson committed Oct 26, 2021
1 parent c4761e0 commit a460921
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions RtAudio.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3837,6 +3837,17 @@ if ( objectPtr )\

typedef HANDLE ( __stdcall *TAvSetMmThreadCharacteristicsPtr )( LPCWSTR TaskName, LPDWORD TaskIndex );

#ifndef __IAudioClient3_INTERFACE_DEFINED__
MIDL_INTERFACE("00000000-0000-0000-0000-000000000000") IAudioClient3
{
virtual HRESULT GetSharedModeEnginePeriod( WAVEFORMATEX*, UINT32*, UINT32*, UINT32*, UINT32* ) = 0;
virtual HRESULT InitializeSharedAudioStream( DWORD, UINT32, WAVEFORMATEX*, LPCGUID ) = 0;
};
#ifdef __CRT_UUID_DECL
__CRT_UUID_DECL( IAudioClient3, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 )
#endif
#endif

//-----------------------------------------------------------------------------

// WASAPI dictates stream sample rate, format, channel count, and in some cases, buffer size.
Expand Down

0 comments on commit a460921

Please sign in to comment.