On June 1, 2013 07:13:25 PM Florian Jung wrote:
> This creates a problem for me: I rely on the fact that SndFile is only
> seek()ed by me, not by anything outside my scope. (AudioStreams have a
> *private* SndFile, nobody has access to this file).

In case you're not using an IDE to Find Uses (ha!): 

I found two more sf_seek() in wave.cpp: 
SndFile::seek() and SndFile::samples(). 
But you probably know them.

I found many SndFile/SndFileR::seek() and ::samples() uses. 
It's hard to list them. I must type quite a lot.

SndFile::samples() is weird. And it uses the sf handle. 
I don't know if there's a better way in write mode.
But I'll assume that stretch processing does not apply at all in write mode.

Beware the Wave Editor functions use SndFiles too, and SimpleDrums synth 
 and so on.

So in light of all that, will AudioStreams somehow be transparent
 and act like normal SndFile so all these other usages just work?

Or are you saying AudioStreams has a private SndFile, but class SndFile is 
 still accessible and usable as normal, by other code?
Thus it's simply a matter of who (what) ever wants to use this new 
 AudioStreams class instead of SndFile?

Thanks.
Tim.

------------------------------------------------------------------------------
Get 100% visibility into Java/.NET code with AppDynamics Lite
It's a free troubleshooting tool designed for production
Get down to code-level detail for bottlenecks, with <2% overhead.
Download for free and get started troubleshooting in minutes.
http://p.sf.net/sfu/appdyn_d2d_ap2
_______________________________________________
Lmuse-developer mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/lmuse-developer

Reply via email to