Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

I2S aplay /dev/zero script blocks playback: "Device or resource busy" #64

Open
besi opened this issue Nov 3, 2019 · 2 comments
Open

Comments

@besi
Copy link

besi commented Nov 3, 2019

I did run the installer script for the I2S Class D amp and everything did work fine right from the start.

However, if I do enable the option activate '/dev/zero' playback
then I get an error when attempting to playback some audio:

aplay: main:788: audio open error: Device or resource busy

Could it be that only on instance can be using aplay at any given moment?

See i2samp.sh#L450

/usr/bin/aplay -D default -t raw -r 44100 -c 2 -f S16_LE /dev/zero
@ladyada
Copy link
Member

ladyada commented Nov 3, 2019

no, you can def run more than once. try rebooting

@edmcdonagh
Copy link
Contributor

I have this same issue - unless I kill the systemd aplay service I can't play anything - aplay: main:828: audio open error: Device or resource busy

I have rebooted multiple times, but the only solution so far is to kill the service or to disable it.

The same is true if I try an aplay two wav files simultaneously - what is it that makes aplay accept two inputs?

I'd be grateful for any pointers!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants