Source

Branch

1/ @mrsteyk1

@NOTimothyLottes

tinyplay does SNDRV_PCM_IOCTL_HW_PARAMS ioctl (referenced in the article alongside REFINE)

2/ @NOTimothyLottes

@mrsteyk1

I believe the method the ALSA people wanted users to go by was to first REFINE to grab the full PCM limits, then iteratively make changes (via REFINE ioctl) until it converges to one configuration, at which point the HW_PARAMS ioctl is used to finalize that config.

3/ @NOTimothyLottes

@mrsteyk1

Maybe it works sometimes to just use HW_PARAMs directly, but I have not got that working. I also cannot seem to get the refinement process to work either. And I don’t get error returns, so still no idea what is wrong yet.