Go to advanced search

by TheImperator
Sun Feb 10, 2019 9:52 pm
Forum: Troubleshooting
Topic: get/set volume by command
Replies: 4
Views: 469

Re: get/set volume by command

I was able to solve the problem.

Here the solution:

GET volume: "amixer -M sget PCM"
SET volume: "amixer -q -M sset PCM 50%"

The "-M" switch switches to the useful values.
by TheImperator
Sun Feb 10, 2019 9:16 am
Forum: Troubleshooting
Topic: get/set volume by command
Replies: 4
Views: 469

Re: get/set volume by command

1) I have only one device: "amixer scontrols" -> "Simple mixer control 'PCM',0" 2) This makes no difference: "amixer set PCM 50%" and "amixer set -- 50%" both set volume to 13%. Have you seen this front end https://www.dronkert.net/rpi/vol.html ? Those script sets and gets also those fantasy values ...
by TheImperator
Sat Feb 09, 2019 9:45 pm
Forum: Troubleshooting
Topic: get/set volume by command
Replies: 4
Views: 469

get/set volume by command

Hey! I need a command to get/set the volume. I speak of the real volume value which is also displayed in the GUI. "amixer get PCM" gives me a fantasy value, which has nothing to do with the actual volume. "amixer set PCM 60%" sets the volume to some random value, and not 70% as expected. Is there a ...
by TheImperator
Thu Feb 07, 2019 7:21 am
Forum: Java
Topic: ENOSPC error when using VLCJ
Replies: 1
Views: 3867

Re: ENOSPC error when using VLCJ

UPDATE: I set GPU memory from 64MB to 128MB and now the ENOSPC error is gone. Now I get only the following errors: vlcpulse audio output error: PulseAudio server connection failure: Connection refused main decoder error: buffer deadlock prevented But it looks like it's doing something, because CPU u...
by TheImperator
Wed Feb 06, 2019 8:24 pm
Forum: Java
Topic: ENOSPC error when using VLCJ
Replies: 1
Views: 3867

ENOSPC error when using VLCJ

Hey there! I'm using in my Java application the VLCJ library (version 3.12.1 = latest version) to play a MJPG stream from a network camera ("http://so.me.ip.addr/video.mjpg"). When I want to start playing I get the following error messages: [00d3aba0] vlcpulse audio output error: PulseAudio server c...

Go to advanced search