SysAssertf(__hPlayer != null, "Not yet constructed! Construct() should be called before use");
+ SysTryReturn(NID_MEDIA, type != AUDIO_STREAM_TYPE_NO_SOUND , E_INVALID_ARG, E_INVALID_ARG,
+ "Invalid argument is used. AudioStream type = %d", type);
+
ret = player_set_sound_type(__hPlayer, _AudioManagerConvert::ConvertAudioStreamType2SoundType(type));
r = MapExceptionToResult(ret);
SysTryCatch(NID_MEDIA, r == E_SUCCESS, , r, "[%s] Failed to perform player_set_sound_type operation with 0x%x", GetErrorMessage(r), ret);