Added audiotrack support to rdpsnd.

This commit is contained in:
Armin Novak 2013-09-19 12:01:14 +02:00
parent 4748d0e4dd
commit 3f62a9176c
2 changed files with 11 additions and 0 deletions

View File

@ -58,3 +58,7 @@ endif()
if(WITH_WINMM)
add_channel_client_subsystem(${MODULE_PREFIX} ${CHANNEL_NAME} "winmm" "")
endif()
if(WITH_AUDIOTRACK)
add_channel_client_subsystem(${MODULE_PREFIX} ${CHANNEL_NAME} "audiotrack" "")
endif()

View File

@ -690,6 +690,13 @@ static void rdpsnd_process_connect(rdpSvcPlugin* plugin)
rdpsnd_load_device_plugin(rdpsnd, rdpsnd->subsystem, args);
}
if (!rdpsnd->device)
{
rdpsnd_set_subsystem(rdpsnd, "audiotrack");
rdpsnd_set_device_name(rdpsnd, "");
rdpsnd_load_device_plugin(rdpsnd, rdpsnd->subsystem, args);
}
if (!rdpsnd->device)
{
DEBUG_WARN("no sound device.");