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