mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 14:17:36 +00:00
Refactor: Replace usages of FixedArray with Array.
This commit is contained in:
parent
76e37e8c96
commit
9c83d6ff46
8 changed files with 52 additions and 54 deletions
|
@ -27,6 +27,7 @@
|
|||
|
||||
#include "MainWidget.h"
|
||||
#include "TrackManager.h"
|
||||
#include <AK/Array.h>
|
||||
#include <LibAudio/ClientConnection.h>
|
||||
#include <LibAudio/WavWriter.h>
|
||||
#include <LibCore/EventLoop.h>
|
||||
|
@ -69,7 +70,7 @@ int main(int argc, char** argv)
|
|||
return 1;
|
||||
}
|
||||
|
||||
FixedArray<Sample> buffer(sample_count);
|
||||
Array<Sample, sample_count> buffer;
|
||||
for (;;) {
|
||||
track_manager.fill_buffer(buffer);
|
||||
audio->write(reinterpret_cast<u8*>(buffer.data()), buffer_size);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue