mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 13:47:35 +00:00
Everywhere: rename 'Sample' type to 'Frame'
Because it's what it really is. A frame is composed of 1 or more samples, in the case of SerenityOS 2 (stereo). This will make it less confusing for future mantainability.
This commit is contained in:
parent
f4bd095aa3
commit
0d5e1e9df1
7 changed files with 36 additions and 36 deletions
|
@ -51,7 +51,7 @@ public:
|
|||
bool is_full() const { return m_queue.size() >= 3; }
|
||||
void enqueue(NonnullRefPtr<Audio::Buffer>&&);
|
||||
|
||||
bool get_next_sample(Audio::Sample& sample)
|
||||
bool get_next_sample(Audio::Frame& sample)
|
||||
{
|
||||
if (m_paused)
|
||||
return false;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue