CVS: rdesktop rdpsnd.c,1.40,1.41
Pierre Ossman <[email protected]> Mon, 18 Jun 2007 01:31:30 -0700
| Newsgroups | gmane.network.rdesktop.cvs |
|---|---|
| Message-ID | <[email protected]> |
Update of /cvsroot/rdesktop/rdesktop
In directory sc8-pr-cvs9.sourceforge.net:/tmp/cvs-serv8959
Modified Files:
rdpsnd.c
Log Message:
None of the drivers requires it to be open to determine supported formats,
so let's not require it. This allows the device to be busy when rdesktop starts
but can be used later when it becomes free.
Index: rdpsnd.c
===================================================================
RCS file: /cvsroot/rdesktop/rdesktop/rdpsnd.c,v
retrieving revision 1.40
retrieving revision 1.41
diff -C2 -d -r1.40 -r1.41
*** rdpsnd.c 18 Jan 2007 05:39:58 -0000 1.40
--- rdpsnd.c 18 Jun 2007 08:31:27 -0000 1.41
***************
*** 264,268 ****
in_uint8s(in, discardcnt);
! if (device_available && current_driver->wave_out_format_supported(format))
{
format_count++;
--- 264,268 ----
in_uint8s(in, discardcnt);
! if (current_driver && current_driver->wave_out_format_supported(format))
{
format_count++;
***************
*** 377,381 ****
in_uint8s(in, discardcnt);
! if (device_available && current_driver->wave_in_format_supported(format))
{
rec_format_count++;
--- 377,381 ----
in_uint8s(in, discardcnt);
! if (current_driver && current_driver->wave_in_format_supported(format))
{
rec_format_count++;
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/