root@freebsd:~ # cc sndstat_nv.c -o sndstat_nv -lnv && ./sndstat_nv
nameunit=pcm0
        from_user=0
        devnode=dsp0
        desc=Dummy Audio Device
        provider=sound(4)
        pchan=1
        rchan=1
        play_min_rate=1
        play_max_rate=2016000
        play_formats=0x011010
        play_min_chn=2
        play_max_chn=2
        rec_min_rate=1
        rec_max_rate=2016000
        rec_formats=0x011010
        rec_min_chn=2
        rec_max_chn=2
        unit=0
        bitperfect=0
        pvchan=1
        rvchan=1
        chan=pcm0:play:dsp0.p0
                parentchan=
                unit=0
                latency=2
                rate=48000
                format=0x200010
                pid=-1
                comm=<UNUSED>
                intr=0
                xruns=0
                feedcnt=0
                leftvol=45
                rightvol=45
                hwbuf_format=0x200010
                hwbuf_size=1024
                hwbuf_blksz=512
                hwbuf_blkcnt=2
                hwbuf_free=1024
                hwbuf_ready=0
                swbuf_format=0x200010
                swbuf_size=1024
                swbuf_blksz=512
                swbuf_blkcnt=2
                swbuf_free=1024
                swbuf_ready=0
                swbuf_feederchain=[userland -> feeder_mixer(0x00200010) -> hardware]
        chan=pcm0:virtual_play:dsp0.vp0
                parentchan=pcm0:play:dsp0.p0
                unit=1
                latency=-1
                rate=8000
                format=0x100008
                pid=-1
                comm=<UNUSED>
                intr=0
                xruns=0
                feedcnt=0
                leftvol=45
                rightvol=45
                hwbuf_format=0x100008
                hwbuf_size=0
                hwbuf_blksz=0
                hwbuf_blkcnt=0
                hwbuf_free=0
                hwbuf_ready=0
                swbuf_format=0x100008
                swbuf_size=0
                swbuf_blksz=0
                swbuf_blkcnt=0
                swbuf_free=0
                swbuf_ready=0
                swbuf_feederchain=[userland -> feeder_root(0x00000000) -> hardware]
        chan=pcm0:record:dsp0.r0
                parentchan=
                unit=2
                latency=2
                rate=48000
                format=0x200010
                pid=-1
                comm=<UNUSED>
                intr=0
                xruns=0
                feedcnt=0
                leftvol=45
                rightvol=45
                hwbuf_format=0x200010
                hwbuf_size=1024
                hwbuf_blksz=512
                hwbuf_blkcnt=2
                hwbuf_free=1024
                hwbuf_ready=0
                swbuf_format=0x200010
                swbuf_size=1024
                swbuf_blksz=512
                swbuf_blkcnt=2
                swbuf_free=1024
                swbuf_ready=0
                swbuf_feederchain=[hardware -> feeder_root(0x00200010) -> feeder_mixer(0x00200010) -> userland]
        chan=pcm0:virtual_record:dsp0.vr0
                parentchan=pcm0:record:dsp0.r0
                unit=3
                latency=-1
                rate=8000
                format=0x100008
                pid=-1
                comm=<UNUSED>
                intr=0
                xruns=0
                feedcnt=0
                leftvol=45
                rightvol=45
                hwbuf_format=0x100008
                hwbuf_size=0
                hwbuf_blksz=0
                hwbuf_blkcnt=0
                hwbuf_free=0
                hwbuf_ready=0
                swbuf_format=0x100008
                swbuf_size=0
                swbuf_blksz=0
                swbuf_blkcnt=0
                swbuf_free=0
                swbuf_ready=0
                swbuf_feederchain=[hardware -> feeder_root(0x00000000) -> userland]