Update C++ to v20

Using span inside renderers
This commit is contained in:
Melefo
2021-02-11 09:43:58 +01:00
parent 6a063a40bf
commit ed188e0e63
10 changed files with 11 additions and 15 deletions
+1 -1
View File
@@ -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.