mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-28 19:58:53 +00:00
OSX build fix
This commit is contained in:
parent
a9388ce2e2
commit
7402a89e6e
1 changed files with 2 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue