Comments (5)
OK, I'll look deeper into that issue...
Restarting bluealsa.service
should have fixed the "stuck" issue. However, it's quite possible that bluealsa service is not restarted. Simply kill it with -9: pkill -9 -x bluealsa
from bluez-alsa.
Please try the current master branch. If the issue is not fixed, please reopen it.
from bluez-alsa.
It's quite possible that you've hit the bug introduced some time ago. Unfortunately, I've got no time right now to fix it properly. Try to replace these lines:
Lines 1625 to 1626 in 541523a
with:
if ((fd = t->acquire(t)) != -1) {
ba_transport_thread_state_set_idle(&t->thread_enc);
ba_transport_thread_state_set_idle(&t->thread_dec);
acquired = true;
}
EDIT:
If this will fix your problem, please let me know, and do not close this issue.
from bluez-alsa.
Thank you for the quick reply. I tried your fix and the result was virtually the same as before: aplay
worked two times and then it got stuck. Here are the logs: logs_aplay2.txt
Disconnecting and reconnecting to the speaker does not change anything, I always have to reboot. Not even restarting bluealsa.service
fixes it :(
from bluez-alsa.
You were right, killing the daemon fixed the issue! It still got stuck after a couple aplay
runs, but at least it didn't require a reboot. It was kind of strange as the bluetoothctl connect
command took almost 30 seconds to run, and it even logged an error before connecting. I'll add the logs again, as I don't know if they are useful or not... logs_pkill_connect.txt
from bluez-alsa.
Related Issues (20)
- Test all deps with pkgconfig HOT 10
- arecord Unable to install hw params, record from bluetooth failed HOT 3
- Error compiling with aptx HOT 1
- Audio cut off in the beginning of the file HOT 3
- how can an SCO link be reestablished after it has been disconnected by the HF device? HOT 3
- How to pipe bluealsa PCM to fifo? HOT 18
- aplay Unable to install hw params HOT 1
- Can't get the A2DP profile to use LDAC codec HOT 11
- LDAC shows only 96KHz as sample rate | support for other sampling rates HOT 20
- Configuring asoundrc for default bluetooth ignored for Internet Browsers? HOT 2
- LE Audio support in bluez-alsa HOT 1
- Audio volume does not go to 100% on Raspberry Pi HOT 19
- Can't detect libsystemd-dev on debian trixie HOT 2
- test-alsa-ctl fails with bluealsa-mock: W: Couldn't get HCI device info: Address family not supported by protocol HOT 2
- test-alsa-midi fails due to permission errors HOT 2
- Build failure: undeclared variables HOT 9
- Distorted recording with certain mic (but not in pulseaudio) HOT 3
- RPI 4: Arecord the audio stream from the phone through Bluezalsa HOT 10
- 4.3.0: org.freedesktop.DBus.Error.NoReply HOT 53
- Varying audio latency with bluealsa (Question or Bug) HOT 3
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 bluez-alsa.