libsigrok/hardware/alsa
Uwe Hermann 4afdfd4628 Add and use std_session_send_df_header().
This is a small helper function which sends the SR_DF_HEADER packet that
drivers usually emit in their hw_dev_acquisition_start() API callback.
It simplifies and shortens the hw_dev_acquisition_start() functions
quite a bit.

It also simplifies the input modules which send an SR_DF_HEADER packet, too.

This patch also automatically removes some unneeded malloc/free in some
drivers for the 'packet' and 'header' structs used for SR_DF_HEADER.
2013-02-07 10:46:28 +01:00
..
Makefile.am alsa: Split into api.c and protocol.c 2012-12-23 17:25:37 +01:00
api.c Add and use std_session_send_df_header(). 2013-02-07 10:46:28 +01:00
protocol.c Always interleave analog data with all enabled probes. 2013-01-23 03:40:44 +01:00
protocol.h alsa: Cosmetics, coding style, typos. 2013-01-01 00:37:17 +01:00