Skip to content

Commit

Permalink
Fix mistake in first parameter type in function pointer
Browse files Browse the repository at this point in the history
  • Loading branch information
padenot committed Mar 20, 2024
1 parent aaffe75 commit 2a85b48
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/cubeb_wasapi.cpp
Expand Up @@ -205,7 +205,7 @@ struct auto_stream_ref {
};

using set_mm_thread_characteristics_function =
decltype(&AvSetMmThreadCharacteristicsA);
decltype(&AvSetMmThreadCharacteristicsW);
using revert_mm_thread_characteristics_function =
decltype(&AvRevertMmThreadCharacteristics);

Expand Down Expand Up @@ -1536,7 +1536,7 @@ void
wasapi_destroy(cubeb * context);

HANDLE WINAPI
set_mm_thread_characteristics_noop(const char *, LPDWORD mmcss_task_index)
set_mm_thread_characteristics_noop(LPCWSTR, LPDWORD mmcss_task_index)
{
return (HANDLE)1;
}
Expand Down

0 comments on commit 2a85b48

Please sign in to comment.