<div dir="ltr"><div><div><div><div><div>Hello,<br><br></div>I could not find any documentation on this subject.<br></div>I require to have a recording of an a-law wav file (RIFF (little-endian) data, WAVE audio, ITU G.711 A-law, mono 8000 Hz).<br><br></div>Can I set a variable that tells the record command what type of codec to store the file with ?<br><br>I know how to convert a normal wav recording into it using ffmpeg (for example):<br><br>$ ffmpeg -i 0.wav -ar 8000 -ac 1 -acodec pcm_alaw 0-alaw.wav<br><br>But I wish to avoid it, if I can use the record app, or use the uuid_record API for it.<br><br></div>Thanks,<br></div>Ido<br></div>