[Sound] Using new native API 91/167991/2
authorPiotr Kosko <p.kosko@samsung.com>
Tue, 23 Jan 2018 08:39:18 +0000 (09:39 +0100)
committerPiotr Kosko <p.kosko@samsung.com>
Tue, 23 Jan 2018 09:40:34 +0000 (09:40 +0000)
[Feature] Old native API was removed with ACR-1128, so there is need to use
  new API instead.

[Verification] TCT passrate 100%

Change-Id: I9cd4343294f10a7d56fea597adda0cf1153d1300
Signed-off-by: Piotr Kosko <p.kosko@samsung.com>
src/sound/sound_manager.cc

index 8c98163..fa23c61 100644 (file)
@@ -87,11 +87,11 @@ std::string SoundManager::SoundDeviceTypeToString(sound_device_type_e type) {
       return "MIC";
     case SOUND_DEVICE_AUDIO_JACK:
       return "AUDIO_JACK";
-    case SOUND_DEVICE_BLUETOOTH:
+    case SOUND_DEVICE_BLUETOOTH_MEDIA:
       return "BLUETOOTH";
     case SOUND_DEVICE_HDMI:
       return "HDMI";
-    case SOUND_DEVICE_MIRRORING:
+    case SOUND_DEVICE_FORWARDING:
       return "MIRRORING";
     case SOUND_DEVICE_USB_AUDIO:
       return "USB_AUDIO";