Basic PulseAudio microphone input

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi there,

I'm developing a musical game, and to get the microphone input I've
been using Portaudio, but it's been giving me some errors and I'm
looking for an alternative. Pulseaudio looks great, and I've been
trying to find a "Hello world" example, but I've only found the simple
api's examples, and I'm more interested in using the asynchronous
mainloop.

So far, looking at the reference, I've come to this:
http://codepad.org/dlnLSawK I guess the next step would be to write a
callback function and attach it to the stream using
pa_stream_set_read_callback or something like that, but I'm a little
bit lost.

Any help is appreciated.
Thanks in advance.

-- 
Jos? Tom?s Tocino Garc?a



[Index of Archives]     [Linux Audio Users]     [AMD Graphics]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux