Using HiResRec or Rec within my driver

Discussion about writing software for VS1005 and the VSOS Operating System. Also posts about VS1005-related hardware design and device drivers should be posted here.
Post Reply
Posts: 15
Joined: Thu 2018-03-01 15:45

Using HiResRec or Rec within my driver

Post by treverwagenhals » Wed 2018-05-30 15:35

Good day,

As the title explains, I would like to record audio within my driver. Essentially, when a GPIO pin is read as high, it will check for a file corresponding to the button. If the file does not exist, it will prompt the user to start a recording and save the file to associate it with that button.

I see the two mentioned recording drivers, although my searching through these forums doesn't show a small standalone solution of them being called.

Essentially, I would like to know how to call them and set the file type (if optional), file name to be saved, and how to control when to stop the recording.

Any example would be greatly appreciated.

Post Reply