[alsa-devel] [PATCH v3 0/8] ASoC: omap-mcbsp: Cleanup and split core/sidetone support

Jarkko Nikula jarkko.nikula at bitmer.com
Sat Nov 10 16:59:57 CET 2018


On 11/8/18 9:29 AM, Peter Ujfalusi wrote:
> Hi,
> 
> Changes since v2:
> - Split the dma_data addr and maxburst cleanup patches
> - Added Jarkko's Acked-by tot he series.
> 
Here's my promised testing too. I used a setup below to test sidetone
functionality. Assuming both playback and recording path are already set.

amixer -D hw:0 set 'McBSP2 Sidetone' on
amixer -D hw:0 set 'McBSP2 Sidetone Channel 0' 100%
amixer -D hw:0 set 'McBSP2 Sidetone Channel 1' 100%
echo 32767 >/sys/devices/platform/68000000.ocp/49022000.mcbsp/st_taps
echo threshold
>/sys/devices/platform/68000000.ocp/49022000.mcbsp/dma_op_mode
arecord -f dat >/dev/null |aplay -f dat /dev/zero

^^
arecord dumps into /dev/null and aplay plays from /dev/zero so only path
from input to output is the sidetone path.

Tested-by: Jarkko Nikula <jarkko.nikula at bitmer.com>


More information about the Alsa-devel mailing list