problems about dummy alsa driver

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi all ,


I've written an ALSA driver(only support 8K sample rate), which register two 

dummy sound cards.The main function of this driver is to exchange audio data 

of that two dummy sound cards. In other words , the driver route audio data of 

dummy sound card (PLAYBACK) to the other (CAPTURE),and vice versa.   

And I've written some test programs based on my ALSA driver . When the sample 

rate in application is set to be 8K , the driver work well. But when requiring  

rate conversion , the driver can't get any data. And , when tracing the code of 

alsa-lib (1.0.23), I found that :

     In case of rate conversion, It mmap an address from my driver, but writing 

data to another address instead of that mmaped address.

I think this is why my driver don't get any audio data. But I don't know why it 

don't write audio data to that mmaped address.

I am looking forward to your reply. And any advices will help me a lot.

Thank you,
longer zhou

_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxx
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel


[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux