Hi everyone,
We have a problem when used OmapL138, We used ALSA to capture audio signal in one thread and run Audio_copy example in Codec Engine in another thread.
My problem is that when I call open_engine(),the audio ALSA captured is not correct, at the beginning of each frame the first four Sampling points have the same amplitude. Once I called open_engine(),I must to power restart OmapL138,and not call the function again, then the problem will not happen. So I think that open_engine() have some effects on ALSA, but I don’t know how it happened and how to fix it .
I’ll appreciation that if someone would help us,Thanks!