Thank you to anyone who has already donated - your generous donations helped make three months of treatment possible.

My brother Nate continues to fight stage IV Hodgkin's lymphoma. He's just 31, with a wife and baby girl. They have no active income (since he's been unable to return to work), no insurance, and cannot afford the treatment he needs. Nate and his family need your help. Please consider a donation, every dollar helps. Thanks.


1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
--- transfer in progress (rec_dma_transfer_size = 4096) ---

1/ thread A : pcm_rec_lock()

2/ DMA interrupt -> rec_dma_callback
    rec_dma_size -= 4096
    rec_dma_start_addr -= 4096
    mono2stereo(rec_dma_start_addr)
    //locked
      --> rec_callback_pending = is_recording = true;
      --> return // no transfer of recorded PCM until pcm_rec_unlock() is called

3/ thread A : pcm_rec_unlock()
  // rec_callback_pending == true
    --> rec_dma_callback
      rec_dma_size -= 4096
      rec_dma_start_addr -= 4096
      --> wrong, we already did that