[alsa-devel] struct timespec as part of kernel/userspace ABI

Tim Cussins timcussins at eml.cc
Fri Mar 13 15:02:21 CET 2015


Hi all,

Like the other ALSA ioctls, the proposed start_at ioctl currently uses 
struct timespec.

A reviewer (of the start_at patchset) has mentioned that communicating 
timespecs across the kernel/userspace boundary requires special 
32bit/64bit compatibility handling (pcm_compat.c). I didn't appreciate 
this :(

Should I follow the same pcm_compat.c pattern for dealing with timespecs 
for the proposed start_at ioctl?

Cheers,
Tim


More information about the Alsa-devel mailing list