[BACK]Return to audio.c CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / src / sys / dev / audio

Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.

Diff for /src/sys/dev/audio/audio.c between version 1.60 and 1.61

version 1.60, 2020/03/01 07:40:03 version 1.61, 2020/03/01 07:42:07
Line 4777  audio_mixer_init(struct audio_softc *sc,
Line 4777  audio_mixer_init(struct audio_softc *sc,
                         if ((rounded * NBBY) % (mixer->hwbuf.fmt.stride *                          if ((rounded * NBBY) % (mixer->hwbuf.fmt.stride *
                             mixer->hwbuf.fmt.channels) != 0) {                              mixer->hwbuf.fmt.channels) != 0) {
                                 device_printf(sc->sc_dev,                                  device_printf(sc->sc_dev,
                                     "blksize not configured %d -> %d\n",                                      "round_blocksize must return blocksize "
                                     blksize, rounded);                                      "divisible by framesize: "
                                       "blksize=%d rounded=%d "
                                       "stride=%ubit channels=%u\n",
                                       blksize, rounded,
                                       mixer->hwbuf.fmt.stride,
                                       mixer->hwbuf.fmt.channels);
                                 return EINVAL;                                  return EINVAL;
                         }                          }
                         /* Recalculation */                          /* Recalculation */

Legend:
Removed from v.1.60  
changed lines
  Added in v.1.61

CVSweb <webmaster@jp.NetBSD.org>