aboutsummaryrefslogtreecommitdiff
path: root/guilib/AudioContext.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'guilib/AudioContext.cpp')
-rw-r--r--guilib/AudioContext.cpp7
1 files changed, 0 insertions, 7 deletions
diff --git a/guilib/AudioContext.cpp b/guilib/AudioContext.cpp
index 5e68b406bd..4cec226c0f 100644
--- a/guilib/AudioContext.cpp
+++ b/guilib/AudioContext.cpp
@@ -91,13 +91,6 @@ void CAudioContext::SetActiveDevice(int iDevice)
return;
#endif
- if (iDevice==DEFAULT_DEVICE)
- {
- /* we just tell callbacks to init, it will setup audio */
- g_audioManager.Initialize(iDevice);
- return;
- }
-
/* deinit current device */
RemoveActiveDevice();