Git Product home page Git Product logo

Comments (3)

 avatar commented on June 29, 2024

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.

frollic avatar frollic commented on June 29, 2024

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.

 avatar commented on June 29, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.