Lines Matching defs:nb_samples
53 new->duration = f->nb_samples;
68 afq->remaining_samples += f->nb_samples;
75 void ff_af_queue_remove(AudioFrameQueue *afq, int nb_samples, int64_t *pts,
87 av_log(afq->avctx, AV_LOG_WARNING, "Trying to remove %d samples, but the queue is empty\n", nb_samples);
91 for(i=0; nb_samples && i<afq->frame_count; i++){
92 int n= FFMIN(afq->frames[i].duration, nb_samples);
94 nb_samples -= n;
104 if(nb_samples){
108 afq->frames[0].pts += nb_samples;
109 av_log(afq->avctx, AV_LOG_DEBUG, "Trying to remove %d more samples than there are in the queue\n", nb_samples);