forked from rdesktop/rdesktop
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This work is done by Nikita Krupenko which sent a patch to rdesktop in 2010 for version 1.6.0. I have now ported it over to trunk and it seems to work as expected.
- Loading branch information
1 parent
8cb4149
commit 9b98c3b
Showing
4 changed files
with
1,411 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,6 +3,7 @@ | |
Sound Channel Process Functions | ||
Copyright 2006-2010 Pierre Ossman <[email protected]> for Cendio AB | ||
Copyright 2009-2011 Peter Astrand <[email protected]> for Cendio AB | ||
Copyright 2017 Henrik Andersson <[email protected]> for Cendio AB | ||
Copyright (C) Matthew Chapman <matthewc.unsw.edu.au> 2003-2008 | ||
Copyright (C) GuoJunBo <[email protected]> 2003 | ||
|
@@ -119,7 +120,7 @@ rdpsnd_auto_select(void) | |
current_driver->name); | ||
if (current_driver->wave_out_open()) | ||
{ | ||
logger(Sound, Debug, "rdpsnd_auto_select(), using driver '%s'", | ||
logger(Sound, Verbose, "rdpsnd_auto_select(), using driver '%s'", | ||
current_driver->name); | ||
current_driver->wave_out_close(); | ||
return True; | ||
|
@@ -451,6 +452,11 @@ rdpsnd_register_drivers(char *options) | |
/* The order of registrations define the probe-order | ||
when opening the device for the first time */ | ||
reg = &drivers; | ||
#if defined(RDPSND_PULSE) | ||
*reg = pulse_register(options); | ||
assert(*reg); | ||
reg = &((*reg)->next); | ||
#endif | ||
#if defined(RDPSND_ALSA) | ||
*reg = alsa_register(options); | ||
assert(*reg); | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.