Lines Matching refs:err
78 int err;
101 err = ioctl(fd, AUDIO_MIXER_GET_SAMPLE_RATES, sr);
102 if (err < 0) {
175 int err = 0;
223 err = ioctl(info->fd, AUDIO_GETINFO, &(info->info));
243 err = ioctl(info->fd, AUDIO_SETINFO, &(info->info));
244 if (err < 0) {
251 err = ioctl(info->fd, AUDIO_GETINFO, &(info->info));
252 if (err >= 0) {
273 int err, modified;
279 err = ioctl(info->fd, AUDIO_GETINFO, &audioInfo);
280 if (err >= 0) {
292 err = ioctl(info->fd, AUDIO_SETINFO, &audioInfo);
296 TRACE1("< DAUDIO_Start %s\n", (err>=0)?"success":"error");
297 return (err >= 0)?TRUE:FALSE;
302 int err, modified;
308 err = ioctl(info->fd, AUDIO_GETINFO, &audioInfo);
309 if (err >= 0) {
321 err = ioctl(info->fd, AUDIO_SETINFO, &audioInfo);
325 TRACE1("< DAUDIO_Stop %s\n", (err>=0)?"success":"error");
326 return (err >= 0)?TRUE:FALSE;
353 int err;
367 err = ioctl(info->fd, AUDIO_GETINFO, &audioInfo);
368 if (err >= 0) {
397 err = ioctl(info->fd, AUDIO_SETINFO, &audioInfo);
398 if (err >= 0) {
489 int err;
497 err = ioctl(info->fd, AUDIO_GETINFO, &audioInfo);
498 if (err >= 0) {
510 int err = -1;
516 err = ioctl(info->fd, I_FLUSH, FLUSHW);
518 err = ioctl(info->fd, I_FLUSH, FLUSHR);
520 if (err >= 0) {
530 if (err < 0) {
533 return (err < 0)?FALSE:TRUE;