mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-02-28 06:41:15 +00:00
OSX build fix
This commit is contained in:
parent
a9388ce2e2
commit
7402a89e6e
@ -275,6 +275,7 @@ void OpenALStream::SoundLoop()
|
|||||||
#endif
|
#endif
|
||||||
if (!surround_capable)
|
if (!surround_capable)
|
||||||
{
|
{
|
||||||
|
#if !defined(__APPLE__)
|
||||||
if (float32_capable)
|
if (float32_capable)
|
||||||
{
|
{
|
||||||
alBufferData(uiBufferTemp[iBuffersFilled], AL_FORMAT_STEREO_FLOAT32, sampleBuffer, nSamples * 4 * 2, ulFrequency);
|
alBufferData(uiBufferTemp[iBuffersFilled], AL_FORMAT_STEREO_FLOAT32, sampleBuffer, nSamples * 4 * 2, ulFrequency);
|
||||||
@ -289,7 +290,7 @@ void OpenALStream::SoundLoop()
|
|||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
if (!float32_capable)
|
if (!float32_capable)
|
||||||
{
|
{
|
||||||
// Convert the samples from float to short
|
// Convert the samples from float to short
|
||||||
|
Loading…
x
Reference in New Issue
Block a user