OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:newSampleRate
(Results
1 - 3
of
3
) sorted by null
/external/sonic/
Sonic.java
748
int
newSampleRate
)
753
int leftPosition = oldRatePosition*
newSampleRate
;
754
int rightPosition = (oldRatePosition + 1)*
newSampleRate
;
766
int
newSampleRate
= (int)(sampleRate/rate);
771
while(
newSampleRate
> (1 << 14) || oldSampleRate > (1 << 14)) {
772
newSampleRate
>>= 1;
781
while((oldRatePosition + 1)*
newSampleRate
> newRatePosition*oldSampleRate) {
785
oldSampleRate,
newSampleRate
);
793
if(newRatePosition !=
newSampleRate
) {
794
System.out.printf("Assertion failed: newRatePosition !=
newSampleRate
\n")
[
all
...]
sonic.c
886
int
newSampleRate
)
891
int leftPosition = stream->oldRatePosition*
newSampleRate
;
892
int rightPosition = (stream->oldRatePosition + 1)*
newSampleRate
;
905
int
newSampleRate
= stream->sampleRate/rate;
913
while(
newSampleRate
> (1 << 14) || oldSampleRate > (1 << 14)) {
914
newSampleRate
>>= 1;
925
while((stream->oldRatePosition + 1)*
newSampleRate
>
933
*out++ = interpolate(stream, in, oldSampleRate,
newSampleRate
);
942
if(stream->newRatePosition !=
newSampleRate
) {
944
"Assertion failed: stream->newRatePosition !=
newSampleRate
\n")
[
all
...]
/frameworks/av/media/libaudioprocessing/
AudioResamplerDyn.cpp
269
static bool isClose(int32_t
newSampleRate
, int32_t prevSampleRate,
276
&&
newSampleRate
< outSampleRate)
280
int pdiff = absdiff(
newSampleRate
, prevSampleRate);
281
int adiff = absdiff(
newSampleRate
, filterSampleRate);
Completed in 363 milliseconds