audio finnally works AAAAAAAAAAAAAAAAAAAAAAAAAAAA

This commit is contained in:
xfnw 2021-05-25 20:47:55 -04:00
parent 9b168d4235
commit cc8cbf7425
2 changed files with 2 additions and 2 deletions

View file

@ -9,7 +9,7 @@ RUN mkdir /tmp/audio_fifo\
&& echo "load-module module-null-sink" >> /etc/pulse/default.pa \
&& echo "load-module module-always-sink" >> /etc/pulse/default.pa \
&& echo "load-module module-x11-publish" >> /etc/pulse/default.pa \
&& echo "load-module module-pipe-sink sink_name=fifo_output file=/tmp/audio_fifo/audio.fifo format=s16 rate=48000 channels=2" >> /etc/pulse/default.pa
&& echo "load-module module-pipe-sink sink_name=fifo_output file=/tmp/audio_fifo/audio.fifo format=s16 rate=44100 channels=2" >> /etc/pulse/default.pa
WORKDIR /home/bnuuy
ADD mozilla .mozilla/
RUN chown -R bnuuy:bnuuy .mozilla/ /tmp/audio_fifo

View file

@ -188,7 +188,7 @@ Section "Device"
# If a directory is given, any file in that directory will be read
# for audio data to be sent to the client.
# default: Not set.
#Option "SpicePlaybackFIFODir" "/tmp/"
Option "SpicePlaybackFIFODir" "/tmp/audio_fifo/"
# A unix domain name for a unix domain socket to communicate with
# a spiceccid smartcard driver.