mirror of
https://github.com/zoriya/ComSquare.git
synced 2026-06-04 10:44:37 +00:00
Update C++ to v20
Using span inside renderers
This commit is contained in:
@@ -57,7 +57,7 @@ namespace ComSquare::Renderer
|
||||
//! @brief Playing all samples from buffer
|
||||
//! @param samples Buffer containing samples
|
||||
//! @param sampleCount number of samples inside buffer
|
||||
void playAudio(int16_t *samples, uint64_t sampleCount) override;
|
||||
void playAudio(std::span<int16_t> samples, uint64_t sampleCount) override;
|
||||
//! @brief Get the inputs from the Window
|
||||
void getEvents();
|
||||
//! @brief Use this function to create the window.
|
||||
|
||||
Reference in New Issue
Block a user