Audio services: Difference between revisions

Line 600: Line 600:


== GetWorkBufferSize==
== GetWorkBufferSize==
Takes two u32s '''SampleRate''' and '''ChannelCount''' packed as an u64. Returns the required size for the decoder's work buffer.
Takes two u32s '''SampleRate''' and '''ChannelCount''' packed as an u64. Returns the required size for the decoder's work buffer. Official user-processes align the output size to page-alignment.


== IHardwareOpusDecoder ==
== IHardwareOpusDecoder ==