Commit Graph

76 Commits

Author SHA1 Message Date
Frédéric Mangano
0e3dfbe381 forbid copy of ogg::Stream and ogg::Decoder
realize they cause serious memory issues
now adding a Stream to the vector doesn't typecheck…
2016-03-01 16:03:11 +01:00
Frédéric Mangano
8364667b4c at least call the new opustags 2.x 2016-03-01 15:52:10 +01:00
Frédéric Mangano
4d9ee3bf88 ogg decoding test, along with an opus sample 2016-03-01 15:49:04 +01:00
Frédéric Mangano
f941464c61 ogg: Decoder and Encoder to use a reference rather than a pointer 2016-03-01 15:01:24 +01:00
Frédéric Mangano
f469d76e62 untested tags rendering routine draft 2016-03-01 14:37:09 +01:00
Frédéric Mangano
acbf99d276 first untested implementation of tags parsing 2016-03-01 14:08:27 +01:00
Frédéric Mangano
fe7f23576a ogg: parse magic number 2016-03-01 13:29:01 +01:00
rr-
c101041bd7 StreamTagsHandler: fix done() for ALL_STREAMS 2016-02-25 10:06:49 +01:00
rr-
e5e7952b89 Improve CompositeTagsHandler::done() 2016-02-25 10:03:58 +01:00
rr-
221c314625 ModificationTagsHandler: small optimization 2016-02-24 23:13:16 +01:00
rr-
7b6ad95b35 Refactor Options to use TagsHandlers; add --stream 2016-02-24 22:14:21 +01:00
rr-
24c2dae49e Add ability to target any stream in TagsHandlers 2016-02-24 22:14:15 +01:00
rr-
02c966bacb Add getters to TagsHandlers for most things 2016-02-24 21:55:48 +01:00
rr-
4f5d33491b RemovalTagsHandler: add ability to delete all tags 2016-02-24 21:38:24 +01:00
rr-
d9f123c84c Add ListingTagsHandler 2016-02-24 21:25:59 +01:00
rr-
a67f8c1472 Change Tags to preserve order of insertion 2016-02-24 21:25:59 +01:00
rr-
d7b187ec59 Remove unused #include 2016-02-24 20:48:26 +01:00
rr-
fca4f81eac Add ModificationTagsHandler 2016-02-24 20:32:03 +01:00
rr-
b362f6565f Add RemovalTagsHandler 2016-02-24 20:18:10 +01:00
rr-
6832cbf3f5 Add InsertionTagsHandler + a place for errors 2016-02-24 20:13:38 +01:00
rr-
2ee7702b9d Add StreamTagsHandler 2016-02-24 20:04:24 +01:00
rr-
aeca60d128 Add CompositeTagsHandler 2016-02-24 20:03:31 +01:00
rr-
1d8d96cdee Use K&R brace style for SECTION macro in tests 2016-02-24 20:03:31 +01:00
rr-
094bed2b35 Make Tags just an string<->string map for now 2016-02-24 19:43:11 +01:00
rr-
b62ac98ca5 Move TagsHandler to own file, make an interface 2016-02-24 19:42:45 +01:00
Frédéric Mangano
12327e6f68 style fixes
missing newlines
nullptr instead of NULL
bracket tweak
2016-02-24 18:15:39 +01:00
rr-
326c164e09 Restyle to K&R 2016-02-24 18:10:03 +01:00
Frédéric Mangano
a84aeaea96 implement most of ogg::Encoder 2016-02-23 14:23:27 +01:00
Frédéric Mangano
8d1ea8d32d implement ogg::Decoder 2016-02-23 13:26:22 +01:00
Frédéric Mangano
ff17d35531 partial implementation of ogg::Stream 2016-02-23 11:21:00 +01:00
Frédéric Mangano
c2d6763e2b implementation of list_tags and edit_tags (actions) 2016-02-23 10:41:27 +01:00
Frédéric Mangano
6baf120a94 more doc in actions.h and ogg.h
example uses
brief description of the states
2016-02-23 10:41:27 +01:00
Frédéric Mangano
f1109dd04f specify the expected behavior of the main loops
in particular, the TagsHandler interface
also, rename the Reader/Writer classes to Decoder/Encoder for clarity
2016-02-22 18:32:54 +01:00
Frédéric Mangano
390c9268a7 use references to ogg_page instead of pointers 2016-02-20 13:55:25 +01:00
Frédéric Mangano
a8a6552f29 sample main loops for ogg manipulation
linking now breaks because the ogg module isn't implemented
2016-02-20 13:35:08 +01:00
Frédéric Mangano
e198b5f9ef first design of the Ogg decoder and encoder 2016-02-20 13:35:08 +01:00
rr-
e474ec8420 Fix libogg linkage 2016-02-20 13:35:08 +01:00
rr-
15c9f187a5 Remove dummy plugs 2016-02-20 13:35:08 +01:00
rr-
3a320a7b39 Add basic option parsing + tests 2016-02-20 13:35:08 +01:00
rr-
5cdcb5457f Add CMake; prepare basic structure
- Added Catch (downloaded automatically by cmake) for unit tests
- Added basic tests/ and src/ directories
- Added basic unit test example. Any changes to files other than main.cc
  in src/ will recompile the relevant tests as needed
- Added CMakeLists that compiles the project using cmake
- Moved the man page to docs/
- Moved old source file to src/
- Since libogg doesn't support cmake based builds, I've added also a
  module in CMakeModules that searches for it, but I haven't tested if
  it works yet...
- Haven't really touched Makefile - I've changed it only to refer to the
  new file locations
2016-02-20 13:35:08 +01:00
Frédéric Mangano
fcd647003b in-place 1.1 2013-01-02 10:59:43 +01:00
Frédéric Mangano
a8e22fb5db remove broken file on failure 2013-01-02 10:21:33 +01:00
Frédéric Mangano
f75e484ebb set-all: do not ignore the last unterminated line 2013-01-02 10:13:41 +01:00
Frédéric Mangano
6f6cf8024b readme: requirements 2013-01-02 10:04:25 +01:00
Frédéric Mangano
f1828d926f sentinel option 2013-01-01 23:35:11 +01:00
Frédéric Mangano
1021b4394d check in before out
so as not to create empty files
2013-01-01 23:31:25 +01:00
Frédéric Mangano
1e138ad00d bump version: 1.1 2013-01-01 23:28:09 +01:00
Frédéric Mangano
7c7f35fc07 BSD3 1.0 2013-01-01 22:51:22 +01:00
Frédéric Mangano
f267a4111a readme 2013-01-01 22:50:25 +01:00
Frédéric Mangano
a5d66ed2fe mention utf-8 2013-01-01 22:41:47 +01:00