Hi,
Using it daily on fedora and debian. No issue here so far. Does the sound improve when using the alsa or oss backend? (So you can eliminate other problem sources) Currently the flow of audio data is the following: server -> encode transport format (variable) -> network -> decode to 16bit PCM (or pass through if the backend supports the format) -> sound backend Issues could arise from the following sources: -> Network -> Codecs supported by the client (there are many low quality low bandwidth codecs) (check /buildconfig for WITH_DSP_FFMPEG and WITH_FFMPEG) -> The sound backend Most codecs use 44100 Hz sample rates, so resampling should not occur in your case... /log-filters:com.freerdp.channels.rdpsnd.client:trace will give you details from the sound channel, /log:filters:com.freerdp.channels.audin.client:trace from the microphone The microphone redirection basically works the same, just server and client reversed. best Armin On 10/5/18 9:13 AM, Daniel Spannbauer via FreeRDP-devel wrote: > Hello, > > > I use freerdp on Linux to connect to a Win 7 machine with the following > parameters: > > xfreerdp -sec-nla +sec-rdp +sec-tls /clipboard /fonts > /multimedia:sys:pulse /sound:sys:pulse /microphone:sys:pulse > /size:1250x980 /kbd:German /gdi:hw /bpp: /u:root /v:win7 /cert-ignore > /smartcard: > > > Sound is working, but the quality is lousy. It seems that pulse tries to > resample. > > Can I set a fixed sample rate in freerdp? Or has anybody experience with > xfreerdp and sound with Pulseaudio? (I put the messages of pulse at the > end of this mail) > > > Regards > > > Daniel > > > Output ofthe pulse server below. > > Oct 05 09:08:15 v-gate pulseaudio[6428]: Restoring volume for sink input > sink-input-by-media-role:event. > Oct 05 09:08:15 v-gate pulseaudio[6428]: Restoring mute state for sink > input sink-input-by-media-role:event. > Oct 05 09:08:15 v-gate pulseaudio[6428]: Created input 42 > "audio-volume-change" on alsa_output.pci-0000_00_1f.3.analog-stereo with > sample spec s16le 2ch 44100Hz and channel map front-left,front-right > Oct 05 09:08:15 v-gate pulseaudio[6428]: media.name = > "audio-volume-change" > Oct 05 09:08:15 v-gate pulseaudio[6428]: event.id = > "audio-volume-change" > Oct 05 09:08:15 v-gate pulseaudio[6428]: media.role = "event" > Oct 05 09:08:15 v-gate pulseaudio[6428]: event.description = "Volume > Control Feedback Sound" > Oct 05 09:08:15 v-gate pulseaudio[6428]: media.filename = > "/usr/share/sounds/freedesktop/stereo/audio-volume-change.oga" > Oct 05 09:08:15 v-gate pulseaudio[6428]: application.name = > "PulseAudio Volume Control" > Oct 05 09:08:15 v-gate pulseaudio[6428]: native-protocol.peer = > "UNIX socket client" > Oct 05 09:08:15 v-gate pulseaudio[6428]: native-protocol.version = "32" > Oct 05 09:08:15 v-gate pulseaudio[6428]: window.x11.display = ":0" > Oct 05 09:08:15 v-gate pulseaudio[6428]: window.x11.screen = "0" > Oct 05 09:08:15 v-gate pulseaudio[6428]: application.process.id = "5109" > Oct 05 09:08:15 v-gate pulseaudio[6428]: application.process.user = > "julian" > Oct 05 09:08:15 v-gate pulseaudio[6428]: application.process.host = > "v-gate" > Oct 05 09:08:15 v-gate pulseaudio[6428]: application.process.binary > = "pavucontrol" > Oct 05 09:08:15 v-gate pulseaudio[6428]: application.language = > "en_US.UTF-8" > Oct 05 09:08:15 v-gate pulseaudio[6428]: > application.process.machine_id = "daec8262126cc4ac506a8a395833674d" > Oct 05 09:08:15 v-gate pulseaudio[6428]: > application.process.session_id = "1" > Oct 05 09:08:15 v-gate pulseaudio[6428]: application.icon_name = > "multimedia-volume-control" > Oct 05 09:08:15 v-gate pulseaudio[6428]: window.vpos = "0.703" > Oct 05 09:08:15 v-gate pulseaudio[6428]: window.hpos = "0.427" > Oct 05 09:08:15 v-gate pulseaudio[6428]: window.height = "400" > Oct 05 09:08:15 v-gate pulseaudio[6428]: window.width = "1429" > Oct 05 09:08:15 v-gate pulseaudio[6428]: window.y = "538" > Oct 05 09:08:15 v-gate pulseaudio[6428]: window.x = "4" > Oct 05 09:08:15 v-gate pulseaudio[6428]: window.x11.monitor = "0" > Oct 05 09:08:15 v-gate pulseaudio[6428]: window.desktop = "0" > Oct 05 09:08:15 v-gate pulseaudio[6428]: window.x11.xid = "54525955" > Oct 05 09:08:15 v-gate pulseaudio[6428]: window.icon_name = > "multimedia-volume-control" > Oct 05 09:08:15 v-gate pulseaudio[6428]: window.id = "Volume Control" > Oct 05 09:08:15 v-gate pulseaudio[6428]: window.name = "Volume Control" > Oct 05 09:08:15 v-gate pulseaudio[6428]: module-stream-restore.id = > "sink-input-by-media-role:event" > Oct 05 09:08:15 v-gate pulseaudio[6428]: Freeing input 42 > "audio-volume-change" > Oct 05 09:08:16 v-gate pulseaudio[6428]: Restoring volume for sink input > sink-input-by-media-role:event. > Oct 05 09:08:16 v-gate pulseaudio[6428]: Restoring mute state for sink > input sink-input-by-media-role:event. > Oct 05 09:08:16 v-gate pulseaudio[6428]: Created input 43 > "audio-volume-change" on alsa_output.pci-0000_00_1f.3.analog-stereo with > sample spec s16le 2ch 44100Hz and channel map front-left,front-right > Oct 05 09:08:16 v-gate pulseaudio[6428]: media.name = > "audio-volume-change" > Oct 05 09:08:16 v-gate pulseaudio[6428]: event.id = > "audio-volume-change" > Oct 05 09:08:16 v-gate pulseaudio[6428]: media.role = "event" > Oct 05 09:08:16 v-gate pulseaudio[6428]: event.description = "Volume > Control Feedback Sound" > Oct 05 09:08:16 v-gate pulseaudio[6428]: media.filename = > "/usr/share/sounds/freedesktop/stereo/audio-volume-change.oga" > Oct 05 09:08:16 v-gate pulseaudio[6428]: application.name = > "PulseAudio Volume Control" > Oct 05 09:08:16 v-gate pulseaudio[6428]: native-protocol.peer = > "UNIX socket client" > Oct 05 09:08:16 v-gate pulseaudio[6428]: native-protocol.version = "32" > Oct 05 09:08:16 v-gate pulseaudio[6428]: window.x11.display = ":0" > Oct 05 09:08:16 v-gate pulseaudio[6428]: window.x11.screen = "0" > Oct 05 09:08:16 v-gate pulseaudio[6428]: application.process.id = "5109" > Oct 05 09:08:16 v-gate pulseaudio[6428]: application.process.user = > "julian" > Oct 05 09:08:16 v-gate pulseaudio[6428]: application.process.host = > "v-gate" > Oct 05 09:08:16 v-gate pulseaudio[6428]: application.process.binary > = "pavucontrol" > Oct 05 09:08:16 v-gate pulseaudio[6428]: application.language = > "en_US.UTF-8" > Oct 05 09:08:16 v-gate pulseaudio[6428]: > application.process.machine_id = "daec8262126cc4ac506a8a395833674d" > Oct 05 09:08:16 v-gate pulseaudio[6428]: > application.process.session_id = "1" > Oct 05 09:08:16 v-gate pulseaudio[6428]: application.icon_name = > "multimedia-volume-control" > Oct 05 09:08:16 v-gate pulseaudio[6428]: window.vpos = "0.703" > Oct 05 09:08:16 v-gate pulseaudio[6428]: window.hpos = "0.427" > Oct 05 09:08:16 v-gate pulseaudio[6428]: window.height = "400" > Oct 05 09:08:16 v-gate pulseaudio[6428]: window.width = "1429" > Oct 05 09:08:16 v-gate pulseaudio[6428]: window.y = "538" > Oct 05 09:08:16 v-gate pulseaudio[6428]: window.x = "4" > Oct 05 09:08:16 v-gate pulseaudio[6428]: window.x11.monitor = "0" > Oct 05 09:08:16 v-gate pulseaudio[6428]: window.desktop = "0" > Oct 05 09:08:16 v-gate pulseaudio[6428]: window.x11.xid = "54525955" > Oct 05 09:08:16 v-gate pulseaudio[6428]: window.icon_name = > "multimedia-volume-control" > Oct 05 09:08:16 v-gate pulseaudio[6428]: window.id = "Volume Control" > Oct 05 09:08:16 v-gate pulseaudio[6428]: window.name = "Volume Control" > Oct 05 09:08:16 v-gate pulseaudio[6428]: module-stream-restore.id = > "sink-input-by-media-role:event" > Oct 05 09:08:16 v-gate pulseaudio[6428]: Storing volume/mute for > device+port > sink:alsa_output.pci-0000_00_1f.3.analog-stereo:analog-output-lineout. > Oct 05 09:08:16 v-gate pulseaudio[6428]: Freeing input 43 > "audio-volume-change" > Oct 05 09:08:20 v-gate pulseaudio[6428]: Synced. > > > > _______________________________________________ > FreeRDP-devel mailing list > FreeRDP-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/freerdp-devel _______________________________________________ FreeRDP-devel mailing list FreeRDP-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freerdp-devel