![Freescale Semiconductor i.MX 6DualLite Reference Manual Download Page 196](http://html1.mh-extra.com/html/freescale-semiconductor/i-mx-6duallite/i-mx-6duallite_reference-manual_2330523196.webp)
output_buffer_length according to data number generated by ASRC and copy
output_buffer_length to output_buffer_vaddr. However, before calling
ASRC_CONVERT, the user needs to fill the output_buffer_length according to the ratio
of input sample rate and output sample rate. If the generated buffer size is larger than the
user filled output_buffer_size, the driver would only copy user filled output_buffer_size
to output_buffer_vaddr. If the generated buffer size is smaller than user filled
output_buffer_size (with the difference of less than 64 bytes), calling ASRC_CONVERT
would fail.
• input_buffer_vaddr: virtual address of input buffer.
• output_buffer_vaddr: virtual address of output buffer.
• input_buffer_length: length of input buffer(bytes).
• output_buffer_length: length of output buffer(bytes).
ASRC_START_CONV:
Start ASRC pair convert.
ASRC_STOP_CONV:
Stop ASRC pair convert.
ASRC_STATUS:
Query ASRC pair status.
Platform Data
i.MX 6Solo/6DualLite Linux Reference Manual, Rev. L3.0.35_4.1.0, 09/2013
196
Freescale Semiconductor, Inc.