Gstreamer command for arecord

Could someone please tell me the equivalent command to

arecord -D hw:1,1 -r 48000 -f S24_LE -c 2 -d 10 cap.wav

in Gstreamer for capturing a stereo channel audio file from input hw:1,1?

Thank you!

Hi,
Please try alsasrc

gst-launch-1.0 alsasrc num-buffers=1000 device="hw:1,1" ! audio/x-raw,format=(string)S24_32LE ! wavenc ! filesink location=a.wav

There are two formats (string)S24_32LE and (string)S24LE listed in ‘gst-inspect-1.0 alsasrc’. Not sure which one matches your device. Please try both.

Works. Thanks!