Huw Davies (@huw) commented about dlls/winepulse.drv/mmdevdrv.c:
} params.name = name = get_application_name(TRUE);
- params.pulse_name = This->pulse_name;
- params.dataflow = This->dataflow;
- params.mode = mode;
- params.device = This->pulse_name;
- params.flow = This->dataflow;
- params.share = mode; params.flags = flags; params.duration = duration; params.fmt = fmt;
Could you initialize `params.period` here (this seems to be a recurring theme)? In this case, you might as well initialize it with the `period` function argument.