Hi,

One main difference is that the new code actually closes the ALSA device
when the server sends a close pdu. I have no idea why, but servers like
windows 7 and windows 8 constantly open and close the sound device.
Technically, we could avoid closing the device and simply reset its state,
which might fix this issue.

On Fri, Mar 15, 2013 at 8:30 AM, Gerald Richter - ECOS <rich...@ecos.de>wrote:

> Hi,
>
>
> We are try to use the current git build of xfreerdp (2013-03-15).
>
>
> We are not able to redirect sound output properly while using alsa, we've
> no pulseaudio installed. With older builds (from last year) the sound
> output worked.
>
> The sound is audible for 1-2 seconds and stops after we get a warning like
> "Warning: requested sound buffer size 17600, got 7526 instead". We tried to
> raise up the prealloc size  in /proc/asound/card0/pcm*p/sub0/prealloc to
> the maximum value which had no effect.  After configuring the dmix plugin
> for alsa the buffer warnings disappeared, but this didn't change the
> behaviour at all.
>
>
> There are no problems with sound while using other applications.
>
> Maybe someone has an idea to resolve this issue.
>
>
> Thanks & Regards
>
>
> Gerald
>
>
>
> alsa.config:
>
> pcm.!default {
>
>
>      type plug
>
>      slave.pcm "dmixer"
>
> }
>
> pcm.dsp0 {
>
>      type plug
>
>      slave.pcm "dmixer"
>
> }
>
> pcm.dmixer {
>
>      type dmix
>
>      ipc_key 1024
>
>      slave {
>
>          pcm "hw:0,0"
>
>          period_time 0
>
>          period_size 1024
>
>          buffer_size 32768
>
>          rate 44100
>
>       }
>
>       bindings {
>
>          0 0
>
>          1 1
>
>       }
>
> }
>
> ctl.mixer0 {
>
>      type hw
>
>      card 0
>
> }
>
>
>
>
>
> ------------------------------------------------------------------------------
> Everyone hates slow websites. So do we.
> Make your web apps faster with AppDynamics
> Download AppDynamics Lite for free today:
> http://p.sf.net/sfu/appdyn_d2d_mar
> _______________________________________________
> Freerdp-devel mailing list
> Freerdp-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/freerdp-devel
>
------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_mar
_______________________________________________
Freerdp-devel mailing list
Freerdp-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freerdp-devel

Reply via email to