Rockbox Development > Starting Development and Compiling

Reading in audio data in a plugin?

(1/1)

Matze88:
Hello!

I would like to write a plugin that demodulates different signals from incomming audio (linein, mic, fmradio). What is the right way to access that data in a plugin? Should I use the "recording" functions (those around pcm_init_recording() ) or is there an easier, better way to get that data? I need the "real stream" means every audio sample, the oscilloscope plugin for example just uses pcm_calculate_peaks which does not return sample data, does it?
Maybe anyone of you has a short example for reading in audio data in a plugin? At least some tips which functions to use would be very helpful.

Thank you very much,

Matthias

Febs:
Matthias, welcome.  You are welcome to post this type of question here, and it may be that you get a helpful response.  However, many of the developers do not read the forums, so you may find the #rockbox IRC channel or the developers' mailing list more useful.  You can find links to both under the "Support" heading on the left.

Navigation

[0] Message Index

Go to full version