8magsvn – Rev

Subversion Repositories:
Rev:
PCSp/home/kaklik/8magsvn/VLF/SW/sidd2/Ix86/sidd2/src/sidd2.cJmˆ›Ž
   stdio.hstdlib.hstring.hsched.herrno.hgetopt.h alsa/asoundlib.hsys/time.hmath.hp/home/kaklik/8magsvn/VLF/SW/sidd2/Ix86/sidd2/src/sidd2.c%vÉÊxÿÿÿÿE¥ç?HMAX_BINS 8p/home/kaklik/8magsvn/VLF/SW/sidd2/Ix86/sidd2/src/sidd2.c
getopt.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¬š¥ø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ö7ÿÿÿÿÿÿÿÿRZargcÿÿÿÿÿÿÿÿ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@H¦ 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 );ÿÿÿÿS¼&voidmainp/home/kaklik/8magsvn/VLF/SW/sidd2/Ix86/sidd2/src/sidd2.cö7ÿÿÿÿÿÿÿÿRZargcÿÿÿÿÿÿÿÿintÿÿÿÿargv[]ÿÿÿÿÿÿÿÿchar**ÿÿÿÿintset_hwparamsp/home/kaklik/8magsvn/VLF/SW/sidd2/Ix86/sidd2/src/sidd2.cJ™ÿÿÿÿÿÿÿÿ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_sframes_tbuffer_timep/home/kaklik/8magsvn/VLF/SW/sidd2/Ix86/sidd2/src/sidd2.c(4 ring buffer length in us unsigned int
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'1ÿÿÿÿ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_sframes_tperiod_timep/home/kaklik/8magsvn/VLF/SW/sidd2/Ix86/sidd2/src/sidd2.c(& period time in us unsigned intq0p/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ÿÿÿÿintverbosep/home/kaklik/8magsvn/VLF/SW/sidd2/Ix86/sidd2/src/sidd2.c verbose flag int