| 131 | } |
| 132 | |
| 133 | bool 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 | |
| 147 | bool CubebAPI::Stop() |
| 148 | { |
no outgoing calls
no test coverage detected