diff options
Diffstat (limited to 'packages/pulseaudio/pulseaudio-meta/session')
-rw-r--r-- | packages/pulseaudio/pulseaudio-meta/session | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/packages/pulseaudio/pulseaudio-meta/session b/packages/pulseaudio/pulseaudio-meta/session new file mode 100644 index 0000000000..55f2c16f26 --- /dev/null +++ b/packages/pulseaudio/pulseaudio-meta/session @@ -0,0 +1,36 @@ +#!/usr/bin/pulseaudio -nF + +# +# Barebones PA Session File for Devices w/ ALSA +# (C) Michael 'Mickey' Lauer <mlauer@vanille-media.de> +# + +# Create autoload entries for the device drivers +add-autoload-sink output module-alsa-sink device=hw:0 sink_name=output +add-autoload-source input module-alsa-source device=hw:0 source_name=input + +# Core protocols +load-module module-esound-protocol-unix +load-module module-simple-protocol-tcp +load-module module-native-protocol-unix +load-module module-cli-protocol-unix + +# Suspend on idle +load-module module-suspend-on-idle + +# Set default sink and source +set-default-sink output +set-default-source input + +# Don't fail if the audio files referred to below don't exist +.nofail + +# Load an audio to the sample cache for usage with module-x11-bell +#load-sample-lazy x11-bell /usr/share/openmoko/sounds/notify_doorbell.wav +#load-module module-x11-bell sample=x11-bell + +# Load samples +#load-sample startup /usr/share/openmoko/sounds/startup_unintrusive.wav +#load-sample touchscreen /usr/share/openmoko/sounds/touchscreen_click.wav +#load-sample ringtone /usr/share/openmoko/sounds/ringtone_classy.wav + |