/* move all this setup out later */
int samples_per_partition=info->grouping;
int possible_partitions=info->partitions;
- int end=(info->end<vb->pcmend?info->end:vb->pcmend);
+ int end=(info->end<vb->pcmend/2?info->end:vb->pcmend/2);
int n=end-info->begin;
if(n>0){
/* move all this setup out later */
int samples_per_partition=info->grouping;
int possible_partitions=info->partitions;
- int end=(info->end<vb->pcmend?info->end:vb->pcmend);
+ int end=(info->end<vb->pcmend/2?info->end:vb->pcmend/2);
int n=end-info->begin;
if(n>0){
int samples_per_partition=info->grouping;
int possible_partitions=info->partitions;
int partitions_per_word=look->phrasebook->dim;
- int end=(info->end<vb->pcmend?info->end:vb->pcmend);
+ int end=(info->end<vb->pcmend/2?info->end:vb->pcmend/2);
int n=end-info->begin;
if(n>0){
/* move all this setup out later */
int samples_per_partition=info->grouping;
int partitions_per_word=look->phrasebook->dim;
- int end=(info->end<vb->pcmend?info->end:vb->pcmend);
+ int end=(info->end<vb->pcmend/2?info->end:vb->pcmend/2);
int n=end-info->begin;
if(n>0){
/* move all this setup out later */
int samples_per_partition=info->grouping;
int partitions_per_word=look->phrasebook->dim;
- int end=(info->end<vb->pcmend?info->end:vb->pcmend);
+ int end=(info->end<vb->pcmend/2?info->end:vb->pcmend/2);
int n=end-info->begin;
if(n>0){