diff options
| author | Konstantin <const@const.me> | 2023-01-28 15:05:49 +0100 |
|---|---|---|
| committer | Konstantin <const@const.me> | 2023-01-28 15:05:49 +0100 |
| commit | 214aacaa5c0a685f8be1cbe4fe06f5a1af8ad2d4 (patch) | |
| tree | adb9b9d34aa1c10813a61291fe27ea2a15275214 /Examples/main/main.cpp | |
| parent | ff1bb57a5560299d6641d0216f247f2ba2daeb9e (diff) | |
Bugfix, compilation error in C++ console example
Diffstat (limited to 'Examples/main/main.cpp')
| -rw-r--r-- | Examples/main/main.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Examples/main/main.cpp b/Examples/main/main.cpp index c9eacf2..ec95e13 100644 --- a/Examples/main/main.cpp +++ b/Examples/main/main.cpp @@ -14,7 +14,8 @@ static HRESULT loadWhisperModel( const wchar_t* path, iModel** pp ) using namespace Whisper; constexpr eModelImplementation impl = eModelImplementation::GPU; // constexpr eModelImplementation impl = eModelImplementation::Reference; - return Whisper::loadModel( path, impl, nullptr, pp ); + constexpr uint32_t flags = 0; + return Whisper::loadModel( path, impl, flags, nullptr, pp ); } namespace |
