Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor appendtone signature #8

Merged
merged 2 commits into from Oct 23, 2017
Merged

Commits on Oct 23, 2017

  1. Refactor appendtone signature

    Creates an "outbuf" struct with all the state needed for rendering
    pulses into an audio buffer. Calls to appendtone take a pointer to
    this struct instead of four separate args.
    
    This patch shouldn't affect behavior at all. It is a step toward
    providing band-limited waveform generation (see datajerk#4).
    
    Also uses doubling approach to reallocate audio buffer, one of the
    existing todo items.
    raphlinus committed Oct 23, 2017
    Configuration menu
    Copy the full SHA
    07e57f3 View commit details
    Browse the repository at this point in the history
  2. Set rate before outbuf_init

    Fixes failing tests in dsk case, due to rate mismatch.
    raphlinus committed Oct 23, 2017
    Configuration menu
    Copy the full SHA
    ca608e9 View commit details
    Browse the repository at this point in the history