Mutex (3)

Selection_084

Sound::asound_read() writes audio samples into audio_signal[] by incrementing the write pointer signal_end, while MyDrawingAreaS::on_draw() also modifies the write pointer when it shifts down the bulk of data in audio_signal[].