Comments (8)
Yes, compiling should work out of the box if you have the necessary dev packages installed with your toolchain (pulse or alsa development packages).
from scream.
@duncanthrax While the process of building the kernel is quite painful
But I try to build receivers and report after I've built the kernel and rootfs.
from scream.
@duncanthrax
I don't know what to do.
aarch64-linux-gnu-gcc -Wall -o scream-pulse scream-pulse.c -lpulse-simple -lpulse
/usr/lib/gcc-cross/aarch64-linux-gnu/8/../../../../aarch64-linux-gnu/bin/ld: cannot find -lpulse-simple
/usr/lib/gcc-cross/aarch64-linux-gnu/8/../../../../aarch64-linux-gnu/bin/ld: cannot find -lpulse
collect2: error: ld returned 1 exit status
make: *** [Makefile:5: scream-pulse] Error 1
from scream.
You need to provide the pulseaudio static lib (libpulse.a and libpulse-simple.a) files. Those also need to be built for the same arch (ARM).
If you already have those, GCC might not find them. Add an -L parameter to the gcc call in the Makefile to point to their location.
from scream.
@duncanthrax In fact, I gave up cross compilation.
It doesn't seem so slow to compile Receivers on ARM devices.
After installing pulseaudio, scream-pulse seems to be able to run.
But then I found that my kernel didn't seem to have sound card drivers, so I had to rebuild the kernel.
from scream.
@duncanthrax After I gave up compiling scream-pulse and compiling scream-alsa,
Scream-alsa works very well.
But I found out at the same time, if so, how can my Host play the audio?
But at least scream-alsa can work on Ubuntu arm64.
Thank you
from scream.
Home directory not accessible: Permission denied
ALSA lib pcm.c:8306:(snd_pcm_recover) underrun occurred
ALSA lib pcm.c:8306:(snd_pcm_recover) underrun occurred
ALSA lib pcm.c:8306:(snd_pcm_recover) underrun occurred
ALSA lib pcm.c:8306:(snd_pcm_recover) underrun occurred
ALSA lib pcm.c:8306:(snd_pcm_recover) underrun occurred
ALSA lib pcm.c:8306:(snd_pcm_recover) underrun occurred
ALSA lib pcm.c:8306:(snd_pcm_recover) underrun occurred
ALSA lib pcm.c:8306:(snd_pcm_recover) underrun occurred
ALSA lib pcm.c:8306:(snd_pcm_recover) underrun occurred
ALSA lib pcm.c:8306:(snd_pcm_recover) underrun occurred
ALSA lib pcm.c:8306:(snd_pcm_recover) underrun occurred
ALSA lib pcm.c:8306:(snd_pcm_recover) underrun occurred
ALSA lib pcm.c:8306:(snd_pcm_recover) underrun occurred
ALSA lib pcm.c:8306:(snd_pcm_recover) underrun occurred
ALSA lib pcm.c:8306:(snd_pcm_recover) underrun occurred
ALSA lib pcm.c:8306:(snd_pcm_recover) underrun occurred
ALSA lib pcm.c:8306:(snd_pcm_recover) underrun occurred
ALSA lib pcm.c:8306:(snd_pcm_recover) underrun occurred
ALSA lib pcm.c:8306:(snd_pcm_recover) underrun occurred
ALSA lib pcm.c:8306:(snd_pcm_recover) underrun occurred
ALSA lib pcm.c:8306:(snd_pcm_recover) underrun occurred
Writing again after short write 212 < 245
ALSA lib pcm.c:8306:(snd_pcm_recover) underrun occurred
ALSA lib pcm.c:8306:(snd_pcm_recover) underrun occurred
ALSA lib pcm.c:8306:(snd_pcm_recover) underrun occurred
Writing again after short write 166 < 245
ALSA lib pcm.c:8306:(snd_pcm_recover) underrun occurred
ALSA lib pcm.c:8306:(snd_pcm_recover) underrun occurred
ALSA lib pcm.c:8306:(snd_pcm_recover) underrun occurred
ALSA lib pcm.c:8306:(snd_pcm_recover) underrun occurred
ALSA lib pcm.c:8306:(snd_pcm_recover) underrun occurred
Writing again after short write 166 < 245
ALSA lib pcm.c:8306:(snd_pcm_recover) underrun occurred
Receivers throws up some mistakes.
But Receivers is working.
from scream.
Solution: Use stream receiver in raw mode outputting to snapserver's pipe, then on the raspberry use just snapclient. No underrun! Moreover you can connect many snapclient you want and enjoying multiroom synced audio.
from scream.
Related Issues (20)
- Distribute Scream installer as an MSI
- Scream inhibits screensaver on Windows 10
- OPUS support (with forward error correction ?)
- Was is the best receiver on headless raspberry pi HOT 1
- Jack auto-connections cause crash in 7.1 surround
- Windows 11 support? HOT 7
- 24 Bit Sampling Size / Width / Depth?
- wont compile HOT 1
- Native data flow HOT 3
- (Windows) Screamreader does not respect default audio device when switching between audio devices
- Alsa receiver not working if Soundcard doesn't support 44.1kHz HOT 4
- Scream on unix host stops recieving after 5-10 minutes and requires restart HOT 1
- Can't listen to audio when output set to scream
- why I can't hear the sound playing back the raw data dumped from scream receiver
- Add UPnP compatibility HOT 1
- Scream not working with Equalizer Apo HOT 1
- Service file? HOT 1
- Is it possible to add multiple virtual sound card? HOT 1
- Installation fails on Windows 11 ARM64 HOT 2
- Scream forces to send audio data to Radmin VPN 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 scream.