No BSoundRecoder class...help needed

how can i create a recording node?, (please bear in mind i am new to both programming and the Be API), so if possible, in order, which classes do i have to use? and if anyone knows some example code please point me to it.

I used the BMediaRecorder for sound recording.
For example:
https://git.haiku-os.org/haiku/tree/src/apps/soundrecorder and
https://github.com/haikuports/haikuports/blob/master/net-im/telegram-desktop/patches/telegram_desktop-1.3.10-libtgvoip.patchset#L236