case SOUND_DEVICE_FORWARDING:
*device_type_str = "forwarding";
break;
+ case SOUND_DEVICE_NETWORK:
+ *device_type_str = "network";
+ break;
default:
LOGE("could not find the device_type[%d] in this switch case statement", device_type);
return MM_ERROR_SOUND_INTERNAL;
} else if (!strncmp(device_type_str, "bt-sco", SOUND_DEVICE_TYPE_LEN)) {
*device_type = SOUND_DEVICE_BLUETOOTH_VOICE;
+ } else if (!strncmp(device_type_str, "network", SOUND_DEVICE_TYPE_LEN)) {
+ *device_type = SOUND_DEVICE_NETWORK;
+
} else {
LOGE("not supported device_type(%s)", device_type_str);
return MM_ERROR_INVALID_ARGUMENT;
case MM_SOUND_DEVICE_TYPE_MIRRORING:
*sound_device_type = SOUND_DEVICE_FORWARDING;
break;
+ case MM_SOUND_DEVICE_TYPE_NETWORK:
+ *sound_device_type = SOUND_DEVICE_NETWORK;
+ break;
default:
LOGE("not supported device_type(%d)", device_type);
return MM_ERROR_INVALID_ARGUMENT;