equal
deleted
inserted
replaced
202 |
202 |
203 static void |
203 static void |
204 ARTS_CloseDevice(_THIS) |
204 ARTS_CloseDevice(_THIS) |
205 { |
205 { |
206 if (this->hidden != NULL) { |
206 if (this->hidden != NULL) { |
207 if (this->hidden->mixbuf != NULL) { |
207 SDL_FreeAudioMem(this->hidden->mixbuf); |
208 SDL_FreeAudioMem(this->hidden->mixbuf); |
208 this->hidden->mixbuf = NULL; |
209 this->hidden->mixbuf = NULL; |
|
210 } |
|
211 if (this->hidden->stream) { |
209 if (this->hidden->stream) { |
212 SDL_NAME(arts_close_stream) (this->hidden->stream); |
210 SDL_NAME(arts_close_stream) (this->hidden->stream); |
213 this->hidden->stream = 0; |
211 this->hidden->stream = 0; |
214 } |
212 } |
215 SDL_NAME(arts_free) (); |
213 SDL_NAME(arts_free) (); |