os: make Audio_out content filler data arg const

Issue #3264.
This commit is contained in:
Josef Söntgen 2018-11-15 13:11:55 +01:00 committed by Christian Helmuth
parent b9e12d7c23
commit 5ceba11982
1 changed files with 1 additions and 1 deletions

View File

@ -89,7 +89,7 @@ class Audio_out::Packet
* \param data frames to copy in
* \param size number of frames to copy
*/
void content(float *data, Genode::size_t samples)
void content(float const *data, Genode::size_t samples)
{
Genode::memcpy(_data, data, (samples > PERIOD ? PERIOD : samples) * SAMPLE_SIZE);