Lines Matching defs:PAF24_SAMPLES_PER_BLOCK
45 #define PAF24_SAMPLES_PER_BLOCK 10
247 psf->sf.frames = PAF24_SAMPLES_PER_BLOCK * psf->datalength /
350 (PAF24_BLOCK_SIZE + PAF24_SAMPLES_PER_BLOCK * sizeof (int)) ;
365 ppaf24->block = ppaf24->data + PAF24_SAMPLES_PER_BLOCK * ppaf24->channels ;
405 psf->sf.frames = PAF24_SAMPLES_PER_BLOCK * ppaf24->max_blocks ;
426 newblock = offset / PAF24_SAMPLES_PER_BLOCK ;
427 newsample = offset % PAF24_SAMPLES_PER_BLOCK ;
460 return newblock * PAF24_SAMPLES_PER_BLOCK + newsample ;
490 if (ppaf24->read_block * PAF24_SAMPLES_PER_BLOCK > ppaf24->sample_count)
491 { memset (ppaf24->samples, 0, PAF24_SAMPLES_PER_BLOCK * ppaf24->channels) ;
504 for (k = 0 ; k < PAF24_SAMPLES_PER_BLOCK * ppaf24->channels ; k++)
518 { if (ppaf24->read_block * PAF24_SAMPLES_PER_BLOCK >= ppaf24->sample_count)
523 if (ppaf24->read_count >= PAF24_SAMPLES_PER_BLOCK)
526 count = (PAF24_SAMPLES_PER_BLOCK - ppaf24->read_count) * ppaf24->channels ;
643 { for (k = 0 ; k < PAF24_SAMPLES_PER_BLOCK * ppaf24->channels ; k++)
658 for (k = 0 ; k < PAF24_SAMPLES_PER_BLOCK * ppaf24->channels ; k++)
674 if (ppaf24->sample_count < ppaf24->write_block * PAF24_SAMPLES_PER_BLOCK + ppaf24->write_count)
675 ppaf24->sample_count = ppaf24->write_block * PAF24_SAMPLES_PER_BLOCK + ppaf24->write_count ;
677 if (ppaf24->write_count == PAF24_SAMPLES_PER_BLOCK)
690 { count = (PAF24_SAMPLES_PER_BLOCK - ppaf24->write_count) * ppaf24->channels ;
699 if (ppaf24->write_count >= PAF24_SAMPLES_PER_BLOCK)