question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[6c0004d8] alsa audio output error: cannot estimate delay: Input/output error

See original GitHub issue

Getting the following error

[6c0004d8] alsa audio output error: cannot estimate delay: Input/output error

Your OS (including version) where you are running AlexaPi:

Raspbian Jessie/Pixel. 
Updated today with apt-get update and apt-get install update

Your hardware platform and model you are running on:

Raspberry PI 3

Python release (python2 --version):

2.7.9

Description of problem:

Getting the following error
[6c0004d8] alsa audio output error: cannot estimate delay: Input/output error

Problem-relevant config.yaml entries:

sound:
  # Name of your ALSA microphone/soundcard in arecord -L
  input_device: "pulse"
  # This is here if none of the listed device: "raspberrypi"
  # This is an override that is normally not needed and is a last resort.
  allow_unlisted_input_device: false

  playback_handler: "vlc"

   # you can go here with alsa, pulse or others
  # keep blank for the best audio output selected by the underlying code
  output: "pulse"
  # output device: "raspberrypi"
  # currently supports ALSA only
  output_device: ""

  # if left empty, won't be passed to the underlying library / command if it su$
  # if it doesn't 100% will be used
  default_volume: 80

  # Means the same as above, but is used for media (playing music for example)
  # Leave blank to use the same setting as for speech content
  media_output:
  media_output_device:
  media_default_volume:

  # Some device: "raspberrypi"
  # value is the number of seconds of silence to pad the beginning and end of t$
  # the sox handler supports this configuration option.
  playback_padding: 0

Additional info:

This is a brand new install following the instructions form here "http://lifehacker.com/the-simplest-way-to-build-a-raspberry-pi-powered-amazon-1794218212"

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
kis4karmacommented, Jul 19, 2017

I had the same exact issue. This got mine to work. First try following this: https://github.com/alexa-pi/AlexaPi/wiki/Audio-setup-&-debugging but specifically

  1. If you’re using VLC handler set sudo nano /etc/opt/AlexaPi/config.yaml input_device: “pulse” output: “pulse” output_device: “”
  2. Download VLC manually using this ‘sudo apt-get install vlc’
  3. Reboot
0reactions
reneklimentcommented, Oct 8, 2017

Closing due to inactivity. Feel free to reopen.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Weird behaviour of ALSA with both paplay and vlc
I recently had this issue and the problem was that the audio file was too much for the CPU to handle. Once it...
Read more >
Audio choppy and interrupted (VLC, Flash, ALSA, Pulse)
Since a couple of days, I am experiencing interrupted audio playback ... buffers alsa error: cannot estimate delay: Input/output error main ...
Read more >
The "alsa audio output error: cannot write: Broken pipe ...
If run VLC from CLI I get "alsa audio output error: cannot write: Broken pipe" message. And my system hasn't been upgraded since...
Read more >
Sound stutters on pulseaduio network only for VLC
nevinjohn wrote: There is no PulseAudio out in VLC. ... alsa audio output error: cannot estimate delay: Input/output error.
Read more >
Please help Alsa input/output error, Pd-extended - Forum
I closed pd and shut down the PI to clone the sd card and upon restarting Pd gives the error "Alsa input error(restart...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found