aligned buffer

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

 



Hi guys,
I don't know if this is the right place to ask or if alsa-dev could be
a better place.
Anyway, I'm working on a SoC and trying to fix a problem of audio
corruption. Apparently this SoC requires that all the data written
into the DMA memory is aligned to 64bytes (actually it requires a
block of data as following: 32bytes for the right channel followed by
32bytes for the left channel). When I write into the DMA memory a
buffer that it is not aligned, i have audio corruption. The problem is
that from user-space sometimes I get buffer of data that is not
aligned to the 64bytes (sometimes the buffer is even smaller). So my
question is: is there any way to enforce the user-space to send a
buffer of data that is multiple of 64bytes?

Thanks,

-- 
Carlo Caione

------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk
_______________________________________________
Alsa-user mailing list
Alsa-user@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/alsa-user




[Index of Archives]     [ALSA Devel]     [Linux Audio Users]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]

  Powered by Linux