help-octave
[Top][All Lists]
Advanced

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

Re: audio check?


From: John W. Eaton
Subject: Re: audio check?
Date: Thu, 06 Sep 2007 11:26:52 -0400

On  6-Sep-2007, Jim Langston wrote:

| Isolating down a little the old fashion way
| 
| In oct-stream.cc
| 
|               printf("Getting ready to read\n") ;
|               is.read (u.buf, sizeof (typename 
| octave_type_traits<READ_T>::val_type));
|               printf("Done Reading\n") ;
| 
| This method never returns
| 
| 
| octave:1> A = [1:10; 1:10]/10;
| octave:2> wavwrite("a.wav", A);
| octave:3> [B, samples_per_sec, bits_per_sample] = wavread("a.wav");
| Getting ready to read
| ^C^CPress Control-C again to abort.
| ^Cpanic: Interrupt -- stopping myself...
| attempting to save variables to `octave-core'...
| save to `octave-core' complete

OK, but which call to fread in wavread is hanging?  That should be
fairly easy to determine as wavread is a .m file.  It would be helpful
to isolate this to a single call to fread rather than a call to
wavread.  Also, since it seems you are the only one who can trigger
this problem, I think you are going to have to narrow it down to
something very specific, like "fread is called and it attempts to read
the following data and it fails to return because it is looping here,
because ...".

Also, perhaps this should be on the bug list?

jwe


reply via email to

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