[PATCH v2 1/4] winegstreamer: Introduce audio conversion transform.

Derek Lesho dlesho at codeweavers.com
Wed Dec 2 11:26:30 CST 2020


On 12/2/20 12:25 PM, Zebediah Figura (she/her) wrote:

> On 12/2/20 11:15 AM, Derek Lesho wrote:
>> On 12/2/20 12:07 PM, Zebediah Figura (she/her) wrote:
>>> Performance isn't really the concern—it's more code, and you really
>>> should be handling allocation failure.
>>>
>>> Another solution could be to just use a fixed-size stack buffer.
>> Okay, I guess I'll do that.  There's no limit to how many types you can
>> register for the MFT so I'll just make a max of 100 for both input and
>> output (so ~3.2kb of stack space).
> I think there's no need for that; just allocate as much stack space as
> you actually need.
That varies on a per MFT registration basis, some MFTs require more 
registration structs than others, since they have more input/output 
types.  Unless you're suggesting I use a VLA?



More information about the wine-devel mailing list