On Wed, Jul 15, 2009 at 2:33 PM, Fredrik Lingvall<f...@ifi.uio.no> wrote: > > On Wed, Jul 15, 2009 at 9:23 PM, Søren Hauberg <so...@hauberg.org> wrote: >> >> The 'audio' package seems to be unmaintained at the moment, so I think >> we'll need some help fixing this. If you're up for the task, then it >> would be much appreciated. My opinion is that we should find some simple >> audio library and use that for IO. I think the current situation only >> works on Linux, which is a shame. I guess we could use 'gstreamer', >> 'libao' or something like that. >> >> Anyway, I think we'll need help with this, so if you or anybody else >> would like to help out, then it would be wonderful. >> >> Søren >> > > You can try this one too: > > http://folk.uio.no/fl/aaudio.shtml > > I have not tested it for 3.2.x though. > > /Fredrik
Fredrik has kindly restored access to his aaudio package (the package link was broken). It appears to run fine both on Ubuntu 8.10 with hand-compiled Octave 3.2, and Fedora 11 with standard Octave 3.0.5 packages (both 64 bits). Fedora 11 has gcc 4.4 versus Ubuntu's gcc 4.3.2. The aaudio package compiles but with lots of warnings. Upon further reading, I found that pulseaudio is based on ALSA, so Fredrik's package will probably continue to work for the forseeble future. However, if I understand things correctly, accessing ALSA directly will bypass pulseaudio and probably wreak havoc with other applications using it. So, the situation as I understand it is: * The current OSS-based audio package will be unsupported by more and more distros as time passes and pulseaudio matures. Using it on distros such as Fedora 11 cause octave to segfault. * Fredrik's package works but bypasses pulseaudio; this is unlikely to be a problem in most cases but it should be prominently noted in the docs. This package offers functionality that the current audio package lacks, such as supporting multiple sampling rates while recording and simultaneous playing and recording. * Eventually it would be desirable (IMHO) to have a modern, native pulseaudio interface (or maybe gstreamer as Soren suggests, pulseaudio has the advantage of running on many OS). This would enable applications such as recording audio from a microphone on a remote machine, recording streams, etc. I will look into doing this but I have very limited time. -- Miguel Bazdresch ------------------------------------------------------------------------------ Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/Challenge _______________________________________________ Octave-dev mailing list Octave-dev@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/octave-dev