- add -fPIC unconditionally (requested by naddy@) by adding it to
unix.mak (in pwlib) which get sourced by the other ports
feedback from and ok naddy@, thanks!
- recognize all available audio devices
- the audio device is always opened read-write. this results in
full-duplex operation for most OSS implementations, but full-dupplex
needs to be explicitly enabled on OpenBSD.
- don't error out if SNDCTL_DSP_SPEED returns an error. instead
resample based on the returned sample rate.
- the resampling factor was not properly initilized and was returning
random values.
- simply skip samples to down-sample. the average method it uses
sounds horrible.
now ekiga's softphone works for me when using the OSS audio backend
ok ajacoutot
in weird situations when pwlib (and some dependent pkgs) are rebuilt
while already installed
Found the hard way by sthen@
@pkgpath markers "look right" to sthen@
PWLib is a moderately large class library that has its genesis many
years ago as a method to product applications to run on both Microsoft
Windows and Unix X-Window systems.
Since then the system has grown to include many classes that assist in
writing complete multi-platform applications. Classes for I/O
portability, multi-threading portability, aid in producing unix daemons
and NT services portably and all sorts of internet protocols were added
over the years. The library now also supports the open H323 project.
ok jasper@