Audio services: Difference between revisions
Add details about new 12.0.0 opus funcs |
m Correct details of how hwopus Ex params are passed over IPC |
||
Line 758: | Line 758: | ||
== OpenHardwareOpusDecoderEx == | == OpenHardwareOpusDecoderEx == | ||
Takes a | Takes a struct [[#OpusParametersEx]] and a u32 '''WorkBufferSize''' and a TransferMemory handle for '''WorkBuffer'''. Returns an [[#IHardwareOpusDecoder]] object. The TransferMemory is created by the user-process with permissions=0. | ||
When ''UseLargeFrameSize'' in the parameter struct is 1 a larger output buffer that can store 120ms opus frames is used vs the default of 40ms. | |||
== GetWorkBufferSizeEx == | == GetWorkBufferSizeEx == | ||
Takes a | Takes a struct [[#OpusParametersEx]]. Returns the u32 required size for the decoder's work buffer. Official user-processes align the output size to page-alignment. | ||
== OpenHardwareOpusDecoderForMultiStreamEx == | == OpenHardwareOpusDecoderForMultiStreamEx == |