Merge pull request #41 from scribam/ao-compilation-fix

Compilation fix for ao audio backend
This commit is contained in:
flyinghead 2020-03-16 18:31:17 +01:00 committed by GitHub
commit 39af255335
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -24,7 +24,7 @@ static void libao_init()
static u32 libao_push(const void* frame, u32 samples, bool wait)
{
if (aodevice)
ao_play(aodevice, (const char*)frame, samples * 4);
ao_play(aodevice, (char*)frame, samples * 4);
return 1;
}