THROW_ERROR_MSG(CAudioError::EError::ERROR_OUT_OF_MEMORY, "Failed pa_proplist_new()"); //LCOV_EXCL_LINE
// Adds values on proplist for delivery to PULSEAUDIO
- char *streamType = nullptr;
- CAudioInfo::EAudioType audioType = __mSpec.getAudioInfo().getAudioType();
- __mSpec.getAudioInfo().convertAudioType2StreamType(audioType, &streamType);
- pa_proplist_sets(__mpPropList, PA_PROP_MEDIA_ROLE, streamType);
+ pa_proplist_sets(__mpPropList, PA_PROP_MEDIA_ROLE, __mSpec.getAudioInfo().getConvertedStreamType());
int index = __mSpec.getAudioInfo().getAudioIndex();
if (index >= 0)