mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 11:27:35 +00:00
LibAudio+Everywhere: Rename Audio::Buffer -> Audio::LegacyBuffer
With the following change in how we send audio, the old Buffer type is not really needed anymore. However, moving WavLoader to the new system is a bit more involved and out of the scope of this PR. Therefore, we need to keep Buffer around, but to make it clear that it's the old buffer type which will be removed soon, we rename it to LegacyBuffer. Most of the users will be gone after the next commit anyways.
This commit is contained in:
parent
fc7d231b00
commit
cb0e95c928
21 changed files with 54 additions and 54 deletions
|
@ -21,7 +21,7 @@
|
|||
#include <LibCore/FileStream.h>
|
||||
|
||||
namespace Audio {
|
||||
class Buffer;
|
||||
class LegacyBuffer;
|
||||
|
||||
// defines for handling the WAV header data
|
||||
#define WAVE_FORMAT_PCM 0x0001 // PCM
|
||||
|
@ -30,7 +30,7 @@ class Buffer;
|
|||
#define WAVE_FORMAT_MULAW 0x0007 // 8-bit ITU-T G.711 µ-law
|
||||
#define WAVE_FORMAT_EXTENSIBLE 0xFFFE // Determined by SubFormat
|
||||
|
||||
// Parses a WAV file and produces an Audio::Buffer.
|
||||
// Parses a WAV file and produces an Audio::LegacyBuffer.
|
||||
class WavLoaderPlugin : public LoaderPlugin {
|
||||
public:
|
||||
explicit WavLoaderPlugin(StringView path);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue