summaryrefslogtreecommitdiff
path: root/src/client
diff options
context:
space:
mode:
Diffstat (limited to 'src/client')
-rw-r--r--src/client/snd_openal.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/client/snd_openal.c b/src/client/snd_openal.c
index 403d013c..25854dc8 100644
--- a/src/client/snd_openal.c
+++ b/src/client/snd_openal.c
@@ -1849,6 +1849,13 @@ void S_AL_RawSamples(int stream, int samples, int rate, int width, int channels,
// Volume
S_AL_Gain (streamSources[stream], volume * s_volume->value * s_alGain->value);
}
+
+ // Start stream
+ if(!streamPlaying[stream])
+ {
+ qalSourcePlay( streamSources[stream] );
+ streamPlaying[stream] = qtrue;
+ }
}
/*