MCPcopy Create free account
hub / github.com/SFML/SFML / getSamples

Method getSamples

src/SFML/Audio/SoundBuffer.cpp:188–191  ·  view source on GitHub ↗

///////////////////////////////////////////////////////

Source from the content-addressed store, hash-verified

186
187////////////////////////////////////////////////////////////
188const std::int16_t* SoundBuffer::getSamples() const
189{
190 return m_samples.empty() ? nullptr : m_samples.data();
191}
192
193
194////////////////////////////////////////////////////////////

Callers 2

readMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected