CVS: rdesktop rdpsnd.c,1.33,1.34
Michael Gernoth <[email protected]> Sun, 24 Dec 2006 05:48:52 -0800
| Newsgroups | gmane.network.rdesktop.cvs |
|---|---|
| Message-ID | <[email protected]> |
Update of /cvsroot/rdesktop/rdesktop
In directory sc8-pr-cvs9.sourceforge.net:/tmp/cvs-serv678
Modified Files:
rdpsnd.c
Log Message:
fix double open of sound device. should at least allow oss, libao, sun and
sgi drivers to be selected again, when they only allow one open of the
device.
Index: rdpsnd.c
===================================================================
RCS file: /cvsroot/rdesktop/rdesktop/rdpsnd.c,v
retrieving revision 1.33
retrieving revision 1.34
diff -C2 -d -r1.33 -r1.34
*** rdpsnd.c 7 Dec 2006 15:23:45 -0000 1.33
--- rdpsnd.c 24 Dec 2006 13:48:50 -0000 1.34
***************
*** 107,110 ****
--- 107,111 ----
{
DEBUG(("selected %s\n", current_driver->name));
+ current_driver->wave_out_close();
return True;
}
***************
*** 144,150 ****
rdpsnd_auto_select();
! if (current_driver && current_driver->wave_out_open())
{
- current_driver->wave_out_close();
device_available = True;
}
--- 145,150 ----
rdpsnd_auto_select();
! if (current_driver)
{
device_available = True;
}
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV