let 'make proto' generate correct prototypes for rdpsnd
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@1272 423420c4-83ab-492f-b58f-81f9feb106b5
This commit is contained in:
parent
6e6853dff8
commit
5594a05572
@ -81,7 +81,7 @@ proto:
|
|||||||
cproto -DMAKE_PROTO \
|
cproto -DMAKE_PROTO \
|
||||||
bitmap.c cache.c channels.c cliprdr.c disk.c mppc.c ewmhints.c \
|
bitmap.c cache.c channels.c cliprdr.c disk.c mppc.c ewmhints.c \
|
||||||
iso.c licence.c mcs.c orders.c parallel.c printer.c printercache.c \
|
iso.c licence.c mcs.c orders.c parallel.c printer.c printercache.c \
|
||||||
pstcache.c rdesktop.c rdp5.c rdp.c rdpdr.c rdpsnd.c rdpsnd_oss.c \
|
pstcache.c rdesktop.c rdp5.c rdp.c rdpdr.c rdpsnd.c \
|
||||||
secure.c serial.c tcp.c xclip.c xkeymap.c xwin.c lspci.c seamless.c >> proto.h
|
secure.c serial.c tcp.c xclip.c xkeymap.c xwin.c lspci.c seamless.c >> proto.h
|
||||||
cat proto.tail >> proto.h
|
cat proto.tail >> proto.h
|
||||||
|
|
||||||
|
8
rdpsnd.c
8
rdpsnd.c
@ -276,7 +276,7 @@ rdpsnd_process(STREAM s)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
BOOL
|
inline BOOL
|
||||||
rdpsnd_auto_open(void)
|
rdpsnd_auto_open(void)
|
||||||
{
|
{
|
||||||
static BOOL failed = False;
|
static BOOL failed = False;
|
||||||
@ -306,7 +306,7 @@ rdpsnd_auto_open(void)
|
|||||||
return False;
|
return False;
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
inline void
|
||||||
rdpsnd_register_drivers(char *options)
|
rdpsnd_register_drivers(char *options)
|
||||||
{
|
{
|
||||||
struct audio_driver **reg;
|
struct audio_driver **reg;
|
||||||
@ -410,13 +410,13 @@ rdpsnd_show_help(void)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
inline void
|
void
|
||||||
rdpsnd_play(void)
|
rdpsnd_play(void)
|
||||||
{
|
{
|
||||||
current_driver->wave_out_play();
|
current_driver->wave_out_play();
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
inline void
|
||||||
rdpsnd_queue_write(STREAM s, uint16 tick, uint8 index)
|
rdpsnd_queue_write(STREAM s, uint16 tick, uint8 index)
|
||||||
{
|
{
|
||||||
struct audio_packet *packet = &packet_queue[queue_hi];
|
struct audio_packet *packet = &packet_queue[queue_hi];
|
||||||
|
Loading…
Reference in New Issue
Block a user