A function $f(x,t)$ which satisfies the wave equation can be expressed generally as a function of a single argument $f(x-ct)$, where $c=\frac{\omega}{k}$. This is because you can express this function as an integral, according to Fourier Analysis: $$f(x-ct)=\int^\infty_{-\infty}C(r)e^{ir(x-ct)}dr \tag{1}$$ The wave equation is linear, which is why this continuous summation of wave solutions will also solve the equation.
The general function $\psi(x,t)$ can also be expressed using the 2-dimensional Fourier Transform:
$$\psi(x,t)=\int^\infty_{-\infty}\int^\infty_{-\infty}\beta(k,\omega)e^{i(kx-\omega t)}dk~d\omega \tag{2}$$
This is a general function which has no constraints. Substituting this form for $\psi(x,t)$ into the wave equation will give us the constraint $c=\frac{\omega}{k}$ for nonzero $\beta(k,\omega)$.
I would think that substituting the constraint $\omega=ck$ back into (2) should produce a solution in the same form as (1). However, when I do this:
\begin{align*} \psi(x,t)&=\int^\infty_{-\infty}\int^\infty_{-\infty}\beta(k,\omega)e^{i(kx-\omega t)}dk~d\omega\\ &=\int^\infty_{-\infty}\int^\infty_{-\infty}\beta(k)e^{ik(x-ct)}dk~(cdk)\\ &\stackrel{?}{=}\int^\infty_{-\infty}C(k)e^{ik(x-ct)}dk\\ \end{align*}
I'm not sure how to evaluate the integral such that the second line can lead to the third line. How should I proceed?