Commit Graph

41 Commits

Author SHA1 Message Date
a0b8683656 Use a standard type rather than TagLib::uint.
This won't break the ABI compatibility.
2015-12-03 02:15:41 +09:00
085a0ef298 Use a standard type rather than TagLib::ulong.
This won't break the ABI compatibility.
2015-12-03 00:03:06 +09:00
dcc0fe553c Use a standard type rather than TagLib::ushort.
This won't break the ABI compatibility.
2015-12-02 18:59:45 +09:00
8bdddaabce Use a standard type rather than TagLib::uchar.
This won't break the ABI compatibility.
2015-12-02 18:11:52 +09:00
d97292c593 Amend some comments refer to the 'offset_t' type. It no longer exists. 2015-12-02 11:36:54 +09:00
8c6fe45453 Avoid using String::null where an empty string is required.
String::null is not necessarily be empty or remains the same instance.
Using it in a public header may lead to a linkage error.
2015-11-20 22:21:47 +09:00
6e6e11f21a Use List::isEmpty() rather than size() to check if the list is empty.
std::list::empty() is guaranteed to be an O(1) operation.
2015-11-18 16:57:41 +09:00
78c70cf5bb MOD: AudioProperties improvements
Add lengthInSeconds(), lengthInMilliseconds() properties. (always return 0)
2015-06-18 18:03:53 +09:00
d4b0ba2a7a TagLib::XM::Properties is a public class that should be exported 2015-05-20 15:18:01 -07:00
2971891c69 Reduce useless detach operations by making some non-const iterators const. 2014-08-21 16:35:35 +09:00
9e94f8bb6c Changed XM::File::save() to use seek() properly. 2014-02-14 19:22:53 +09:00
418a6c79cb Comment update: Added some supplementary explanations and fixed some spellings. 2013-06-23 02:08:10 +09:00
f77a84486e Fixed comments for File constructors 2013-05-30 02:04:10 +09:00
6b9ef6421f Fixed indents 2012-10-11 22:10:19 -04:00
d15c8453ac Added check if file is open before attempting to read tags 2012-10-11 21:20:03 -04:00
2d7414733e Crash when saving xm files (fixes #68) 2012-09-30 15:42:16 +02:00
f11b206fe8 Do not delete the IOStream object in TagLib::File 2012-09-06 19:43:52 +02:00
3bc123aed6 - Disambiguate uint and ushort references 2012-07-15 01:57:53 -04:00
06597123b8 Remove trailing whitespace 2012-04-19 13:09:45 +03:00
de51307de7 Added lots of missing includes 2012-02-15 21:54:19 +01:00
8a8e9b702c Ported xm. 2012-02-14 21:35:50 +01:00
0eaf3a3fbd Implemented dict interface for more formats.
Now supported: MOD files (IT, MOD, S3M, XM), RIFF files
(AIFF, WAV), TrueAudio, WavPack.
2011-11-02 21:02:35 +01:00
0730076a0f Merge remote-tracking branch 'gperks/master'
Conflicts:
	taglib/asf/asfpicture.cpp
	taglib/it/itproperties.h
2011-07-28 19:03:46 +02:00
4795831b4a Fix spelling / formatting in comments. 2011-07-27 23:06:06 +02:00
8b647e5fa7 Fix for VS2010 which had been throwing out "cannot access protected member declared in class 'TagLib::Mod::Properties'" errors. 2011-07-26 21:45:32 -05:00
f3447ae38d style fixes for enum value names 2011-06-25 01:54:22 +02:00
89861cf77a style fixes: { on same line with if/else/for 2011-06-25 01:10:19 +02:00
9c27c45eb8 IT: strings require term. NUL. mod files: tableLength -> lengthInPatterns
Also added enums for S3M/IT/XM flags.
2011-06-24 01:11:10 +02:00
7236ef4d0f S3M+IT: fix reading, IT: untested support for message writing
IT: reading was off starting with global volume because of wrong read size.
S3M+IT: correctly read the number of used patterns.
IT: fixed reading of message tag and implemented writing of message tag
(not tested yet).

I also added S3M+IT test files. TODO: Unit tests using them.
2011-06-23 05:41:23 +02:00
aeb528ade2 XM: forgot smaple count 2011-06-20 02:31:17 +02:00
6afb7c04b3 comment writing support and more tests for mod and xm 2011-06-19 04:27:51 +02:00
a31b0bcf8c xm: no \n too much in comment if there are no samples 2011-06-18 03:38:18 +02:00
5ad69f6f2a fixed mod property names and added unit test for xm 2011-06-18 03:31:49 +02:00
eec5e33e0d added check for readOnly in save methods 2011-06-14 15:34:16 +02:00
f75f5ac9bb added .mod file support 2011-06-14 03:47:08 +02:00
812826fe3a Mod::File -> Mod::FileBase 2011-06-14 01:47:07 +02:00
3192334006 more indentation fixes 2011-06-14 01:30:54 +02:00
9b2bb4af34 code formatting fixes 2011-06-14 01:18:38 +02:00
54e9656474 converted tabs to spaces 2011-06-14 01:09:55 +02:00
f6dbd32ed3 refactored for ABI compat and write support of some tags of s3m/it/xm files
tags that can be written:
 * s3m: title
 * it: title
 * xm: title, trackerName
2011-06-14 00:46:23 +02:00
5332fb5cf8 added read-only support for s3m, it and xm 2011-06-13 03:19:21 +02:00