Fixing TS_PLAY_SOUND_PDU_DATA to set the correct frequency and duration
This commit is contained in:
parent
43945e2d4b
commit
87c89f0aa2
@ -376,9 +376,11 @@ libxrdp_send_bell(struct xrdp_session *session)
|
|||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
out_uint32_le(s, 440); /* frequency */
|
|
||||||
out_uint32_le(s, 100); /* duration (ms) */
|
out_uint32_le(s, 100); /* duration (ms) */
|
||||||
|
out_uint32_le(s, 440); /* frequency */
|
||||||
s_mark_end(s);
|
s_mark_end(s);
|
||||||
|
LOG_DEVEL(LOG_LEVEL_TRACE, "Sending [MS-RDPBCGR] TS_PLAY_SOUND_PDU_DATA "
|
||||||
|
"duration 100 ms, frequency 440 Hz");
|
||||||
|
|
||||||
if (xrdp_rdp_send_data((struct xrdp_rdp *)session->rdp, s, RDP_DATA_PDU_PLAY_SOUND) != 0)
|
if (xrdp_rdp_send_data((struct xrdp_rdp *)session->rdp, s, RDP_DATA_PDU_PLAY_SOUND) != 0)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user