Output device index 0 by default.