Remove duplicated function calls
[platform/upstream/openal-soft.git] / Alc / ALc.c
index a97d75d..b6d97d7 100644 (file)
--- a/Alc/ALc.c
+++ b/Alc/ALc.c
@@ -3730,8 +3730,6 @@ ALC_API ALCdevice* ALC_APIENTRY alcOpenDeviceNew(const ALCchar *deviceName, soun
     device->NumStereoSources = 1;
     device->NumMonoSources = device->MaxNoOfSources - device->NumStereoSources;
 
-    sound_manager_get_index_from_stream_information(stream_info, &Index);
-    sound_manager_get_type_from_stream_information(stream_info, &StreamType);
     device->StreamIndex = Index;
     device->StreamType = strdup(StreamType);
     // Find a playback device to open