On Tue, Feb 10, 2009 at 10:27:22AM +0100, David Coppa wrote: > On Tue, Feb 10, 2009 at 10:05:34AM +0100, Alexandre Ratchov wrote: > > > oh, i didn't answer the main question: that's what "default" does > > here, it's the one mapped to NULL. So it's ok, besides the unused > > entry that should be fixed. > > Ok. > So is this sufficient?
well, that entry was for the default aucat socket, so I'd like to see a replacement instead of removal. the way aucat works right now, a better solution, imo, would be to check for sockets in /tmp/aucat-$uid and if it's possible to connect to them, then list them. but that could change, which is why I haven't done anything just yet. > Index: files/sound_libsndio.cxx > =================================================================== > RCS file: /cvs/ports/devel/pwlib/files/sound_libsndio.cxx,v > retrieving revision 1.2 > diff -u -p -r1.2 sound_libsndio.cxx > --- files/sound_libsndio.cxx 19 Jan 2009 09:42:21 -0000 1.2 > +++ files/sound_libsndio.cxx 10 Feb 2009 09:18:17 -0000 > @@ -80,7 +80,6 @@ PStringArray PSoundChannelLIBSNDIO::GetD > { > static const char * const devices[] = { > "default", > - "/tmp/aucat.sock", > "/dev/audio0", > "/dev/audio1", > "/dev/audio2" > > > ciao, > david > -- jake...@sdf.lonestar.org SDF Public Access UNIX System - http://sdf.lonestar.org