Creating an audio field using ODK forms in XLSFORM

To create a field that stores photos, in XlS Form I assume I can use the following structure;
type name
photo picture

Is it possible to link this field directly to my camera i.e. provide a function which allows me to access camera directly so that when I get to this question I take a picture at that point? Or would I have to take the photo separately using my camera app and then upload the photo from my gallery?

Also how would I design my XLSFORM to capture an audio recording.. what do I put under type of field? Would there be an option to link to my recording device directly when I get to this question or again would I have to go to my recording app, record then upload?

Using ODK Collect v1.19.0
Samsung Tablet running Android
Edna

Below documents may help you to get your answer

https://docs.opendatakit.org/form-question-types/#audio-widget
https://docs.opendatakit.org/form-question-types/#image-widgets
http://xlsform.org/en/