Replaced &container[0] with container.data() wherever applicable.
This commit is contained in:
parent
1df71a356e
commit
e1d3eff587
22 changed files with 73 additions and 73 deletions
|
@ -89,7 +89,7 @@ private:
|
|||
}
|
||||
|
||||
// Fill audio data to pass to the stream
|
||||
data.samples = &m_tempBuffer[0];
|
||||
data.samples = m_tempBuffer.data();
|
||||
data.sampleCount = m_tempBuffer.size();
|
||||
|
||||
// Update the playing offset
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue