From: Kjetil Torgrim Homme <kjetilho@if...> - 2006-08-11 00:05:10
I can't get sound at all...
target server is running Windows XP Pro SP 2. if I enter Control Panel
and choose Sound, there is a red "no entry" sign over the speaker, and
it's marked as muted. if I uncheck the mute and press Apply, it
immediately gets remuted. it seems Windows thinks my rdesktop doesn't
I've compiled today's anonymous CVS:
(by the way, configure --help hints that e.g. --with-sound=oss should
work, but this actually *disables* sound as far as I can tell.)
the configure output related to sound is:
checking ao/ao.h usability... yes
checking ao/ao.h presence... yes
checking for ao/ao.h... yes
checking sys/soundcard.h usability... yes
checking sys/soundcard.h presence... yes
checking for sys/soundcard.h... yes
checking dmedia/audio.h usability... no
checking dmedia/audio.h presence... no
checking for dmedia/audio.h... no
checking sys/audioio.h usability... no
checking sys/audioio.h presence... no
checking for sys/audioio.h... no
(so rdpsnd_oss.c gets compiled, not rdpsnd_libao.c.)
I run it using
./rdesktop -a 16 -r sound:local wintest1
Windows' own RDP client works, so does rdesktop -r sound:remote.
I've added some debug statements to rdpsnd.c, and see that rdpsnd_init
is called, but rdpsnd_process never gets hit. is there no negotiation?
can I enable more debug output somehow? RDPSND_DEBUG obviously didn't
result in any extra output ...
I reversed the order of the ao.h and soundcard.h tests in configure.ac
to make it use libao, but libao yields the same result.
sound on /dev/dsp using OSS works fine with other tools, e.g. sox.
From: Michael Gernoth <michael@ge...> - 2006-08-11 08:46:39
On Fri, Aug 11, 2006 at 02:04:56AM +0200, Kjetil Torgrim Homme wrote:
> I've compiled today's anonymous CVS:
> ./configure --with-sound
> (by the way, configure --help hints that e.g. --with-sound=oss should
> work, but this actually *disables* sound as far as I can tell.)
--with-sound=oss should force the oss-driver, --with-sound=libao should
force the libao-output.
> the configure output related to sound is:
> (so rdpsnd_oss.c gets compiled, not rdpsnd_libao.c.)
Yes, OSS has a higher priority currently as it has more functions
(volume control) implemented.
> I've added some debug statements to rdpsnd.c, and see that rdpsnd_init
> is called, but rdpsnd_process never gets hit. is there no negotiation?
> can I enable more debug output somehow? RDPSND_DEBUG obviously didn't
> result in any extra output ...
What are the permissions on /dev/dsp?
Does your soundcard support a samplerate of 22050hz or 44100hz (with
Does it work, if you apply this patch:
This adds alsa-supports and introduces a big refactoring of the
sound-system with multiple output-drivers available at the same time.
The command-line option of selecting the driver is currently
unimplemented, but it should autodetect a working one.
If this does not work, force alsa with ./configure --with-sound=alsa
I am also planning on adding software volume control and resampling
but I have not started the implementation, as I am waiting for the
current version to get released, so I can push my current changes to