Underflow and ALSA underrun issues.

Open
#253 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
38/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Quiet
Tech stack
python

Research direction

Reproduce playback with the CM108B USB DAC on version 7.3.1 and capture the underflow and ALSA underrun behavior during stream startup. Start by tracing the player’s audio-output path and compare it with the pull request mentioned in the report; done means startup no longer takes 5–10 seconds and playback has no audio drops.

Written by the indexing model from the issue text.

Description

Hi there,

I am just starting to get dedicated hardware players for music assistant and decided to buy a USB DAC centered around the CM108B chipset. I am having an issue where, when starting an audio stream, there is a large amount of underflow errors and ALSA lib pcm.c:8740:(snd_pcm_recover) underrun occurred errors. This causes the stream to start delayed (approx. 5-10 seconds after pressing play) and also leads to audio drops occasionally. I saw the pr that was supposed to fix this issue, but I just installed 7.3.1.

I tried troubleshooting by changing the codecs/audio formats and also directly connecting to a brand new MA server just to make sure my previous setup wasn't causing an issue.

Would also like to note, all other sendspin players (web, android, chromecast) do not have any issues.

I love where this project and format is going and can't be any more appreciative of the work everyone puts into this.

Thank you!

Dominant language
Python
Stars
190
Forks
36
Avg merge
11d 19h
Merged PRs (30d)
2

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from Sendspin/sendspin-python-cli

All issues in Sendspin/sendspin-python-cli

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.