Revision ff49ed31 server/src/Arbiter.cpp
| server/src/Arbiter.cpp | ||
|---|---|---|
| 43 | 43 |
// allow none for no sound output |
| 44 | 44 |
audio_player = NULL; |
| 45 | 45 |
} |
| 46 |
else if (iequals(audio_output.substr(0, 3), "rsb")) {
|
|
| 47 |
#ifdef RSB_SUPPORT |
|
| 48 |
audio_player = new AudioPlayerRSB(audio_output); |
|
| 49 |
#else |
|
| 50 |
printf("> ERROR: hlc is compiled without RSB support, RSB audio transport not available, defaulting to libao (default "
|
|
| 51 |
"output!)\n"); |
|
| 52 |
audio_player = new AudioPlayerLibAO("");
|
|
| 53 |
#endif |
|
| 54 |
} |
|
| 46 |
else if (iequals(audio_output.substr(0, 3), "rsb")) {
|
|
| 47 |
printf("> ERROR: hlc is compiled without RSB support, RSB audio transport not available, defaulting to libao (default "
|
|
| 48 |
"output!)\n"); |
|
| 49 |
audio_player = new AudioPlayerLibAO("");
|
|
| 50 |
} |
|
| 55 | 51 |
else {
|
| 56 | 52 |
audio_player = new AudioPlayerLibAO(audio_output); |
| 57 | 53 |
} |
Also available in: Unified diff