On Mon, May 07, 2018 at 08:34:32PM +0200, Jesper Wallin wrote:
> On Mon, May 07, 2018 at 03:30:19PM +0200, Jesper Wallin wrote:
> > I've still not been able to test this using MIDI devices, but everything
> > else seems to work as far as I can tell.
> 
> As Theo (tb@) kindly pointed out to me off-list, aucat(1) supports the
> use of multiple -i and/or -o flags, which my previous patch broke.
> 
> Instead, I've now split slot_new() into two functions, where slot_new()
> only sets the path to the file with all the parameters, and slot_parse()
> which loops through all files and parse the headers.
> 
> Same testing as before as well as specifying -i/-o multiple times.
> 
> 

That's what I meant. The "hdr", "rate" and "pars" variables must also
be saved similarly to "path", but this makes the slot structure a
duplicate of the afile structure does, which is ugly and error-prone.

So afile_open() may need also to be split into a "init" and "open"
parts.

Sorry, I thought all this would be much easier :(

Reply via email to