| 220 | |
| 221 | |
| 222 | void MxActivateChannel(MixerChannel *mc) |
| 223 | { |
| 224 | uint8_t channel_index = mc - _channels; |
| 225 | _stop_channels.fetch_and(~(1U << channel_index), std::memory_order_release); |
| 226 | _active_channels.fetch_or((1U << channel_index), std::memory_order_release); |
| 227 | } |
| 228 | |
| 229 | /** |
| 230 | * Set source of PCM music |