Comments (4)
Comment by plietar
Thursday Jan 05, 2017 at 13:31 GMT
This is definitely a frequent request (#128 and #75).
Originally, librespot only supported PortAudio, which doesn't have any sort of volume control.
@joerg-krause had an implementation for ALSA at some point. It would need to be adjusted to at least fallback to software volume control for other backends
from librespot.
Comment by arigit
Sunday Mar 26, 2017 at 18:04 GMT
Noticed that today's binary release for raspberry by @herrernst supports a "--mixer" option!
Tried it & librespot crashed like so:
/home/osmc/librespot# /home/osmc/librespot/librespot --name Raspberry --cache /tmp --bitrate 320 --backend alsa --device hw:0 --mixer Digital
INFO:librespot: librespot 6f1b785 (2017-03-26). Built on 2017-03-26.
thread 'main' panicked at 'Invalid mixer', /buildslave/rust-buildbot/slave/stable-dist-rustc-cross-host-linux/build/src/libcore/option.rs:715
note: Run withRUST_BACKTRACE=1
for a backtrace.
Amixer shows that the "Digital" mixer exists:
...
Simple mixer control 'Digital',0
Capabilities: pvolume pswitch
Playback channels: Front Left - Front Right
Limits: Playback 0 - 207
Mono:
Front Left: Playback 207 [100%] [0.00dB] [on]
Front Right: Playback 207 [100%] [0.00dB] [on]
...
Tried with other mixers shown by alsamixer & amixer, and they all crash librespot
Wondering if the --mixer command line switch is not yet ready for use, or if it's meant to be used differently
from librespot.
Comment by joerg-krause
Monday Mar 27, 2017 at 05:39 GMT
It's meant to use different. For now, there is only one mixer supported: softmixer. --mixer
is not the ALSA mixer device name.
from librespot.
This is @joerg-krause's implementation that @plietar referenced. @joerg-krause Did you make any more progress with this?
And as an addition note I'm going to close this issue and refer people to #45 for continued discussion as it looks more informative.
from librespot.
Related Issues (20)
- [Feature Request] Allow downloading of playlists for listening offline HOT 2
- Authentication on all desktop platforms is broken HOT 1
- Android Hashcash Not working? HOT 1
- New Stream reporting payload (Mercury)
- support for setting volume directly in addition to volume up/down HOT 1
- Librespot instance not shown in latest android/web spotify app HOT 5
- High CPU usage and stutter for some songs HOT 1
- get_extended_metadata HOT 3
- Home screen empty HOT 1
- Unable to get client token HOT 2
- translation of lyrics HOT 1
- Librespot causing Spocon to pause/not work? HOT 2
- Support additionnal SpotifyUri types HOT 2
- Can't play new songs (released on current day). Automatically skipping. HOT 1
- Librespot playback won't work HOT 1
- sound volume issue librespot/snapserver HOT 1
- Segmentation fault when running static build with `with-dns-sd`
- librespot unable to play songs
- request a new release
- regression: lyrics API no longer working
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 librespot.