mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 06:09:50 -06:00
Port to *BSD. It runs but isn't terribly useful without Cg.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5934 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
@ -26,12 +26,14 @@ void AudioCommonConfig::Load(IniFile &file) {
|
||||
file.Get("Config", "Volume", &m_Volume, 75);
|
||||
#ifdef _WIN32
|
||||
file.Get("Config", "Backend", &sBackend, BACKEND_DIRECTSOUND);
|
||||
#elif defined(__APPLE__)
|
||||
#elif defined __APPLE__
|
||||
std::string temp;
|
||||
file.Get("Config", "Backend", &temp, BACKEND_COREAUDIO);
|
||||
strncpy(sBackend, temp.c_str(), 128);
|
||||
#else // linux
|
||||
#elif defined __linux__
|
||||
file.Get("Config", "Backend", &sBackend, BACKEND_ALSA);
|
||||
#else
|
||||
file.Get("Config", "Backend", &sBackend, BACKEND_OPENAL);
|
||||
#endif
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user