Lines Matching defs:phwfmt
922 audio_format2_t phwfmt;
1028 memset(&phwfmt, 0, sizeof(phwfmt));
1036 perror = audio_hw_probe(sc, &phwfmt, AUMODE_PLAY);
1059 audio_format2_t *fmt = has_playback ? &phwfmt : &rhwfmt;
1067 rhwfmt = phwfmt;
1076 error = audio_hw_set_format(sc, mode, &phwfmt, &rhwfmt, &pfil, &rfil);
1087 error = audio_mixers_init(sc, mode, &phwfmt, &rhwfmt, &pfil, &rfil);
6678 * phwfmt and rhwfmt indicate the hardware format. pfil and rfil indicate
6688 const audio_format2_t *phwfmt, const audio_format2_t *rhwfmt,
6693 KASSERT(phwfmt != NULL);
6708 error = audio_mixer_init(sc, AUMODE_PLAY, phwfmt, pfil);
6983 audio_format2_t phwfmt;
7004 phwfmt.encoding = ai->play.encoding;
7005 phwfmt.precision = ai->play.precision;
7006 phwfmt.stride = ai->play.precision;
7007 phwfmt.channels = ai->play.channels;
7008 phwfmt.sample_rate = ai->play.sample_rate;
7021 phwfmt = rhwfmt;
7023 rhwfmt = phwfmt;
7037 audio_encoding_name(phwfmt.encoding),
7038 phwfmt.precision,
7039 phwfmt.stride,
7040 phwfmt.channels,
7041 phwfmt.sample_rate);
7054 if (audio_hw_validate_format(sc, AUMODE_PLAY, &phwfmt)) {
7069 error = audio_hw_set_format(sc, mode, &phwfmt, &rhwfmt, &pfil, &rfil);
7073 error = audio_mixers_init(sc, mode, &phwfmt, &rhwfmt, &pfil, &rfil);
7744 * Setup the hardware with mixer format phwfmt, rhwfmt.
7748 * - phwfmt and rhwfmt must not be NULL regardless of setmode.
7749 * - On non-independent devices, phwfmt and rhwfmt must have the same
7760 const audio_format2_t *phwfmt, const audio_format2_t *rhwfmt,
7766 KASSERT(phwfmt != NULL);
7769 pp = format2_to_params(phwfmt);
8047 audio_format2_t phwfmt;
8083 phwfmt = sc->sc_pmixer->hwbuf.fmt;
8093 error = audio_hw_set_format(sc, mode, &phwfmt, &rhwfmt, &pfil, &rfil);
8099 error = audio_mixers_init(sc, mode, &phwfmt, &rhwfmt, &pfil, &rfil);
8103 audio_mixers_init(sc, mode, &phwfmt, &rhwfmt, &pfil, &rfil);