Re: How does struct snd_pcm_hardware relate to the actual hardware

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

 



On Wed, Jun 30, 2010 at 05:32:41PM -0400, Adam Rosenberg wrote:

> The audio is not being placed into the DMA buffer properly.  The audio
> plays faster than it should and has a constant stutter.  I have read
> the "writing an ALSA driver" guide multiple times but it does not
> explain the relationship between struct snd_pcm_hardware,
> snd_pcm_period_elapsed, and the copy callback clearly enough for me to
> understand what I am doing wrong.

You probably want to provide a little more detail on how you're parsing
the data in your DMA driver here...  The simplest thing when debugging
problems like this is often to place obviously tracable test data into
the audio stream (eg, all but one channel zero) and then work through
where the data ends up compared to where it ought to end up.

Note also that ASoC doesn't do anything explicit to support substreams,
which aren't in themselves ASoC specific.
_______________________________________________
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