Module Name: src Committed By: isaki Date: Sat Apr 27 12:05:28 UTC 2019
Modified Files: src/sys/dev [isaki-audio2]: audio_if.h src/sys/dev/audio [isaki-audio2]: audio.c Log Message: Add audio_indexof_format(). It finds index matches with specified audio_param_t from array of audio_format_t. Formerly, it was auconv_set_converter() that convert userland params to the hardware native (linear) format and such conversion is unnecessary in audio2. But some drivers have gotten index from this format array using auconv_set_converter(). This function is an alternative to such usage. To generate a diff of this commit: cvs rdiff -u -r1.70.24.1 -r1.70.24.2 src/sys/dev/audio_if.h cvs rdiff -u -r1.1.2.2 -r1.1.2.3 src/sys/dev/audio/audio.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.