I want to evaluate the integral
$$\int_{-\infty}^\infty \frac{\sin^2(x)}{x^2}e^{i t x} dx$$
for all $t \in \mathbb{R}$. I would preferably do it using the tools of complex analysis, but since I haven't found any other thread dealing with this integral at all so far, I'd be open to any approach.
I must admit that I haven't really found a way to start. The function $f(z) := \frac{\sin^2(z)}{z^2}e^{i t z}$ has an isolated singularity (a removable singularity, with continuation $f(0) = 1$, to be precice) at $z = 0$. I think a clever way would be to integrate over the edge of rectangle, semicircle or "slice of cake" (the edges of which we then would let go against $-∞$ and $∞$), then maybe somehow apply the Cauchy theorem or Residue theorem. But I don't know how to concretely do that, or how to even get started with that.
On a more general note, I'm having trouble understanding how to transform a "normal" integral over a real interval into one where we integrate over the edges of a geometric shape; and I also don't know, based on which pattern one can see with geometric shape fits best. Are there any tips or hints on how to get more intuition for that? (Apart from, obviously, dealing with these integrals regularly, what I'm trying to do but where I'm still failing a lot of times.)
I also noticed that the above integrals looks strikingly similar to the Fourier transformed of $f$ (or, even more similar to the formula for the inverse transformed). So maybe this could help us with this integral? I'm not really sure though.