Skip to content

Commit

Permalink
ship wasapi plugins, but don't use them (broken?)
Browse files Browse the repository at this point in the history
git-svn-id: https://xpra.org/svn/Xpra/trunk@15928 3bb7dfac-3a0b-4e04-842a-767bc560f471
  • Loading branch information
totaam committed May 23, 2017
1 parent 4febad4 commit 9d87332
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -1265,7 +1265,7 @@ def do_add_DLLs(*dll_names):
#muxers:
"gdp", "matroska", "ogg", "isomp4",
"audioparsers", "audiorate", "audioconvert", "audioresample", "audiotestsrc",
"coreelements", "directsoundsink", "directsoundsrc",
"coreelements", "directsoundsink", "directsoundsrc", "wasapi",
#codecs:
"opus", "flac", "lame", "mad", "mpg123", "speex", "faac", "faad",
"volume", "vorbis", "wavenc", "wavpack", "wavparse",
Expand Down
4 changes: 4 additions & 0 deletions src/xpra/sound/gstreamer_util.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ def force_enabled(codec_name):
"test" : "audiotestsrc",
"pulse" : "pulsesrc",
"direct" : "directsoundsrc",
"wasapi" : "wasapisrc",
}
SRC_HAS_DEVICE_NAME = ["alsasrc", "osssrc", "oss4src", "jackaudiosrc", "pulsesrc", "directsoundsrc", "osxaudiosrc"]
SRC_TO_NAME_PLUGIN = {}
Expand All @@ -79,6 +80,7 @@ def force_enabled(codec_name):
"test" : "Test signal",
"pulse" : "PulseAudio",
"direct" : "Microsoft Windows Direct Sound",
"wasapi" : "Windows Audio Session API",
}


Expand Down Expand Up @@ -537,6 +539,7 @@ def get_source_plugins():
sources.append("osxaudiosrc")
elif WIN32:
sources.append("directsoundsrc")
#sources.append("wasapisrc")
sources.append("autoaudiosrc")
if os.name=="posix":
sources += ["alsasrc",
Expand All @@ -551,6 +554,7 @@ def get_sink_plugins():
SINKS.append("osxaudiosink")
elif WIN32:
SINKS.append("directsoundsink")
#SINKS.append("wasapisink")
SINKS.append("autoaudiosink")
try:
from xpra.sound.pulseaudio.pulseaudio_util import has_pa
Expand Down

0 comments on commit 9d87332

Please sign in to comment.