Add a cdda_close that doesn't free the p_cdio pointer for those cases

where an application may want to keep that pointer open.

All routines now are distinct from parnaoia routines with suitable
#defines for compatibility.
This commit is contained in:
rocky
2005-01-26 01:03:16 +00:00
parent 266cb9a65d
commit d7b87a6fad
5 changed files with 93 additions and 25 deletions

View File

@@ -90,7 +90,8 @@ main(int argc, const char *argv[])
}
}
cdio_cddap_close(d);
cdio_cddap_close_no_free_cdio(d);
cdio_destroy( p_cdio );
exit(0);
}