52 lines
1.2 KiB
Java
52 lines
1.2 KiB
Java
package c.i.a.c.a2;
|
|
|
|
import c.i.a.c.a2.o;
|
|
import c.i.a.c.a2.t;
|
|
import c.i.a.c.i2.f0;
|
|
import com.airbnb.lottie.parser.AnimatableValueParser;
|
|
/* compiled from: FlacSeekTableSeekMap */
|
|
public final class n implements t {
|
|
public final o a;
|
|
public final long b;
|
|
|
|
public n(o oVar, long j) {
|
|
this.a = oVar;
|
|
this.b = j;
|
|
}
|
|
|
|
public final u b(long j, long j2) {
|
|
return new u((j * 1000000) / ((long) this.a.e), this.b + j2);
|
|
}
|
|
|
|
@Override // c.i.a.c.a2.t
|
|
public boolean c() {
|
|
return true;
|
|
}
|
|
|
|
@Override // c.i.a.c.a2.t
|
|
public t.a h(long j) {
|
|
AnimatableValueParser.H(this.a.k);
|
|
o oVar = this.a;
|
|
o.a aVar = oVar.k;
|
|
long[] jArr = aVar.a;
|
|
long[] jArr2 = aVar.b;
|
|
int e = f0.e(jArr, oVar.g(j), true, false);
|
|
long j2 = 0;
|
|
long j3 = e == -1 ? 0 : jArr[e];
|
|
if (e != -1) {
|
|
j2 = jArr2[e];
|
|
}
|
|
u b = b(j3, j2);
|
|
if (b.b == j || e == jArr.length - 1) {
|
|
return new t.a(b);
|
|
}
|
|
int i = e + 1;
|
|
return new t.a(b, b(jArr[i], jArr2[i]));
|
|
}
|
|
|
|
@Override // c.i.a.c.a2.t
|
|
public long i() {
|
|
return this.a.d();
|
|
}
|
|
}
|