Update example to make clear output/input device index