rdpsnd_pulse: Use C99 constants
This commit is contained in:
parent
dcca5ad366
commit
0774ea7d4c
@ -412,11 +412,11 @@ static BOOL rdpsnd_pulse_open_stream(rdpsndDevicePlugin* device)
|
||||
|
||||
if (pulse->latency > 0)
|
||||
{
|
||||
buffer_attr.maxlength = (UINT32)-1;
|
||||
buffer_attr.maxlength = UINT32_MAX;
|
||||
buffer_attr.tlength = pa_usec_to_bytes(pulse->latency * 1000, &pulse->sample_spec);
|
||||
buffer_attr.prebuf = (UINT32)-1;
|
||||
buffer_attr.minreq = (UINT32)-1;
|
||||
buffer_attr.fragsize = (UINT32)-1;
|
||||
buffer_attr.prebuf = UINT32_MAX;
|
||||
buffer_attr.minreq = UINT32_MAX;
|
||||
buffer_attr.fragsize = UINT32_MAX;
|
||||
flags |= PA_STREAM_ADJUST_LATENCY;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user