summaryrefslogtreecommitdiffstats
path: root/audio/headset.c
diff options
context:
space:
mode:
authorJohan Hedberg <johan.hedberg@nokia.com>2008-10-16 22:36:30 +0300
committerJohan Hedberg <johan.hedberg@nokia.com>2008-10-16 22:36:30 +0300
commitcd87fad76b57d460ee17fbe05a1fcfe31c464724 (patch)
tree29ceab60067e958ecfb105297082ae674133d5fa /audio/headset.c
parent58f06324289d7d343a52a9104d02121cb8db1047 (diff)
Fix indentation levels
Diffstat (limited to 'audio/headset.c')
-rw-r--r--audio/headset.c26
1 files changed, 13 insertions, 13 deletions
diff --git a/audio/headset.c b/audio/headset.c
index cb0fa9a3..cccc0846 100644
--- a/audio/headset.c
+++ b/audio/headset.c
@@ -1681,17 +1681,17 @@ done:
if (type == HEADSET_GAIN_SPEAKER) {
hs->sp_gain = gain;
g_dbus_emit_signal(conn, device->path,
- AUDIO_HEADSET_INTERFACE,
- "SpeakerGainChanged",
- DBUS_TYPE_UINT16, &gain,
- DBUS_TYPE_INVALID);
+ AUDIO_HEADSET_INTERFACE,
+ "SpeakerGainChanged",
+ DBUS_TYPE_UINT16, &gain,
+ DBUS_TYPE_INVALID);
} else {
hs->mic_gain = gain;
g_dbus_emit_signal(conn, device->path,
- AUDIO_HEADSET_INTERFACE,
- "MicrophoneGainChanged",
- DBUS_TYPE_UINT16, &gain,
- DBUS_TYPE_INVALID);
+ AUDIO_HEADSET_INTERFACE,
+ "MicrophoneGainChanged",
+ DBUS_TYPE_UINT16, &gain,
+ DBUS_TYPE_INVALID);
}
return reply;
@@ -2216,9 +2216,9 @@ void headset_set_state(struct audio_device *dev, headset_state_t state)
close_sco(dev);
headset_close_rfcomm(dev);
g_dbus_emit_signal(dev->conn, dev->path,
- AUDIO_HEADSET_INTERFACE,
- "Disconnected",
- DBUS_TYPE_INVALID);
+ AUDIO_HEADSET_INTERFACE,
+ "Disconnected",
+ DBUS_TYPE_INVALID);
emit_property_changed(dev->conn, dev->path,
AUDIO_HEADSET_INTERFACE, "Connected",
DBUS_TYPE_BOOLEAN, &value);
@@ -2262,8 +2262,8 @@ void headset_set_state(struct audio_device *dev, headset_state_t state)
(GIOFunc) sco_cb, dev);
g_dbus_emit_signal(dev->conn, dev->path,
- AUDIO_HEADSET_INTERFACE,
- "Playing", DBUS_TYPE_INVALID);
+ AUDIO_HEADSET_INTERFACE, "Playing",
+ DBUS_TYPE_INVALID);
emit_property_changed(dev->conn, dev->path,
AUDIO_HEADSET_INTERFACE, "Playing",
DBUS_TYPE_BOOLEAN, &value);