On Thu, Jun 22, 2023 at 07:43:11PM +0200, Michael Niedermayer wrote: > On Thu, Jun 22, 2023 at 06:09:47PM +0200, Anton Khirnov wrote: [...] > > 3) sdr_read_header() and sdr_read_packet() are giant, hideous, and > > unreadable. > > I disagree that they are hideous and unreadable. In fact its largely just > setting up the hw in sdr_read_header() and thats very close to what the > libsoapy example code does. > > But ill see if it can be split a bit. Ill include some cleanup, comments and factorization in V3. Please give me feedback if that is what you had in mind or if it was something else thx [...] -- Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB He who knows, does not speak. He who speaks, does not know. -- Lao Tsu