DDV, Hello 

1. must close write fd before read fd, otherwise, it will be blocked when 
closing fd.
2. must write data twice before read data from sound card, otherwise, it will 
be blocked during audio data processing.

It can works, but not well :(

jp_liu, [EMAIL PROTECTED]
2006-11-17 
----- Receiving the following content ----- 
From: DDV 
Receiver: davinci-linux-open-source 
Time: 2006-11-15, 08:02:49
Subject: Full duplex audio on DVEVM?


Hello,

>Does anybody have full duplex audio working on the DVEVM?
It is impossible because drivers have logic bug...
I found that it is stop on
wait_for_completion_interruptible(&s->wfc)
because completion s->wfc never complited in some cases. But I cannot determine 
yet why it
is happens.
Among other things I have found that if enable a debug logging in function
audio_stop_dma that a problem disappears. May be problem is happens
when sound_dma_irq_handler resume audio_read by calling complete(&s->wfc)
and right after that it call audio_stop_dma. In this case audio_stop_dma
work simultaneously with audio_read (that do setup dma transfer) and
it can be problem. But i am not sure and i need time to check it.


-- 
Regards,
 DDV mailto:[EMAIL PROTECTED]

_______________________________________________
Davinci-linux-open-source mailing list
[email protected]
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source
_______________________________________________
Davinci-linux-open-source mailing list
[email protected]
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source

Reply via email to