Skip to content

Commit

Permalink
Merge pull request #2826 from metalefty/v0.9-no-c99
Browse files Browse the repository at this point in the history
Cherry-pick downstream patch from EPEL
  • Loading branch information
matt335672 authored Oct 12, 2023
2 parents 4e713c8 + 37f206d commit 66c668c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion sesman/chansrv/sound.c
Original file line number Diff line number Diff line change
Expand Up @@ -1116,9 +1116,11 @@ process_pcm_message(int id, int size, struct stream *s)
char *buf = (char *) g_malloc(g_bbuf_size, 0);
if (buf != NULL)
{
int i;

silence_start_time = g_time3();
sending_silence = 1;
for (int i = 0; i < send_silence_times; i++)
for (i = 0; i < send_silence_times; i++)
{
g_memset(buf, 0, g_bbuf_size);
sound_send_wave_data_chunk(buf, g_bbuf_size);
Expand Down

0 comments on commit 66c668c

Please sign in to comment.