38 |
static unsigned int format_count; |
static unsigned int format_count; |
39 |
static unsigned int current_format; |
static unsigned int current_format; |
40 |
|
|
41 |
STREAM |
static STREAM |
42 |
rdpsnd_init_packet(uint16 type, uint16 size) |
rdpsnd_init_packet(uint16 type, uint16 size) |
43 |
{ |
{ |
44 |
STREAM s; |
STREAM s; |
49 |
return s; |
return s; |
50 |
} |
} |
51 |
|
|
52 |
void |
static void |
53 |
rdpsnd_send(STREAM s) |
rdpsnd_send(STREAM s) |
54 |
{ |
{ |
55 |
#ifdef RDPSND_DEBUG |
#ifdef RDPSND_DEBUG |
73 |
rdpsnd_send(s); |
rdpsnd_send(s); |
74 |
} |
} |
75 |
|
|
76 |
void |
static void |
77 |
rdpsnd_process_negotiate(STREAM in) |
rdpsnd_process_negotiate(STREAM in) |
78 |
{ |
{ |
79 |
unsigned int in_format_count, i; |
unsigned int in_format_count, i; |
156 |
rdpsnd_send(out); |
rdpsnd_send(out); |
157 |
} |
} |
158 |
|
|
159 |
void |
static void |
160 |
rdpsnd_process_unknown6(STREAM in) |
rdpsnd_process_unknown6(STREAM in) |
161 |
{ |
{ |
162 |
uint16 unknown1, unknown2; |
uint16 unknown1, unknown2; |
173 |
rdpsnd_send(out); |
rdpsnd_send(out); |
174 |
} |
} |
175 |
|
|
176 |
void |
static void |
177 |
rdpsnd_process(STREAM s) |
rdpsnd_process(STREAM s) |
178 |
{ |
{ |
179 |
uint8 type; |
uint8 type; |