Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set pulseaudio sink port in audio jack detection #1

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

rusty122
Copy link

@rusty122 rusty122 commented Jan 2, 2018

Load module-native-protocol-tcp so that the PulseAudio server can receive commands over TCP. During audio jack detection, set the sink port to either headphones or speaker using the default sink which gets configured based on the chromebook model here.

Resolves GalliumOS/galliumos-distro#318

@johanson
Copy link

Why not set XDG_RUNTIME_DIR instead? -- https://gist.github.com/vereist/f660bbe81002b25f4fd72b466ecb640c

@rusty122
Copy link
Author

@johanson that workaround isn't compatible with multi-user environments. There's some discussion about the gist here GalliumOS/galliumos-distro#318 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants