Fix #958 by using new method that auto-converts analog samples