[pulseaudio-discuss] Weird data flow (not waveform)

David Henningsson launchpad.web at epost.diwic.se
Tue Jun 15 11:37:04 PDT 2010


On 2010-06-15 20:19, José Tomás Tocino García wrote:
> Hi, I'm using the Pulseaudio Simple Api to get the microphone input.
> It works ok, because I can hear exactly what I say on the mic if I
> open an output stream, but if I dump the audio stream to a file and
> then plot it (using gnuplot for instance), it's got nothing to do with
> a waveform. I realized so when I was trying to apply a FFT to the read
> stream, I was getting weird results.

Have you checked that the sample format is matched? E g if the output
from PA is 16 bit signed and gnuplot is expecting floating-point, or
perhaps the other way around.

// David



More information about the pulseaudio-discuss mailing list