Home
last modified time | relevance | path

Searched refs:tot_trks (Results 1 – 25 of 33) sorted by relevance

12

/dports/audio/discid/freebsd/
H A Ddiscid.c81 unsigned long cddb_discid(int tot_trks) { in cddb_discid() argument
85 while (i < tot_trks) { in cddb_discid()
89 t = ((cdtoc[tot_trks].min * 60) + cdtoc[tot_trks].sec) - in cddb_discid()
91 return ((n % 0xff) << 24 | t << 8 | tot_trks); in cddb_discid()
/dports/audio/p5-Net-FreeDB/Net-FreeDB-0.10/lib/
H A Dlinux.h33 unsigned long cddb_discid(int tot_trks) in cddb_discid() argument
39 while (i < tot_trks) { in cddb_discid()
44 t = ((cdtoc[tot_trks].min * 60) + cdtoc[tot_trks].sec) - in cddb_discid()
46 return ((n % 0xff) << 24 | t << 8 | tot_trks); in cddb_discid()
/dports/audio/mp3c/mp3c-0.31/src/
H A Diocd.c73 unsigned long cddb_discid(int tot_trks);
350 unsigned long cddb_discid(int tot_trks) argument
358 while (i < tot_trks) {
363 t = ((cdtoc[tot_trks].min * 60) + cdtoc[tot_trks].sec) -
369 return ((n % 0xff) << 24 | t << 8 | tot_trks) & 0xffffffff;
/dports/multimedia/kodi/xbmc-19.3-Matrix/xbmc/network/
H A Dcddb.cpp345 uint32_t Xcddb::calc_disc_id(int tot_trks, toc cdtoc[]) in calc_disc_id() argument
349 while (i < tot_trks) in calc_disc_id()
356 t = ((cdtoc[tot_trks].min * 60) + cdtoc[tot_trks].sec) - ((cdtoc[0].min * 60) + cdtoc[0].sec); in calc_disc_id()
358 return ((n % 0xff) << 24 | t << 8 | tot_trks); in calc_disc_id()
/dports/multimedia/mplayer/mplayer-export-2021-12-29/stream/
H A Dstream_cddb.c358 static unsigned long cddb_discid(int tot_trks) in cddb_discid() argument
363 while (i < (unsigned int)tot_trks) { in cddb_discid()
367 t = ((cdtoc[tot_trks].min * 60) + cdtoc[tot_trks].sec) - in cddb_discid()
369 return (n % 0xff) << 24 | t << 8 | tot_trks; in cddb_discid()
/dports/multimedia/mencoder/mplayer-export-2021-12-29/stream/
H A Dstream_cddb.c358 static unsigned long cddb_discid(int tot_trks) in cddb_discid() argument
363 while (i < (unsigned int)tot_trks) { in cddb_discid()
367 t = ((cdtoc[tot_trks].min * 60) + cdtoc[tot_trks].sec) - in cddb_discid()
369 return (n % 0xff) << 24 | t << 8 | tot_trks; in cddb_discid()
/dports/audio/xmcd/xmcd-3.3.2/cdda_d/
H A Dcommon.c139 else for (i = 0; i < (int) s->tot_trks; i++) { in cdda_wr_setcurtrk()
H A Dif_flac.c274 for (i = n = 0; i < (int) s->tot_trks; i++) { in if_flac_addseek_tracks()
530 else for (i = 0; i < (int) s->tot_trks; i++) { in if_flac_addmeta()
H A Dif_vorb.c171 else for (i = 0; i < (int) s->tot_trks; i++) { in if_vorbis_addtags()
H A Dif_faac.c675 (int) s->tot_trks, in if_faac_gencmd()
/dports/audio/mp3c/mp3c-0.31/
H A DCDDB_HOWTO377 return (tot_trks);
398 cddb_discid(int tot_trks)
408 while (i < tot_trks) {
413 t = ((cdtoc[tot_trks].min * 60) + cdtoc[tot_trks].sec) -
416 return ((n % 0xff) << 24 | t << 8 | tot_trks);
421 int tot_trks;
423 tot_trks = read_cdtoc_from_drive();
424 printf("The discid is %08x", cddb_discid(tot_trks));
433 passed a parameter of tot_trks (which is the total number of tracks on
440 tot_trks + 1 "active" elements in the array, the last one being the
[all …]
/dports/audio/xmcd/xmcd-3.3.2/libdi_d/
H A Dfbioc.c563 static int tot_trks = 0; in fbioc_disc_present() local
632 if ((h.ending_track - h.starting_track + 1) != tot_trks) { in fbioc_disc_present()
634 tot_trks = h.ending_track - h.starting_track + 1; in fbioc_disc_present()
638 allocsz = (tot_trks + 1) * sizeof(struct cd_toc_entry); in fbioc_disc_present()
685 if (tot_trks > 1 && a1 == a2) in fbioc_disc_present()
1566 for (i = 1; i < (int) s->tot_trks; i++) { in fbioc_fix_toc()
1662 s->tot_trks = (byte_t) i; in fbioc_get_toc()
2164 i = s->tot_trks - 1; in fbioc_run_ff()
2172 i = s->tot_trks - 1; in fbioc_run_ff()
2302 if (fbioc_next_sam < s->tot_trks) { in fbioc_run_sample()
H A Daixioc.c366 static int tot_trks = 0; in aixioc_disc_present() local
428 if ((t2 - t1 + 1) != tot_trks) { in aixioc_disc_present()
430 tot_trks = t2 - t1 + 1; in aixioc_disc_present()
469 if (tot_trks > 1 && a1 == a2) in aixioc_disc_present()
1350 for (i = 1; i < (int) s->tot_trks; i++) { in aixioc_fix_toc()
1443 s->tot_trks = (byte_t) i; in aixioc_get_toc()
1468 s->tot_trks = (byte_t) i; in aixioc_get_toc()
1963 i = s->tot_trks - 1; in aixioc_run_ff()
1971 i = s->tot_trks - 1; in aixioc_run_ff()
2101 if (aixioc_next_sam < s->tot_trks) { in aixioc_run_sample()
H A Dslioc.c761 static int tot_trks = 0;
850 if ((h.cdth_trk1 - h.cdth_trk0 + 1) != tot_trks) {
852 tot_trks = h.cdth_trk1 - h.cdth_trk0 + 1;
885 if (tot_trks > 1 && a1 == a2)
1855 for (i = 1; i < (int) s->tot_trks; i++) {
1966 s->tot_trks = (byte_t) i;
2528 i = s->tot_trks - 1;
2536 i = s->tot_trks - 1;
2666 if (slioc_next_sam < s->tot_trks) {
H A Dvu_chin.c430 s->tot_trks = (byte_t) i; in chin_get_toc()
H A Dvu_tosh.c335 s->tot_trks = (byte_t) i; in tosh_get_toc()
H A Dvu_nec.c333 s->tot_trks = (byte_t) i; in nec_get_toc()
H A Dvu_hita.c413 s->tot_trks = (byte_t) i; in hita_get_toc()
H A Dvu_pion.c371 s->tot_trks = (byte_t) i; in pion_get_toc()
H A Dvu_pana.c399 s->tot_trks = (byte_t) i;
H A Dvu_sony.c393 s->tot_trks = (byte_t) i; in sony_get_toc()
H A Dscsipt.c2686 for (i = 1; i < (int) s->tot_trks; i++) { in scsipt_fix_toc()
2889 s->tot_trks = (byte_t) i; in scsipt_get_toc()
3314 for (i = 0; i < (int) s->tot_trks; i++) { in scsipt_disc_ready()
3594 i = s->tot_trks - 1; in scsipt_run_ff()
3602 i = s->tot_trks - 1; in scsipt_run_ff()
3732 if (scsipt_next_sam < s->tot_trks) { in scsipt_run_sample()
4726 if (trk >= (int) s->tot_trks) { in scsipt_load_cdtext()
5094 for (i = 0; i < (int) s->tot_trks; i++) { in scsipt_load_cdtext()
/dports/audio/xmcd/xmcd-3.3.2/xmcd_d/
H A Ddbprog.c406 for (i = 0; i < (int) s->tot_trks; i++) { in dbprog_listupd_all()
839 (int) s->tot_trks, in dbprog_extt_autotrk_upd()
1646 for (j = 0; j < (int) s->tot_trks; j++) { in dbprog_credit_ck()
1855 for (i = 0; i < (int) s->tot_trks; i++) { in dbprog_segment_ck()
1873 for (i = 0; i < (int) s->tot_trks; i++) { in dbprog_segment_ck()
3124 (int) s->tot_trks, in dbprog_curtrkupd()
6510 (int) s->tot_trks, in dbprog_extt_prev()
6556 if (n > (int) s->tot_trks) { in dbprog_extt_next()
6571 (int) s->tot_trks, in dbprog_extt_next()
7620 if (i == (int) s->tot_trks) in dbprog_segments_select()
[all …]
/dports/audio/xmcd/xmcd-3.3.2/cda_d/
H A Dcda.c864 for (i = 0; i < (int) s->tot_trks; i++) { in cda_mkoutpath()
1898 for (i = 0; i < (int) s->tot_trks; i++) { in cda_do_play()
1903 if (i >= (int) s->tot_trks) { in cda_do_play()
2185 for (j = 0; j < (int) s->tot_trks; j++) { in cda_do_program()
2190 if (j >= (int) s->tot_trks) { in cda_do_program()
2530 for (i = 0; i < (int) s->tot_trks; i++) { in cda_do_toc()
2586 for (i = 0; i < (int) s->tot_trks; i++) { in cda_do_toc2()
2640 for (i = 0; i < (int) s->tot_trks; i++) { in cda_do_extinfo()
2644 if (i < (int) s->tot_trks) in cda_do_extinfo()
7193 s->tot_trks = id & 0xff; in cda_dbload()
[all …]
/dports/audio/xmcd/xmcd-3.3.2/cdinfo_d/
H A Dcdinfo_x.c235 a = (int) s->tot_trks; in cdinfo_discid()
243 return ((n % 0xff) << 24 | t << 8 | s->tot_trks); in cdinfo_discid()
1117 for (i = 0; i < (int) s->tot_trks; i++) { in cdinfo_load()
1504 for (i = 0; i < (int) s->tot_trks; i++) { in cdinfo_load()
1969 for (i = 0; i < (int) s->tot_trks; i++) { in cdinfo_save_prog()
1974 if (i < (int) s->tot_trks) { in cdinfo_save_prog()
3920 for (i = 0; i < (int) s->tot_trks; i++) { in cdinfo_dump_incore()

12