diff options
author | Johan Hedberg <johan.hedberg@nokia.com> | 2007-10-03 13:54:14 +0000 |
---|---|---|
committer | Johan Hedberg <johan.hedberg@nokia.com> | 2007-10-03 13:54:14 +0000 |
commit | a13f569db6e188218919014e97e37e457f5940ee (patch) | |
tree | 6c8e17c0a884a426dd74e082f55ae10a9da55317 /audio | |
parent | 91e4a8e4a2c430a987d735a2241b0e9bd5e2d978 (diff) |
Minor coding style fixes
Diffstat (limited to 'audio')
-rw-r--r-- | audio/headset.c | 6 | ||||
-rw-r--r-- | audio/sink.c | 3 |
2 files changed, 3 insertions, 6 deletions
diff --git a/audio/headset.c b/audio/headset.c index 5759ebe0..700149ee 100644 --- a/audio/headset.c +++ b/audio/headset.c @@ -1246,8 +1246,7 @@ done: "SpeakerGainChanged", DBUS_TYPE_UINT16, &gain, DBUS_TYPE_INVALID); - } - else { + } else { hs->mic_gain = gain; dbus_connection_emit_signal(conn, device->path, AUDIO_HEADSET_INTERFACE, @@ -1554,8 +1553,7 @@ void headset_set_state(struct device *dev, headset_state_t state) AUDIO_HEADSET_INTERFACE, "Connected", DBUS_TYPE_INVALID); - } - else { + } else { close_sco(dev); dbus_connection_emit_signal(dev->conn, dev->path, AUDIO_HEADSET_INTERFACE, diff --git a/audio/sink.c b/audio/sink.c index e249af18..18bf7e37 100644 --- a/audio/sink.c +++ b/audio/sink.c @@ -148,8 +148,7 @@ static void stream_setup_complete(struct avdtp *session, struct a2dp_sep *sep, reply = dbus_message_new_method_return(pending->msg); send_message_and_unref(pending->conn, reply); debug("Stream successfully created"); - } - else { + } else { err_failed(pending->conn, pending->msg, "Stream setup failed"); avdtp_unref(sink->session); sink->session = NULL; |