| 188 | bool active = true; |
| 189 | alGetSourcei(src->id, AL_BUFFERS_PROCESSED, &processed); |
| 190 | loopi(processed) |
| 191 | { |
| 192 | ALuint buffer; |
| 193 | alSourceUnqueueBuffers(src->id, 1, &buffer); |
| 194 | active = stream(buffer); |
| 195 | if(active) alSourceQueueBuffers(src->id, 1, &buffer); |
| 196 | } |
| 197 | |
| 198 | if(active) |
| 199 | { |