Luna::AHI::IAdapter::get_native_wave_formats
virtual RV get_native_wave_formats(WaveFormat *out_formats, usize *num_formats)=0
Gets a list of native wave formats supported by this adapter.
Parameters
-
out out_formats
A pointer to the buffer that receives native data formats, or
nullptr
to check the number of native wave formats. -
inout num_formats
If out_formats is not
nullptr
, specify the maximum number of WaveFormat instances that can be written to the buffer. The system updates this value to the number of WaveFormat instances actually written. If out_formats isnullptr
, the system updates this value to the number of native formats supported by the adapter, so that the user can allocate a buffer for retrieving formats.