mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 22:57:44 +00:00
LibAudio: Rename Audio::Frame -> Audio::Sample
"Frame" is an MPEG term, which is not only unintuitive but also overloaded with different meaning by other codecs (e.g. FLAC). Therefore, use the standard term Sample for the central audio structure. The class is also extracted to its own file, because it's becoming quite large. Bundling these two changes means not distributing similar modifications (changing names and paths) across commits. Co-authored-by: kleines Filmröllchen <malu.bertsch@gmail.com>
This commit is contained in:
parent
fa4255bcf1
commit
b6d075bb01
11 changed files with 179 additions and 165 deletions
|
@ -14,7 +14,7 @@
|
|||
namespace LibDSP {
|
||||
|
||||
// FIXME: Audio::Frame is 64-bit float, which is quite large for long clips.
|
||||
using Sample = Audio::Frame;
|
||||
using Sample = Audio::Sample;
|
||||
|
||||
Sample const SAMPLE_OFF = { 0.0, 0.0 };
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue