Comments (5)
Can you try an older version of cornrow? Does another bluetooth implementation work for your phone?
What do you mean with connecting with your PC? Can your PC send audio to cornrow?
from cornrow.
Can you try an older version of cornrow?
I'll try later
Does another bluetooth implementation work for your phone?
Do you mean connection with another bluetooth software then cornrow to my raspberry? Then idk, haven't tried one
Or do you mean connecting some other device to my smartphone? Then yes
What do you mean with connecting with your PC? Can your PC send audio to cornrow?
Yes my PC connected to cornrow with bluetooth without problems and can send audio
from cornrow.
Can you try an older version of cornrow?
Same issue with audio stuttering on 0.8.1 0.8.0 and 0.7.0
But it connected again so I can give you a few logs:
21:06:59.414 [main thread ] AudioSinkAgent.cpp:64 INFO| Service 0000110D-0000-1000-8000-00805F9B34FB accepted from Galaxy A52s
Transport state: BluezQt::MediaTransport::State::Pending
operator() fd: 13 mtu read: 672 mtu write: 1024
21:07:19.188 [main thread ] Persistence.cpp:63 INFO| filter count: 0
21:07:19.189 [main thread ] AudioManager.cpp:172 INFO| set transport> fd: 14, blocksize: 672, rate: 44100
21:07:19.190 [main thread ] BufferPool.cpp:65 INFO| FdSource created new buffer. size: 672
Transport state: BluezQt::MediaTransport::State::Active
21:07:19.292 [main thread ] SourceSelector.cpp:52 INFO| Starting FdSource
21:07:19.292 [main thread ] RtpDecoder.cpp:67 INFO| sequence starts at: 1
21:07:19.293 [main thread ] Buffer.cpp:108 INFO| Buffer reallocated. 672 -> 2872 bytes
21:07:19.293 [main thread ] Buffer.cpp:108 INFO| Buffer reallocated. 2872 -> 6204 bytes
21:07:19.293 [main thread ] AlsaSink.cpp:240 INFO| Device stopped
21:07:19.307 [main thread ] AlsaSink.cpp:176 INFO| Device opened. delay: 100 ms, buffer: 500 ms
21:07:20.584 [main thread ] AlsaSink.cpp:281 WARN| Write failed: Broken pipe
ALSA lib pcm.c:8545:(snd_pcm_recover) underrun occurred
21:07:21.986 [main thread ] AlsaSink.cpp:281 WARN| Write failed: Broken pipe
ALSA lib pcm.c:8545:(snd_pcm_recover) underrun occurred
21:07:22.837 [main thread ] AlsaSink.cpp:281 WARN| Write failed: Broken pipe
ALSA lib pcm.c:8545:(snd_pcm_recover) underrun occurred
21:07:24.344 [main thread ] AlsaSink.cpp:281 WARN| Write failed: Broken pipe
ALSA lib pcm.c:8545:(snd_pcm_recover) underrun occurred
Transport state: BluezQt::MediaTransport::State::Idle
21:07:24.748 [main thread ] Persistence.cpp:63 INFO| filter count: 0
21:07:24.749 [main thread ] AudioManager.cpp:172 INFO| set transport> fd: -1, blocksize: 0, rate: 44100
21:07:24.794 [main thread ] AlsaSink.cpp:240 INFO| Device stopped
21:07:24.794 [main thread ] SourceSelector.cpp:38 INFO| FdSource stopped
21:07:24.795 [main thread ] FdSource.cpp:53 WARN| Operation canceled
21:07:24.795 [main thread ] AlsaSink.cpp:240 INFO| Device stopped
21:07:24.795 [main thread ] SourceSelector.cpp:38 INFO| FdSource stopped
Transport state: BluezQt::MediaTransport::State::Pending
operator() fd: 13 mtu read: 672 mtu write: 1024
21:07:28.680 [main thread ] Persistence.cpp:63 INFO| filter count: 0
21:07:28.682 [main thread ] AudioManager.cpp:172 INFO| set transport> fd: 14, blocksize: 672, rate: 44100
Transport state: BluezQt::MediaTransport::State::Active
21:07:28.815 [main thread ] SourceSelector.cpp:52 INFO| Starting FdSource
21:07:28.815 [main thread ] RtpDecoder.cpp:67 INFO| sequence starts at: 466
21:07:28.816 [main thread ] Buffer.cpp:108 INFO| Buffer reallocated. 6204 -> 12408 bytes
21:07:28.822 [main thread ] AlsaSink.cpp:176 INFO| Device opened. delay: 100 ms, buffer: 500 ms
21:07:30.824 [main thread ] AlsaSink.cpp:281 WARN| Write failed: Broken pipe
ALSA lib pcm.c:8545:(snd_pcm_recover) underrun occurred
21:07:32.138 [main thread ] AlsaSink.cpp:281 WARN| Write failed: Broken pipe
ALSA lib pcm.c:8545:(snd_pcm_recover) underrun occurred
21:07:34.885 [main thread ] FdSource.cpp:53 WARN| End of file
21:07:34.891 [main thread ] AlsaSink.cpp:240 INFO| Device stopped
21:07:34.891 [main thread ] SourceSelector.cpp:38 INFO| FdSource stopped
21:07:34.894 [main thread ] Persistence.cpp:63 INFO| filter count: 0
21:07:34.895 [main thread ] AudioManager.cpp:172 INFO| set transport> fd: -1, blocksize: 0, rate: 0
21:07:34.896 [main thread ] AlsaSink.cpp:240 INFO| Device stopped
21:07:34.896 [main thread ] SourceSelector.cpp:38 INFO| FdSource stopped
Here it disconnected after a few seconds but I also had times where it took a bit longer to disconnect (but still with unusable audio quality). At that times it just spammed the whole time
AlsaSink.cpp:281 WARN| Write failed: Broken pipe
ALSA lib pcm.c:8545:(snd_pcm_recover) underrun occurred
from cornrow.
Maybe your phone uses an unsupported codec. Could you try to send SBC, Stereo, 16Bit and 44.1 or 48 kHz from your phone?
from cornrow.
The codec bitrate and frequency were already set to the right value, but I played around with the other bluetooth options I found and it seems to work when I deaktivate A2DP-Hardware-Offload in the Android developer options.
Thanks for your help!
from cornrow.
Related Issues (20)
- rpi zero conection issues HOT 4
- signal=SEGV HOT 10
- crashing with "Assertion `error == OMX_ErrorNone' failed." HOT 4
- Snapcast integration - output to ALSA loopback, FIFO, or STDOUT? HOT 6
- Configure Airplay or Bluetooth enabled HOT 1
- Usage of non-SBC codecs HOT 2
- Unmet dependency: libboost-system1.67 on bullseye HOT 2
- Compiling on Alpine HOT 3
- Unable to Connect Bluetooth Device On Raspbian Buster and Bullseye HOT 10
- Question: can I use it on OrangePi? HOT 10
- Issues building from source HOT 8
- Unable to reconnect after client "forgets" the server device HOT 1
- No audio in snapcast HOT 3
- unable to start cornrowd.service HOT 8
- terminate called after throwing an instance of 'std::out_of_range' HOT 5
- Problems with sound HOT 2
- Debian bookworm support? HOT 2
- can cornrow be containerized? HOT 1
- Help with configuration on my arch system HOT 1
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 cornrow.