Comments (8)
Forgot to add that it happens, whether I set the parameters myself or just start squeezelite with -o jack.
from squeezelite.
Is anybody reading this or is there someplace else for issues I am not aware of?
from squeezelite.
Yes I read the issues raised here, but I don't have a solution for you. It appears that the alsa devs have changed alsa-lib in recent versions. Have you asked on the alsa dev list?
I've never used jack with squeezelite and I haven't had time to setup a system with jack installed to try to reproduce your issue.
from squeezelite.
Do you continue to get the error if you run this command beforehand?
You will need to change card0 to match the device you're using.
echo 1024 > /proc/asound/card0/pcm0p/sub0/prealloc
It is a libasound issue. See this thread for full details. https://alsa-devel.alsa-project.narkive.com/vB7E5vUT/snd-pcm-hw-params-set-buffer-time-near-invalid-argument
You can also adjust the buffer time value using the squeezelite -a option to try and find a value that works.
from squeezelite.
Oh, thx for still remembering this. Just recently I updated the entire buildroot to a recent version and so I am having all newer software versions all over the place. So far it is up and running and I am in the process of debugging anyway. Give me a couple of days and I will look into it.
from squeezelite.
Had some time to set it up and test it and it is still the same behaviour with current alsa lib and alsa-plugins V1.2.2, also when echoing 1024 into the proc filesystem as you suggested.
from squeezelite.
I also read this but my system is too old: Itβs an Ubuntu Studio 14.04.6 (still, sigh), using alsa-base 1.0.25 and a wild mixture of ALSA, PulseAudio and JACK2, plus lots of audio devices.
SqueezeLite (1.9.6-1198) runs fine on this box (just used squeezelite -n somename
), even through the JACK bridge.
Will test again as soon as I get my system up to Ubuntu or Linux Mint 20, this may take a few weeks though.
from squeezelite.
I tested some more: Switching back to alsa 1.1.6 again solves the issue. SO I don't think it is realy related to this 9 year old bug posted by ralph-irving as it should be present in all versions throughout.
Also I can report that the problem is solveable by using different buffer values for squeezelite's output, so it would appear to be related to the old bug but then again, why would 1.1.6 solve this and break again with newer versions?
from squeezelite.
Related Issues (20)
- flac and ogf streams HOT 3
- output threshold is incorrect HOT 2
- Power controls (gpio/script) tied to output device being open rather than soft power button state
- Build fails on 1466 (commit c89faf3) HOT 15
- Build error in flac.c on revision 1466 HOT 2
- Whole-album flacs with embedded cuesheet playback broken by commit c89faf3 Ogg metadata (and a bit more) HOT 11
- relay-script toggles off/on/off during start HOT 9
- Version 1476 - Error compiling on X86 and Raspberry 4 HOT 13
- Request: Create Release HOT 4
- OggFlac chaining HOT 2
- unhandled grfe HOT 4
- squeezelite-pulse sync issues
- Issue with mp3 playback on Alpine Linux with recent squeezelite versions HOT 8
- Crash on Arch Linux
- Building on macOS does not use libraries installed by package managers HOT 5
- macOS M1 binary release Squeezelite.app is corrupted HOT 2
- Compiling: error with gpio.h HOT 3
- Meta-package squeezelite-2.0.0.1488-aarch64 HOT 1
- Squeezelite-2.0.0.1488 dont play FLAC radios HOT 1
- Native DSD not working HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from squeezelite.