=?utf-8?q?=5Bcheese=5D_Set_PulseAudio_media_role_to_=E2=80=98production?= =?utf-8?b?4oCZ?=
- From: David King <davidk src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [cheese] Set PulseAudio media role to âproductionâ
- Date: Mon, 26 Dec 2011 20:01:14 +0000 (UTC)
commit 133d51e1519f4c365a0574a441d2cadf95229290
Author: Oleksij Rempel <bug-track fisher-privat net>
Date: Mon Dec 26 20:59:07 2011 +0100
Set PulseAudio media role to âproductionâ
This hints to PulseAudio that a microphone control should be presented
to the user. Fixes bug 666875.
src/cheese-main.vala | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/src/cheese-main.vala b/src/cheese-main.vala
index 334356b..d98389a 100644
--- a/src/cheese-main.vala
+++ b/src/cheese-main.vala
@@ -62,6 +62,8 @@ public class Cheese.Main : Gtk.Application
main_window = new Cheese.MainWindow ();
+ Environment.set_variable ("PULSE_PROP_media.role", "production", true);
+
Environment.set_application_name (_("Cheese"));
Window.set_default_icon_name ("cheese");
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]