[alsa-devel] Input/output error while playing a file using aplay
Clemens Ladisch
cladisch at fastmail.net
Tue Jun 26 15:17:58 CEST 2007
Pharaoh . wrote:
> src = omap_get_dma_src_pos(s->lch[s->dma_q_head]);
> offset = src - runtime->dma_addr;
> printk("src is %u and offset is %u\n",dest,offset);
>
> src is 3246792928 and offset is 3304194048
> Returning pos = 20742144
> ALSA sound/core/pcm_lib.c:167: BUG: stream = 0, pos = 0x13c8000, buffer size = 0x4000, period size = 0x800
dma_addr = 0xFC9420E0 (is this correct?)
src = 0xC18620E0
offset = 0xC4F20000
Apparently, the return value of omap_get_dma_src_pos() is wrong.
Should this value be 16 bits?
Regards,
Clemens
More information about the Alsa-devel
mailing list