[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: multiple problems with audio toolbox

From: Paul Kienzle
Subject: Re: multiple problems with audio toolbox
Date: Sat, 01 Mar 2003 20:07:42 -0500
User-agent: Mozilla/5.0 (Windows; U; Win 9x 4.90; en-US; rv:1.3a) Gecko/20021212

Dmitri A. Sergatskov wrote:

It appears to me that audio toolbox fell out of sync with recent octave.
(I am using octave-2.1.45 and octave-forge-2003.02.23.)

It seems that popen is broken:

octave:1> fid=popen('cat > out','w');
octave:2> fwrite(fid,1,'double');
octave:3> pclose(fid);
octave:4> system('ls -l out');
-rw-rw-r--    1 pkienzle pkienzle        0 Mar  1 19:46 out

This fails on:
   octave 2.1.45 for gcc 2.96 (RedHat 7.1)
   octave 2.1.45 for MipsPRO CC 7.3 (IRIX 6.4)
But it works on:
   octave 2.1.38 for gcc 2.96 (RedHat 7.1)
   octave 2.1.40 for gcc 3.2 (IRIX 6.4)
   octave 2.1.44 for gcc 3.2 (cygwin)
Can someone confirm that it works for 2.1.45?
Or is this something which broke because of the
c-file-ptr-stream changes?

First of all, 'file_in_loadpath' now wants at least two arguments: LOADPATH and FILE. (Similar problem with demo in soundsc.m file). Modified the line accordingly:

Are you certain?  It works in 2.1.44 and the code
for 2.1.45 looks like it should handle it too.

Paul Kienzle

Octave is freely available under the terms of the GNU GPL.

Octave's home on the web:
How to fund new projects:
Subscription information:

reply via email to

[Prev in Thread] Current Thread [Next in Thread]