mirror of
https://github.com/lwvmobile/dsd-fme.git
synced 2026-11-21 13:15:40 -05:00
Update Cygwin Scripts for:
Make a portable cygwin release as a user option in the shell script; Add the bat files from the precompiled releases to the examples folder; Add rebuild_cygwin.bat so cygwin users can easily update their versions; Standalone cygwin_portable.sh version creator;
This commit is contained in:
34
examples/cygwin_bat/0pa - start-pulse-audio-server.bat
Normal file
34
examples/cygwin_bat/0pa - start-pulse-audio-server.bat
Normal file
@@ -0,0 +1,34 @@
|
||||
@REM Set the console / terminal to 90 columns, 50 lines
|
||||
mode con: cols=90 lines=50
|
||||
|
||||
@ECHO OFF
|
||||
|
||||
@REM change directory into the dsd-fme folder
|
||||
cd dsd-fme
|
||||
|
||||
@REM Start the Pulse Audio backend with a 10 minute time out
|
||||
@REM start pulse audio server with 600 second idle time and no CPU limit (prevent closing while idle in menu)
|
||||
|
||||
@REM output from pulse server routed to NUL to supress "capabilities dropped, nag messages, etc" messages
|
||||
pulseaudio.exe --start --no-cpu-limit=TRUE --exit-idle-time=600 2> NUL
|
||||
|
||||
@REM End pulse start up
|
||||
|
||||
ECHO The Pulse Audio Server should now be active!
|
||||
|
||||
@REM Setup Some null-sinks (if desired, remove @REM below)
|
||||
|
||||
@REM pactl load-module module-null-sink sink_name=virtual_sink1 sink_properties=device.description=Virtual_Sink1
|
||||
@REM pactl load-module module-null-sink sink_name=virtual_sink2 sink_properties=device.description=Virtual_Sink2
|
||||
|
||||
@REM Setup Default Sink to device 0 (output)
|
||||
|
||||
pactl set-default-sink 0
|
||||
|
||||
@REM List Avaiable Pulse Audio Sinks and Sources
|
||||
|
||||
@ECHO ON
|
||||
|
||||
dsd-fme -O
|
||||
|
||||
PAUSE
|
||||
Reference in New Issue
Block a user