Re: arecord: does hardware or software throw away unused

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

 



So the arecord (and aplay for this matter)'s pointer callback? The writing
ALSA driver user guide says


*This callback is called when the PCM middle layer inquires the current
hardware position on the buffer. The position must be returned in frames,
ranging from 0 to buffer_size - 1. This is called usually from the
buffer-update routine in the pcm middle layer, which is invoked when
snd_pcm_period_elapsed() is called in the interrupt routine. Then the pcm
middle layer updates the position and calculates the available space, and
wakes up the sleeping poll threads, etc.*

"Returned in frames". Does this mean returned in MAX_CHANNELS frames?

On Fri, Sep 2, 2016 at 12:09 AM, Clemens Ladisch <clemens@xxxxxxxxxx> wrote:

> Rob Nertney wrote:
> > I just changed my channels to half of MAX_CHANNELS, and when i play the
> resulting WAV file, my voice is super slow (50% slower, I'd wager)
>
> This sounds like a bug in your driver.
>
>
> Regards,
> Clemens
>
_______________________________________________
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