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

New PCM Audio player use a AudioWorkletProcessor to offload work #46

Merged
merged 18 commits into from
Sep 30, 2023

Commits on Aug 26, 2023

  1. Configuration menu
    Copy the full SHA
    e6b7a3e View commit details
    Browse the repository at this point in the history

Commits on Sep 17, 2023

  1. Configuration menu
    Copy the full SHA
    ce1aa16 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    3c54f96 View commit details
    Browse the repository at this point in the history
  3. correct audio toggle handling

    false seems to be sent as a string occasionally so lets handle it both ways
    in this case if("false") is evaluating to true
    dvrtech-us committed Sep 17, 2023
    Configuration menu
    Copy the full SHA
    7f39bca View commit details
    Browse the repository at this point in the history

Commits on Sep 24, 2023

  1. optimize pcmplayer to remove unnecessary data conversions

    Since we always use Float32, we have no need to do conversions. This yields improvements because the conversion function was rebuilding the buffer even though it was formatted correctly.
    dvrtech-us committed Sep 24, 2023
    Configuration menu
    Copy the full SHA
    c372977 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    0a0d34b View commit details
    Browse the repository at this point in the history
  3. Handle audio drift?

    dvrtech-us committed Sep 24, 2023
    Configuration menu
    Copy the full SHA
    ebbbc98 View commit details
    Browse the repository at this point in the history
  4. Update pcmplayer.js

    dvrtech-us committed Sep 24, 2023
    Configuration menu
    Copy the full SHA
    bf37595 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    1887303 View commit details
    Browse the repository at this point in the history

Commits on Sep 27, 2023

  1. save

    dvrtech-us committed Sep 27, 2023
    Configuration menu
    Copy the full SHA
    e3cb595 View commit details
    Browse the repository at this point in the history
  2. save

    dvrtech-us committed Sep 27, 2023
    Configuration menu
    Copy the full SHA
    ecc04d3 View commit details
    Browse the repository at this point in the history
  3. New PCM player implementation

    Moved Audio related JS to separate file
    Implemented AudioWorkletProcessor to move message handling structure conversion and buffer out of main thread
    dvrtech-us committed Sep 27, 2023
    Configuration menu
    Copy the full SHA
    f43bcb6 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    44cac6d View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    ccdafdf View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    342d731 View commit details
    Browse the repository at this point in the history
  7. Fix Stereo support!

    dvrtech-us committed Sep 27, 2023
    Configuration menu
    Copy the full SHA
    f23cafe View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    a7927b1 View commit details
    Browse the repository at this point in the history

Commits on Sep 28, 2023

  1. small improvements to initialization

    Now the audio socket is initialized only after pcmPlayerNode is created
    Also a bug fix to properly cast gain as a float.
    Seems like a latency improvement
    dvrtech-us committed Sep 28, 2023
    Configuration menu
    Copy the full SHA
    7175a3b View commit details
    Browse the repository at this point in the history