diff options
Diffstat (limited to 'audio')
| -rw-r--r-- | audio/headset.c | 4 | 
1 files changed, 4 insertions, 0 deletions
| diff --git a/audio/headset.c b/audio/headset.c index 443ca2c6..107618e5 100644 --- a/audio/headset.c +++ b/audio/headset.c @@ -1585,6 +1585,10 @@ static DBusMessage *hs_play(DBusConnection *conn, DBusMessage *msg,  						".NotConnected",  						"Device not Connected");  	case HEADSET_STATE_PLAY_IN_PROGRESS: +		if (hs->pending && hs->pending->msg == NULL) { +			hs->pending->msg = dbus_message_ref(msg); +			return NULL; +		}  		return g_dbus_create_error(msg, ERROR_INTERFACE  						".InProgress",  						"Play in Progress"); | 
