printf("Usage : ");
printf("wav_player_test [OPTION]\n\n"
" -f, --file file path to play\n"
- " -s, --streamtype stream type (0:media(default), 1:system, 2:notification, 3:solo)\n"
+ " -s, --streamtype stream type (0:media(default), 1:system, 2:notification, 3:voice-information, 4:solo)\n"
" -i, --iterate how many times to play\n"
" -h, --help help\n");
}
type = SOUND_STREAM_TYPE_NOTIFICATION;
break;
case 3:
+ type = SOUND_STREAM_TYPE_VOICE_INFORMATION;
+ break;
+ case 4:
type = SOUND_STREAM_TYPE_SOLO;
break;
}
- if (stream_type == 3) {
+ if (stream_type == 4) {
if (sound_manager_create_stream_information_internal(type, stream_focus_cb, NULL, &stream_info)) {
printf("failed to create stream info internal\n");
return;