OpenSolaris - update - audio check

Jim Langston Jim.Langston at Sun.COM
Sun Jan 4 21:26:48 CST 2009


Hi John,

Thanks, I have been looking at this from a couple of
directions, the first, that there is a bug in the Studio
compiler, which is forcing the underflow to loop, the
second, from the Apache C++ stdlib perspective, which
is where most of the dialog is coming from. From what
I understand, if underflow is handled via an underflow method,
then a buffer space must be set up to deal with the stream,
otherwise, the state is unknown. I understand what underflow
is trying to do, which I thought was fine, but the Apache C++
engineer seemed adamant that the buffer must be handled
in the way he was prescribing. I have not looked into re-writing the
underflow method, that is, not until I get feedback from the Sun compiler
engineers on a possible bug.

I was also thinking of trying to re-compile everything with Apache C++ 
stdlib
to see if what the engineer thought would happen, does. But, I have not
done so yet.

Thanks,

Jim

/////////////////////

 John W. Eaton wrote:
> On  5-Dec-2008, Jim Langston wrote:
>
> | Could someone take a look at the dialog I've been having
> | with the Sun Developer Forum on underflow, this has to do
> | with what is happening with reading audio files and what
> | feedback I'm getting back on the forum.
> | 
> | http://forums.sun.com/thread.jspa?messageID=10533624
> | 
> | I would appreciate any thoughts on a possible solution
>
> If I understand correctly from that thread you are saying that there
> may be a bug in the way Octave's c_file_ptr_buf class is implemented.
> It's certainly possible that there is a bug, but I don't know enough
> about how these functions are supposed to work.  I admit to simply
> copying and modifying some libstdc++ code to create the c_file_ptr_buf
> class, so I didn't really understand it fully when I wrote it, but it
> seemed to work properly (back in the day, there wasn't exactly much
> documentation for the stream library internals...).  I don't object to
> changing the c_file_ptr_buf class, but before making changes I'd like
> to have some definitive statement about what the proper implementation
> is.
>
> jwe
> _______________________________________________
> Help-octave mailing list
> Help-octave at octave.org
> https://www-old.cae.wisc.edu/mailman/listinfo/help-octave
>   


-- 
/////////////////////////////////////////////

Jim Langston
Sun Microsystems, Inc.

(877) 854-5583 (AccessLine)
(513) 702-4741 (Cell)
AIM: jl9594
jim.langston at sun.com



More information about the Help-octave mailing list