diff options
| author | Gary Scavone <gary@music.mcgill.ca> | 2014-04-23 15:56:07 -0400 |
|---|---|---|
| committer | Gary Scavone <gary@music.mcgill.ca> | 2014-04-23 15:56:07 -0400 |
| commit | 4ca315146dd2b5ddb5fc859dd33c229c6ddd53bf (patch) | |
| tree | be8acf36fbcba358ca0c297fd0df62c71c6dfb14 /RtAudio.cpp | |
| parent | 1bf01e75ca213e0a977357b173b4b47c6df1c576 (diff) | |
Added an explicit cast of (LPCTSRT) on line 4626, which seemed necessary when compiling with UNICODE defined.
Diffstat (limited to 'RtAudio.cpp')
| -rw-r--r-- | RtAudio.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/RtAudio.cpp b/RtAudio.cpp index 9760c7c..28e8020 100644 --- a/RtAudio.cpp +++ b/RtAudio.cpp @@ -4623,7 +4623,7 @@ void RtApiWasapi::wasapiThread() RtAudioError::Type errorType = RtAudioError::DRIVER_ERROR;
// Attempt to assign "Pro Audio" characteristic to thread
- HMODULE AvrtDll = LoadLibrary( "AVRT.dll" );
+ HMODULE AvrtDll = LoadLibrary( (LPCTSTR) "AVRT.dll" );
if ( AvrtDll ) {
DWORD taskIndex = 0;
TAvSetMmThreadCharacteristicsPtr AvSetMmThreadCharacteristicsPtr = ( TAvSetMmThreadCharacteristicsPtr ) GetProcAddress( AvrtDll, "AvSetMmThreadCharacteristicsW" );
|
