Page MenuHomeFreeBSD

snd_dummy: advance pointers for both channels
AcceptedPublic

Authored by meka_tilda.center on Wed, Jun 24, 10:37 PM.
Tags
None
Referenced Files
F160560082: D57834.id180571.diff
Thu, Jun 25, 4:45 PM
F160560043: D57834.diff
Thu, Jun 25, 4:45 PM
F160559937: D57834.id180571.diff
Thu, Jun 25, 4:43 PM
Unknown Object (File)
Thu, Jun 25, 5:49 AM
Subscribers

Details

Reviewers
christos
Summary

Previously only the play pointer advanced each tick; the record channel refilled the whole buffer with silence and left the DMA pointer at 0. Advance the record pointer by one block per tick and fill that block with silence, so the DMA pointer changes and mmap kqueue consumers can track progress.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped