cvs commit: src/sys/dev/sound/pcm mixer.c
M. Warner Losh
imp at bsdimp.com
Mon Jun 21 15:24:22 PDT 2004
In message: <20040621201152.GA594 at jenny.daemon.li>
Josef El-Rayes <josef at FreeBSD.org> writes:
: Dag-Erling Smørgrav <des at des.no> wrote:
: > "M. Warner Losh" <imp at bsdimp.com> writes:
: > > des at des.no (Dag-Erling Smørgrav) writes:
: > > > that should be pcm.0.line, for consistency.
: > > hw.pcm.0.line, don't you mean?
: > Actually, I was thinking more along the lines of hint.pcm.0.line...
: any final consensus how the lines should look like?
: i will change them accordingly.
If it is hint.pcm.0.line, then you can grab it with a simple
resource_int_value(9) will fetch it correctly. That's likely the
right way to go in this case.
More information about the cvs-all