X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=check_wav.h;h=79b11962baea9b3fe743f08ad68bca6a70e552bc;hp=31417de6e1a4fe9ec2c5b8f996ff6c37ff669398;hb=3d33c9e922243e6f9f716c5a220d10e34bd694b7;hpb=4adde8dae3317fa83b81e7a860c9ed9133e99bb0 diff --git a/check_wav.h b/check_wav.h index 31417de6..79b11962 100644 --- a/check_wav.h +++ b/check_wav.h @@ -1,8 +1,4 @@ -/* - * Copyright (C) 2012 Andre Noll - * - * Licensed under the GPL v2. For licencing details see COPYING. - */ +/* Copyright (C) 2012 Andre Noll , see file COPYING. */ /** \file check_wav.h Detect, process and cut a wav header. */ @@ -29,23 +25,6 @@ struct wav_params { int sample_format_given; }; -/** - * Copy the wav parameters. - * - * \param dst Usually a pointer to struct wav_params. - * \param src Usually a pointer to some args_info struct. - * - * This can not be implemented as a function since the type of the structure - * pointed to by \a src depends on the application. - */ -#define COPY_WAV_PARMS(dst, src) \ - (dst)->channels_arg = (src)->channels_arg; \ - (dst)->channels_given = (src)->channels_given; \ - (dst)->sample_rate_arg = (src)->sample_rate_arg; \ - (dst)->sample_rate_given = (src)->sample_rate_given; \ - (dst)->sample_format_arg = (src)->sample_format_arg; \ - (dst)->sample_format_given = (src)->sample_format_given; - #define LLS_COPY_WAV_PARMS(_dst, _pfx, _lpr) \ (_dst)->channels_given = lls_opt_given(lls_opt_result( \ _pfx ## _OPT_CHANNELS, (_lpr))); \