Showing the changes to python (1 of 1 file). Show all
Unified · Split
| @@ -24,7 +24,18 @@ class cvec: · 23 unmodified lines | |||
| 24 | def __del__(self): | 24 | def __del__(self): |
| 25 | del_cvec(self()) | 25 | del_cvec(self()) |
| 26 | def get(self,pos,chan): | 26 | def get(self,pos,chan): |
| 27 | return fvec_read_sample(self(),chan,pos) | 27 | return cvec_read_norm(self(),chan,pos) |
| 28 | |||
| 29 | """ | ||
| 30 | cvec_write_norm(cvec_t *s, smpl_t data, uint_t channel, uint_t position); | ||
| 31 | cvec_write_phas(cvec_t *s, smpl_t data, uint_t channel, uint_t position); | ||
| 32 | cvec_read_norm (cvec_t *s, uint_t channel, uint_t position); | ||
| 33 | cvec_read_phas (cvec_t *s, uint_t channel, uint_t position); | ||
| 34 | cvec_put_norm_channel(cvec_t *s, smpl_t * data, uint_t channel); | ||
| 35 | cvec_put_phas_channel(cvec_t *s, smpl_t * data, uint_t channel); | ||
| 36 | cvec_get_norm_channel(cvec_t *s, uint_t channel); | ||
| 37 | cvec_get_phas_channel(cvec_t *s, uint_t channel); | ||
| 38 | """ | ||
| 28 | 39 | ||
| 29 | class sndfile: | 40 | class sndfile: |
| 30 | def __init__(self,filename,model=None): | 41 | def __init__(self,filename,model=None): |