pcm/Buffer: use std::byte
This commit is contained in:
parent
ec195acf4f
commit
302a571367
@ -6,7 +6,7 @@
|
|||||||
|
|
||||||
#include "util/ReusableArray.hxx"
|
#include "util/ReusableArray.hxx"
|
||||||
|
|
||||||
#include <cstdint>
|
#include <cstddef>
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Manager for a temporary buffer which grows as needed. We could
|
* Manager for a temporary buffer which grows as needed. We could
|
||||||
@ -14,7 +14,7 @@
|
|||||||
* would put too much stress on the allocator.
|
* would put too much stress on the allocator.
|
||||||
*/
|
*/
|
||||||
class PcmBuffer {
|
class PcmBuffer {
|
||||||
ReusableArray<uint8_t, 8192> buffer;
|
ReusableArray<std::byte, 8192> buffer;
|
||||||
|
|
||||||
public:
|
public:
|
||||||
void Clear() noexcept {
|
void Clear() noexcept {
|
||||||
|
Loading…
Reference in New Issue
Block a user