128
128
for (cnt = 0; cnt <= repeats; cnt++) {
132
130
/* Insert a bit of silence so that multiple beeps are distinct and
133
131
* not compressed into a single tone.
135
133
iov[iovcnt].iov_base = (char *) silence;
136
134
iov[iovcnt++].iov_len = sizeof(silence);
138
139
if ((iovcnt >= IOV_MAX) || (cnt == repeats)) {
139
140
written = writev(audioFD, iov, iovcnt);