raphaelyancey / Virtual_FM_Band

📻 A virtual FM band playing simultaneous sounds over virtual frequencies
MIT License
33 stars 5 forks source link

Failed to get sink information: No such entity #6

Open dezmob opened 5 years ago

dezmob commented 5 years ago

When trying to increase decrease mute the volume I've got :

INFO:root:Incrementing global volume
Failed to get sink information: No such entity
INFO:root:Incrementing global volume
Failed to get sink information: No such entity
INFO:root:Incrementing global volume
Failed to get sink information: No such entity
INFO:root:Incrementing global volume
Failed to get sink information: No such entity

I do believe this is because I'm not using the USB DAC but the audio Jack of the Pi directly. I'm really not familiar with audio stuff on linux so I really don't know this is why the use of an USB DAC was mandatory in the first place.

I just wanted to test this funny project and since I was getting audio I thought that I could just use a regular jack to orca cable and plug it on my amp.

raphaelyancey commented 5 years ago

I used a USB DAC because I was not satisfied with the on-board audio quality and it seemed to remove some computing load the the Pi itself.

According to ArchWiki you should be able to list the pulseaudio sinks (= outputs) by executing pacmd list-sinks | grep -e 'name:' -e 'index:' on the Pi.

Try to replace 0 with the index of the Pi on-board output in the lines executing pactl command.

(I do not have access to a Pi until about a week so I cannot test myself)