# Diffs for dsp audio in case of failures

**URL:** <https://discourse.libsdl.org/t/diffs-for-dsp-audio-in-case-of-failures/11834>\
**Category:** SDL Development\
**Created:** [February 2, 2005, 1:53am UTC](https://discourse.libsdl.org/t/diffs-for-dsp-audio-in-case-of-failures/11834 "2005-02-02T01:53:07Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Bill\_May](https://discourse.libsdl.org/letter_avatar_proxy/v4/letter/b/8edcca/32.png) [@Bill\_May](https://discourse.libsdl.org/u/Bill_May)\
**Post date:** [February 2, 2005, 1:53am UTC](https://discourse.libsdl.org/t/diffs-for-dsp-audio-in-case-of-failures/11834/1 "2005-02-02T01:53:07Z")

</div>

The rewrite recently done for 1.2.8 forgot to handle error cases  
by closing the audio.

Here is a patch that does.

-------------- next part --------------  
An embedded and charset-unspecified text was scrubbed…  
Name: sdl.diffs  
URL: [http://lists.libsdl.org/pipermail/sdl-libsdl.org/attachments/20050201/5cd7e8a6/attachment.txt](http://lists.libsdl.org/pipermail/sdl-libsdl.org/attachments/20050201/5cd7e8a6/attachment.txt)

---

<div class="post-metadata">

**Author:** ![slouken](https://discourse.libsdl.org/letter_avatar_proxy/v4/letter/s/ec9cab/32.png) [@slouken](https://discourse.libsdl.org/u/slouken)\
**Post date:** [February 12, 2005, 7:39pm UTC](https://discourse.libsdl.org/t/diffs-for-dsp-audio-in-case-of-failures/11834/2 "2005-02-12T19:39:20Z")

</div>

> The rewrite recently done for 1.2.8 forgot to handle error cases  
> by closing the audio.

> Here is a patch that does.

Thanks, this has been added to CVS.

See ya!  
-Sam Lantinga, Software Engineer, Blizzard Entertainment
