AudioTransportSource -> getNextReadPosition() problems


#1

Hi,
I have a new problem:
I have an AudioTransportSource and i need the getNextReadPosition() info in order to do my things.
Now in this case:

...
		transportSource2.setSource ( myMixer ,
                                       32768, // tells it to buffer this many samples ahead
                                       0);        
...

transportSource2->getNextReadPosition() returns me the right info.

But if I do (and I have to do!):

...
		transportSource2.setSource ( myMixer ,
                                       0, // <---- no buffering                                         0);        
...

it plays good like before but, incredible, transportSource2->getNextReadPosition() returns me always 0.

Why?

thanks for the attention


#2

Well have you stepped into the getNextReadPosition() call to see what’s happening?


#3

Solved.
Thanks


#4