Earle F. Philhower, III
1255a4240a
Mixer stubs produce 16b, avoid 8b WAV issues ( #776 )
2025-10-09 07:33:48 -07:00
Nils Uliczka and Earle F. Philhower, III
b63c28449e
Tell AudioOutputMixer the rate for the next sample ( #129 )
...
* Tell the mixer at which rate to consume the next sample
* Update SetRate method to include id parameter
* Refactor SetRate to minimize redundant updates
Optimize rate setting to avoid unnecessary calls.
* Add newHz and lastHz variables to AudioOutputMixer
---------
Co-authored-by: Earle F. Philhower, III <earlephilhower@yahoo.com >
2025-10-08 14:50:47 -07:00
Earle F. Philhower, III
f9e72dbb21
Add style check matching RP2040 core ( #740 )
...
Will let us backport the BackgroundAudio patches to libhelix easier and clean
up some ugly formatting we've let develop.
2025-04-11 12:09:49 -07:00
Earle F. Philhower, III
79208f6701
Fix GCC14-detected warnings ( #711 )
...
* Fix pedantic GCC14 warnings on calloc order
* Ensure AAC read-in doesn't overflow internal structures when the file is corrupted/illegal.
2024-10-06 16:53:22 -07:00
Earle F. Philhower, III
db411fadbf
Add Mixer::loop() to allow just sending I2S data
...
Allow users to call the ::loop() method to pump out any possible data
to the I2S interface, without requiring any Stubs to pump the queue.
2018-02-26 13:11:23 -08:00
Earle F. Philhower, III
3c7ffbe0b3
Support volume on each input channel
...
Call stub->SetGain(float) to set an input's volume before mixing.
2018-02-25 14:24:38 -08:00
Earle F. Philhower, III
ca50839712
WIP - AudioOutputMixer to combine multiple streams
...
This runs but amplification is not working yet. See MixerSample
for a very crufty example.
2018-02-25 13:37:17 -08:00