On Mon, Dec 28, 2015 at 05:45:40PM +0300, Kirill wrote: > On 12/28/15 17:21, Jan Stary wrote: > > On Dec 28 16:46:24, [email protected] wrote: > >> I want to capture audio from another app to file or simply stdout. How > >> can I do this? > > It woould be easier to help you you just said what "app" it is > > and how it produces "audio". > > i want to capture with ffmpeg from dosbox (no, internal dosbox capture > don't need)
you could expose a device that monitors what programs play: sndiod_flags="-s default -m play,mon -s mon" then restart sndiod and use whatever program you prefer to record from device "snd/0.mon". Example: ffmpeg -f sndio -i snd/0.mon foo.wav hth

