MCPcopy Create free account
hub / github.com/cemu-project/Cemu / Play

Method Play

src/audio/CubebAPI.cpp:133–145  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

131}
132
133bool CubebAPI::Play()
134{
135 if (m_is_playing)
136 return true;
137
138 if (cubeb_stream_start(m_stream) == CUBEB_OK)
139 {
140 m_is_playing = true;
141 return true;
142 }
143
144 return false;
145}
146
147bool CubebAPI::Stop()
148{

Callers 4

StreamBootSoundMethod · 0.45
micExport_MICOpenFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected