Comments (3)
Thanks for the tip. I will add it to the readme.
Regarding sdlaudio.raw is related to:
sdl_audiodriver = disk
By default is set to disk as with some sound-cards you can have problems otherwise.
The file generated will be empty but you can set sdl_audiodriver = none
if you are not using a problematic sound card.
from mopidy-touchscreen.
Hi,
thanks for the info.
I don't belive the sdl_audiodriver was set on my RPi, which would mean disk is the default value ?
Also, the audio group might only be related to the kind of audio output used, in my case
[audio]
output = alsasink
Not sure on how the sdlaudio.raw works, but if the file's constantly written to, i'รคs probably a
mem card killer on the RPi.
One more thing, I think I managed to get the sdlaudio.raw warning in mopidy even though
the whole [touchscreen] section had been removed from mopidy.conf, is that even possible ?
:D
from mopidy-touchscreen.
I managed to get the sdlaudio.raw warning in mopidy even though the whole [touchscreen] section had been removed from mopidy.conf, is that even possible ?
Yes. The default config is this.
Any value you don't explicitly put on the config will be set with the value on that file. Because of that if you don't specify disk is used.
What's the purpose of having sdl_audiodriver = disk
value by default?
Mopidy-touchscreen uses pygame for the UI.
Pygame not only allows to display grapichs, has also support of sounds.
The problem is that in some soundcards/configurations pygame takes exclusive use of the soundcard at init and mopidy is not able to use the soundcard.
As mopidy-touchscreen itself does not use sound capability of pygame I decided to use this disk driver, this way an empty file is created and the problem is gone. As mopidy-touchscreen has no sounds nothing will be writen to the file.
So in summary this value does not affect in any way the mopidy music and the output of the mopidy music is not written to the disk, but if you want to get rid of the warning set:
sdl_audiodriver = none
If you see that mopidy is not able to play after that, simply revert the line to disk again.
Root audio group
I think that it makes sense even I did not have problems without it to have root in audio group if we are using it for mopidy.
Moreover the user used by musicbox is also in the audio group.
from mopidy-touchscreen.
Related Issues (19)
- Mopidy 1.0 compatibility HOT 1
- Cursor at false HOT 3
- Stop using internal Mopidy APIs
- having issues initializing display HOT 3
- Option to disable some buttons
- No fullscreen in HDMI mode HOT 8
- Jumping cursor in pygame (but ts_test works) HOT 4
- Running mopidy as a service without root privileges HOT 2
- mopidy-touchscreen not show up when running as services HOT 1
- Unable to use mopidy-touchscreen HOT 3
- Installing mopidy-touchscreen disables web interface on Pi MusicBox HOT 1
- When Fullscreen is enabled, screensaver won't activate. HOT 2
- Fails on osx
- Error when playing internet radio / streaming audio HOT 1
- pi musicbox using pimoroni Hyperpixel HOT 2
- Calibration 7" RaspberryPi touchscreen HOT 3
- Update HOT 3
- GPIO buttons seems not to work 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 mopidy-touchscreen.