else if (g_menu_state == CURRENT_STATUS_REMOVE_DEVICE_RUNNING_CHANGED_CB)
g_print("*** press enter to remove device running changed cb\n");
else if (g_menu_state == CURRENT_STATUS_CREATE_STREAM_INFO)
- g_print("*** input stream type to create stream information\n(0:media, 1:system, 2:alarm, 3:notification, 4:emergency, 5:ringtone-call, 6:voice-call, 7:voip, 8:media-ext-only, 9:loopback, 10:solo, 11:radio)\n");
+ g_print("*** input stream type to create stream information\n(0:media, 1:system, 2:alarm, 3:notification, 4:emergency, 5:ringtone-call, 6:voice-call, 7:voip, 8:media-ext-only, 9:loopback, 10:solo, 11:radio, 12:media-compressed)\n");
else if (g_menu_state == CURRENT_STATUS_ADD_DEVICE_FOR_STREAM_ROUTING)
g_print("*** input device type to add (0:built-in mic, 1:built-in spk, 2:built-in rcv, 3:audio-jack, 4:bt-a2dp, 5:bt-sco 6:usb)\n");
else if (g_menu_state == CURRENT_STATUS_REMOVE_DEVICE_FOR_STREAM_ROUTING)
case 11: /* radio */
type = SOUND_STREAM_TYPE_RADIO;
break;
+ case 12: /* media compressed */
+ type = SOUND_STREAM_TYPE_MEDIA_COMPRESSED;
+ break;
default:
type = SOUND_STREAM_TYPE_MEDIA;
break;
if (type == (int)SOUND_STREAM_TYPE_RINGTONE_CALL ||
type == (int)SOUND_STREAM_TYPE_VOICE_CALL ||
type == (int)SOUND_STREAM_TYPE_RADIO ||
+ type == (int)SOUND_STREAM_TYPE_MEDIA_COMPRESSED ||
type == (int)SOUND_STREAM_TYPE_LOOPBACK)
ret = sound_manager_create_stream_information_internal(type, focus_callback, NULL, &g_stream_info_h);
else if (type == (int)SOUND_STREAM_TYPE_SOLO)