[alsa-devel] Question about the buffer length in the transfer callback of the PCM External Plugin

Clemens Ladisch clemens at ladisch.de
Thu Nov 3 15:44:29 CET 2016


I mean, what is that thing that you're interfacing ALSA with?
Obviously, it somehow generates samples, but how exactly?


Regards,
Clemens

Bach, Andrea wrote:
> Mmh - I get them from the buffer argument of the transfer callback of the PCM external plugin.
> I do not have a second source... maybe I missed the "main thing" so is there an example of a PCM external plugin I can look at?
>
> Thank you
> Andrea
>
>> how can I wait inside the transfer callback until the next bytes are available...
>
> That depends on where you get the bytes from.
>
>
> Regards,
> Clemens
> DFS Deutsche Flugsicherung GmbH
> Am DFS-Campus
> D - 63225 Langen
>
> Tel.: +49-(0)6103-707-0
>
> Sitz der Gesellschaft: Langen/Hessen
> Zuständiges Registergericht: AG Offenbach am Main, HRB 34977
> Vorsitzende des Aufsichtsrats: Dr. Martina Hinricher
> Geschäftsführer: Prof. Klaus-Dieter Scheurle (Vors.), Robert Schickling, Dr. Michael Hann
>
> Internet: http://www.dfs.de
> Public-Key der DFS: http://www.dfs.de/dfs/public_key.asc



More information about the Alsa-devel mailing list