Lines Matching defs:tracks
35 uint32_t sample_rate; /*< Sample rate of the contained tracks. */
37 uint32_t track_count; /*< Number of tracks in the file. */
57 PPBnkCtxTrack *tracks;
138 if (!(ctx->tracks = av_malloc_array(hdr.track_count, sizeof(PPBnkCtxTrack))))
144 PPBnkCtxTrack *trk = ctx->tracks + i;
160 /* The individual sample rates of all tracks must match that of the file header. */
196 (ctx->tracks[0].data_size == ctx->tracks[1].data_size);
217 st->duration = ctx->tracks[i].data_size * 2;
239 trk = ctx->tracks + ctx->current_track;
263 /* Only return stereo packets if both tracks could be read. */
294 av_freep(&ctx->tracks);
309 ctx->tracks[0].bytes_read = 0;
310 ctx->tracks[1].bytes_read = 0;
312 ctx->tracks[stream_index].bytes_read = 0;