[mad-dev] buffering madlib samples