Commit Graph

13 Commits

Author SHA1 Message Date
R. Bernstein
dbf6d24765 1) cdtext objects are no longer associated with a track but with the disc.
2) - cdio_get_cdtext no longer takes track as an argument
- cdtext_get, cdtext_get_const, cdtext_set require track argument
3) Language, Genre, Genre Code and Encoding Fields are now properly parsed and stored in the cdtext object
4) Added public function cdio_get_cdtext_raw to extract the binary CD-Text
5) Added CDTEXTFILE keyword logic in cue sheet parser. Parses binary/raw CD-Text files
6) Added cdtext_genre2str to convert genre code
7) altered the example programs, test drivers, cdda-player and cd-info to work with these changes
8) Added test case
9) A few smaller changes
A disc either holds CD-Text for all the tracks or does not hold any. Therefore a CD-Text object for the whole disc seems more natural to me. It also enables us to store global fields, like genre, encoding, language.

Patch was tested on GNU/Linux 32 bit running Gentoo.
2011-11-24 20:54:40 -05:00
R. Bernstein
f215cad224 Make sure config.h or the copy of that gets included only once to reduce duplicate include
warnings.
2011-10-20 19:44:10 -04:00
rocky
883e4e4a96 From Thomas Schmitt: in order to preserve the current behavior over
the CAM changes.
2010-05-07 07:59:25 -04:00
R. Bernstein
bd096b3eca FreeBSD read/write and most-recent scsi sense access courtesy of Thomas Schmitt. 2010-01-16 21:02:34 -05:00
R. Bernstein
aa2072de20 Start to add read-write access mode for FreeBSD. Not working yet. 2010-01-07 07:02:20 -05:00
R. Bernstein
e4e600c1d9 Correct cdio_get_devices for FreeBSD. 2010-01-06 12:26:35 -05:00
R. Bernstein
f7d11d586c Start FreeBSD driver test. Not currently working though.
freebsd.cam: check for error in ioctl.
2010-01-06 02:15:32 -05:00
R. Bernstein
273ba31e3a In 0.83git now. Fix minor leaks in libcdio 0.82 detected by cppcheck
via Eric Sesterhenn.
2009-10-27 21:00:51 -04:00
R. Bernstein
603d23949d Perhaps adding a real config.rpath will help some of the iconv problems.
Remove a compiler warning when not compling in FreeBSD.
2009-10-22 22:08:05 -04:00
R. Bernstein
639f1e4f36 Remove dupicated code caused by mixup with existing get-media-changed code. 2009-10-22 05:47:25 -04:00
R. Bernstein
d89c2206c4 NEWS: update what's up
lib/driver/Makefile.am: increment library number
lib/driver/FreeBSD/*: FreeBSD get_media_changed fixes for ioctl.
2009-10-21 10:17:33 -04:00
rocky
13245c6a55 Patch from John Wehle:
A side effect of opening the cdrom device on FreeBSD is it
locks the drive.  This makes cdio_get_media_changed less
useful and prevents you from being able to switch disks
when using things such as the audacious media player.

This patch simply unlocks the drive right after it's opened
prior to opening the cam passthrough device.
2009-04-23 03:26:00 -04:00
R. Bernstein
95f087cdc3 First commit after CVS conversion. Should be just administrative changes. 2008-11-29 00:56:26 -05:00