# BruteFIR crashes when playing sound

**URL:** https://dietpi.com/forum/t/brutefir-crashes-when-playing-sound/1721
**Category:** Troubleshooting
**Created:** [13 December 2017 16:07 UTC](https://dietpi.com/forum/t/brutefir-crashes-when-playing-sound/1721 "2017-12-13T16:07:46Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![rmccardle](https://dietpi.com/forum/letter_avatar_proxy/v4/letter/r/b5e925/32.png) [@rmccardle](https://dietpi.com/forum/u/rmccardle)
#### Post date: [13 December 2017 16:07 UTC](https://dietpi.com/forum/t/brutefir-crashes-when-playing-sound/1721/1 "2017-12-13T16:07:46Z")

</div>

I have the DietPi BruteFIR package installed using a Raspberry Pi 3 and USB sound card.

BruteFIR plays sound fine if a .wav file is the input, but if I try to play anything through the loopback by for example using aplay to play a wav file it crashes with the following error:

```nohighlight
ALSA I/O: Could not read audio: File descriptor in bad state.
I/O module failed to read, aborting.

```

I have had BruteFIR working on the same Raspberry Pi with a regular Raspian installation and I can’t figure out what is causing the problem in this case…

---

<div class="post-metadata">

### Author: ![charlielaub](https://dietpi.com/forum/letter_avatar_proxy/v4/letter/c/bbce88/32.png) [@charlielaub](https://dietpi.com/forum/u/charlielaub)
#### Post date: [13 December 2017 16:31 UTC](https://dietpi.com/forum/t/brutefir-crashes-when-playing-sound/1721/2 "2017-12-13T16:31:10Z")

</div>

I warned about this problem here:  
[https://dietpi.com/forum/t/tinker-board-dietpi-release-is-missing-alsa-loopback/1704/1](https://dietpi.com/forum/t/tinker-board-dietpi-release-is-missing-alsa-loopback/1704/1)

The alsa loopback is not included in the OS (at least on my Tinker Board version), so BruteFIR can’t find it and throws the error.

Please join me in asking Fourdee to add the alsa loopback to all current DietPi releases as soon as possible.

---

<div class="post-metadata">

### Author: ![rmccardle](https://dietpi.com/forum/letter_avatar_proxy/v4/letter/r/b5e925/32.png) [@rmccardle](https://dietpi.com/forum/u/rmccardle)
#### Post date: [2 January 2018 09:19 UTC](https://dietpi.com/forum/t/brutefir-crashes-when-playing-sound/1721/3 "2018-01-02T09:19:44Z")

</div>

I found that it doesn’t crash as long as I just use the default sound output - i.e. don’t specify which playback hardware aplay uses with the -D parameter. Even though the playback hardware I was specifying IS the default playback device.
