Fixed info invocations
authorEnrico Zini <enrico@enricozini.org>
Mon, 15 Jun 2009 15:58:11 +0000 (23:58 +0800)
committerEnrico Zini <enrico@enricozini.org>
Mon, 15 Jun 2009 15:58:11 +0000 (23:58 +0800)
zavai/audio.py

index d50c9b8f931c98288391a607b6f370d1d91a0047..f13d33b4d2c07c6ed1d223485fe39889f8fd8420 100755 (executable)
@@ -140,7 +140,7 @@ class Audio(zavai.Service):
 
     def mixer_for_headset(self, force=False):
         if not force and self.has_headset: return
 
     def mixer_for_headset(self, force=False):
         if not force and self.has_headset: return
-        info("Setting mixer for headset")
+        zavai.info("Setting mixer for headset")
         # TODO: find out how to disable the handset microphone: this does not
         # seem to be sufficient
         self.mixer_set_many(
         # TODO: find out how to disable the handset microphone: this does not
         # seem to be sufficient
         self.mixer_set_many(
@@ -154,7 +154,7 @@ class Audio(zavai.Service):
 
     def mixer_for_handset(self, force=False):
         if not force and not self.has_headset: return
 
     def mixer_for_handset(self, force=False):
         if not force and not self.has_headset: return
-        info("Setting mixer for handset")
+        zavai.info("Setting mixer for handset")
         self.mixer_set_many(
                 ("DAPM Handset Mic", "unmute"),
                 ("DAPM Headset Mic", "mute"),
         self.mixer_set_many(
                 ("DAPM Handset Mic", "unmute"),
                 ("DAPM Headset Mic", "mute"),