8magsvn – Rev

Subversion Repositories:
Rev:
PCSj/home/kaklik/8magsvn/VLF/SW/sidd2/Ix86/sidd2/config.hJmŒp/home/kaklik/8magsvn/VLF/SW/sidd2/Ix86/sidd2/src/sidd2.cJnǨÈj/home/kaklik/8magsvn/VLF/SW/sidd2/Ix86/sidd2/config.h%v× ÿÿÿÿj/home/kaklik/8magsvn/VLF/SW/sidd2/Ix86/sidd2/config.hã§4j/home/kaklik/8magsvn/VLF/SW/sidd2/Ix86/sidd2/config.hÿÿÿÿÿÿÿÿÿÿÿÿ     
stdio.hstdlib.hstring.hsched.herrno.hgetopt.h alsa/asoundlib.hsys/time.hmath.htime.hp/home/kaklik/8magsvn/VLF/SW/sidd2/Ix86/sidd2/src/sidd2.c%v¹@ÿÿÿÿE¥ç?HMAX_BINS 8p/home/kaklik/8magsvn/VLF/SW/sidd2/Ix86/sidd2/src/sidd2.cgetopt.hråÐy alsa/asoundlib.hÆ={gp/home/kaklik/8magsvn/VLF/SW/sidd2/Ix86/sidd2/src/sidd2.c¸o&errno.h›2math.h        ¾N0sched.h®aýstring.h­Æ‰=stdio.h¯Ì¦‰sys/time.h‰cstdlib.h¬š¥øtime.h
_žµp/home/kaklik/8magsvn/VLF/SW/sidd2/Ix86/sidd2/src/sidd2.cÿÿÿÿÿÿÿÿÿÿÿÿ$async_private_datap/home/kaklik/8magsvn/VLF/SW/sidd2/Ix86/sidd2/src/sidd2.cº¾ÿÿÿÿÿÿÿÿ
areasp/home/kaklik/8magsvn/VLF/SW/sidd2/Ix86/sidd2/src/sidd2.c¼¼ÿÿÿÿ.snd_pcm_channel_area_t*periodp/home/kaklik/8magsvn/VLF/SW/sidd2/Ix86/sidd2/src/sidd2.c½½ÿÿÿÿunsigned intsamplesp/home/kaklik/8magsvn/VLF/SW/sidd2/Ix86/sidd2/src/sidd2.c»»ÿÿÿÿsigned short*mainp/home/kaklik/8magsvn/VLF/SW/sidd2/Ix86/sidd2/src/sidd2.cë+ÿÿÿÿÿÿÿÿargcÿÿÿÿÿÿÿÿintÿÿÿÿargv[]ÿÿÿÿÿÿÿÿchar**ÿÿÿÿint,async_capture_callbackp/home/kaklik/8magsvn/VLF/SW/sidd2/Ix86/sidd2/src/sidd2.cÁèH CALL BACK STUFF ///////////////////ÿÿÿÿahandlerÿÿÿÿÿÿÿÿ(snd_async_handler_t*ÿÿÿÿvoidcalc_coeffsp/home/kaklik/8magsvn/VLF/SW/sidd2/Ix86/sidd2/src/sidd2.c>F¦ coef = 2.0 * cos( (2.0 * PI * k) / (float)GOERTZEL_N)) ;
 Where k = (int) (0.5 + ((float)GOERTZEL_N * target_freq) / SAMPLING_RATE));

 More simply: coef = 2.0 * cos( (2.0 * PI * target_freq) / SAMPLING_RATE );ÿÿÿÿvoidmainp/home/kaklik/8magsvn/VLF/SW/sidd2/Ix86/sidd2/src/sidd2.cë+ÿÿÿÿÿÿÿÿargcÿÿÿÿÿÿÿÿintÿÿÿÿargv[]ÿÿÿÿÿÿÿÿchar**ÿÿÿÿintset_hwparamsp/home/kaklik/8magsvn/VLF/SW/sidd2/Ix86/sidd2/src/sidd2.cHÿÿÿÿÿÿÿÿhandleÿÿÿÿÿÿÿÿsnd_pcm_t*ÿÿÿÿparamsÿÿÿÿÿÿÿÿ(snd_pcm_hw_params_t*ÿÿÿÿchannelsÿÿÿÿÿÿÿÿunsigned intÿÿÿÿintset_swparamsp/home/kaklik/8magsvn/VLF/SW/sidd2/Ix86/sidd2/src/sidd2.c‘¸ÿÿÿÿÿÿÿÿhandleÿÿÿÿÿÿÿÿsnd_pcm_t*ÿÿÿÿswparamsÿÿÿÿÿÿÿÿ(snd_pcm_sw_params_t*ÿÿÿÿintbuffer_sizep/home/kaklik/8magsvn/VLF/SW/sidd2/Ix86/sidd2/src/sidd2.c,: size of buffer at sound card"snd_pcm_uframes_t
coefsp/home/kaklik/8magsvn/VLF/SW/sidd2/Ix86/sidd2/src/sidd2.c!!ÿÿÿÿdouble*devicep/home/kaklik/8magsvn/VLF/SW/sidd2/Ix86/sidd2/src/sidd2.c"" playback device 
char*formatp/home/kaklik/8magsvn/VLF/SW/sidd2/Ix86/sidd2/src/sidd2.c3 sample format  snd_pcm_format_t
freqsp/home/kaklik/8magsvn/VLF/SW/sidd2/Ix86/sidd2/src/sidd2.c%/ÿÿÿÿdouble*outp/home/kaklik/8magsvn/VLF/SW/sidd2/Ix86/sidd2/src/sidd2.c##   ÿÿÿÿ
FILE*outputp/home/kaklik/8magsvn/VLF/SW/sidd2/Ix86/sidd2/src/sidd2.c"ÿÿÿÿsnd_output_t*period_eventp/home/kaklik/8magsvn/VLF/SW/sidd2/Ix86/sidd2/src/sidd2.cL produce poll event after each period intperiod_sizep/home/kaklik/8magsvn/VLF/SW/sidd2/Ix86/sidd2/src/sidd2.c+"samples per frame"snd_pcm_uframes_tq0p/home/kaklik/8magsvn/VLF/SW/sidd2/Ix86/sidd2/src/sidd2.c
ÿÿÿÿdoubleq1p/home/kaklik/8magsvn/VLF/SW/sidd2/Ix86/sidd2/src/sidd2.cÿÿÿÿdouble*q2p/home/kaklik/8magsvn/VLF/SW/sidd2/Ix86/sidd2/src/sidd2.cÿÿÿÿdouble*rp/home/kaklik/8magsvn/VLF/SW/sidd2/Ix86/sidd2/src/sidd2.c  ÿÿÿÿdouble*ratep/home/kaklik/8magsvn/VLF/SW/sidd2/Ix86/sidd2/src/sidd2.c  stream rate unsigned intresamplep/home/kaklik/8magsvn/VLF/SW/sidd2/Ix86/sidd2/src/sidd2.c8 enable alsa-lib resampling intsample_countp/home/kaklik/8magsvn/VLF/SW/sidd2/Ix86/sidd2/src/sidd2.cÿÿÿÿint