diff options
| author | tmator <tmator@gmail.com> | 2009-04-07 03:56:21 +0000 |
|---|---|---|
| committer | tmator <tmator@gmail.com> | 2009-04-07 03:56:21 +0000 |
| commit | c662713ba0cadfc81879b93f8732fe294ff140d1 (patch) | |
| tree | 782390553cc056cf82875d71038d1f2641fd9773 /Source/Core/AudioCommon/Src/OpenALStream.cpp | |
| parent | f18718922e88e6bb69ae3883c0da84a4cf9e80cc (diff) | |
osx build fix
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2912 8ced0084-cf51-0410-be5f-012b33b47a6e
Diffstat (limited to 'Source/Core/AudioCommon/Src/OpenALStream.cpp')
| -rw-r--r-- | Source/Core/AudioCommon/Src/OpenALStream.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/Core/AudioCommon/Src/OpenALStream.cpp b/Source/Core/AudioCommon/Src/OpenALStream.cpp index b0499f4ae0..adcf30d90a 100644 --- a/Source/Core/AudioCommon/Src/OpenALStream.cpp +++ b/Source/Core/AudioCommon/Src/OpenALStream.cpp @@ -33,7 +33,7 @@ bool OpenALStream::Start() pDeviceList = new ALDeviceList();
if ((pDeviceList) && (pDeviceList->GetNumDevices()))
{
- pDevice = alcOpenDevice(pDeviceList->GetDeviceName(pDeviceList->GetDefaultDevice()));
+ pDevice = alcOpenDevice((ALCubyte*)pDeviceList->GetDeviceName(pDeviceList->GetDefaultDevice()));
if (pDevice)
{
pContext = alcCreateContext(pDevice, NULL);
@@ -150,7 +150,7 @@ void OpenALStream::SoundLoop() // Clean up buffers and sources
alDeleteSources(1, &uiSource);
- alDeleteBuffers(AUDIO_NUMBUFFERS, (const ALuint *)uiBuffers);
+ alDeleteBuffers(AUDIO_NUMBUFFERS, (ALuint *)uiBuffers);
}
|
