root/branches/freebob-syt-experiments/ChangeLog

Revision 194, 17.8 kB (checked in by pieterpalmers, 18 years ago)

- code cleanup in the streaming part.
- calculate ISO connection parameters instead of user-supplying them
- SSE code improvement

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
Line 
1 2006-05-12  Pieter Palmers  <pieterpalmers@users.sourceforge.net>
2         * src/libfreebobstreaming/*:
3         - Code cleanup
4         - Improved SSE code
5         - ISO connection parameters are calculated instead of being user
6           specified. Note: you need a new jackd backend version due to this.
7        
8         * configure.ac: Version bumped to 0.8.2
9
10 2006-05-06  Daniel Wagner  <wagi@monom.org>
11
12         * This patch fixes two issues when building:
13         - libfreebob include files aren't found when build dir != source dir
14         - some libraries aren't found when they're not in a system install dir
15
16         Jeremy Kerr
17
18 2006-05-04  Pieter Palmers  <pieterpalmers@users.sourceforge.net>
19
20         * configure.ac: Version bumped to 0.8.1
21
22         * Introduced SSE-accellerated packet encoders/decoders
23
24 2006-05-04  Daniel Wagner  <wagi@monom.org>
25
26         * configure.ac: Version bumped to 0.8.0
27
28         * Discovering code ported stable 0.2.0 version
29         to head and activated for default discovering.
30
31 2006-05-04  Daniel Wagner  <wagi@monom.org>
32
33         * configure.ac: Version bumped to 0.7.2
34
35         * src/bebob: Some cleanup on naming and
36         namespaces.
37
38 2006-05-03  Daniel Wagner  <wagi@monom.org>
39
40         * configure.ac: Version bumped to 0.7.1
41
42         * Fixed bug in SignalSource command which
43         prevented one to set the samplerate.
44
45 2006-04-23  Daniel Wagner  <wagi@monom.org>
46
47         * configure.ac: Version bumped to 0.7.0
48
49         * Abstract interface IAvDevice introduced.
50         * BeBoB device discovering code moved into bebob directory.
51         * Bounce device added.
52
53 2006-04-17  Daniel Wagner  <wagi@monom.org>
54
55         * configure.ac: Version bumped to 0.6.4
56
57         * src/libfreebobavc/avc_generic.cpp (serialize): Decode subunit_type
58         and subunit_id field.
59         (fire): avc1394_transaction_block2 inteface change update.
60         * src/libfreebobavc/ieee1394service.cpp (transactionBlock): Likewise.
61         * src/libfreebobavc/ieee1394service.h: Likewise.
62
63 2006-04-11  Daniel Wagner  <wagi@monom.org>
64
65         * configure.ac: Version bumped to 0.6.3
66        
67         * src/avdevicesubunit.cpp (discoverFunctionBlocks): reformating.
68         (discoverFunctionBlocksDo): Really added a correct
69         bugfix for the reuse of ExtendedSubunitInfoCmd.
70
71 2006-04-07  Pieter Palmers <pieterpalmers@users.sourceforge.net>
72
73         * src/avdevice.h src/avdevice.cpp: moved the include of stdint.h
74         from the implementation to the header, to fix certain compilation
75         problems wrt uint64_t. This datatype is also used in the class
76         definition in avdevice.h.
77
78 2006-04-05  Pieter Palmers <pieterpalmers@users.sourceforge.net>
79
80         * configure.ac: Version bump to 0.6.2
81
82         * src/freebob.cpp: Retry setting the sample rate if it fails the
83         first time.
84        
85         * src/libfreebobstreaming/*: Added an way to choose for playback
86         or capture only (for ALSA plugin), using the options passed when
87         creating the freebob device.  * src/libfreebobstreaming/*: fixed
88         the bug that prevented playback only operation.
89
90 2006-04-04  Daniel Wagner  <wagi@monom.org>
91
92         * configure.ac: Version bump to 0.6.1
93
94         * src/avdevicesubunit.cpp (discoverFunctionBlocksDo):
95         ExtendedSubunitInfoCmd is not reusable at this point.
96         Moved into its own block so that's initatilialized correctly.
97
98 2006-03-30  Daniel Wagner  <wagi@monom.org>
99
100         * configure.ac: Version bump to 0.6.0
101
102         * src/*: Verbose bool turned int verbose level.
103        
104         * src/libfreebobavc/*: Moved fire implementation to
105         base class (AVCCommand).
106        
107         * libfreebob/freebob.h: freebob_sleep_after_avc_command
108         workaround added.
109
110         * tests/test-freebob.c: Verbose bool turned into verbose level.
111         Workaround: sleep after avc command added.
112
113         * tests/streaming/Makefile.am (*_SOURCES): Added libavc1394 to LDADD.
114         * tests/Makefile.am (*_SOURCES): Likewise.
115        
116         * tests/streaming/teststreaming2.c (fid_in): compiler warning fixed.
117
118 2006-03-20  Daniel Wagner  <wagi@monom.org>
119
120         * configure.ac: Version bump to 0.5.2
121
122         * src/avplug.cpp (discoverStreamFormat): If no stream format information
123         is available or format hierarchy root is not Audio&Music skip plug.
124         (discoverSupportedStreamFormats): Added 'support' for IEC60968-3 (SPDIF transparent)
125
126 2006-03-15  Daniel Wagner  <wagi@monom.org>
127
128         * configure.ac: Version bump to 0.5.1
129        
130         * src/libfreebobavc/avc_extended_plug_info.cpp (fire):
131           Handle NOT_IMPLEMENTED.
132        
133         * src/avplug.h: Input and output plug discovering part
134         fixed. Now connection are correctly handled.
135         * src/avplug.cpp: Likewise.
136         * src/avdevicesubunit.cpp: Likewise.
137
138 2006-03-12  Daniel Wagner  <wagi@monom.org>
139
140         * src/libfreebobavc/ieee1394service.cpp (transactionBlock): Set retry
141         value to 10.
142
143 2006-03-10  Daniel Wagner  <wagi@monom.org>
144
145         * configure.ac: Version bump to 0.5.0
146
147         * src/avdevice.cpp: Plug connection discovering
148         finished.
149         * src/avdevicesubunit.cpp: Likewise.
150         * src/avdevicesubunit.h: Likewise.
151         * src/avplug.cpp: Likewise.
152         * src/avplug.h: Likewise.
153         * src/functionblock.cpp: Likewise.
154         * src/functionblock.h: Likewise.
155        
156         * src/libfreebobavc/Makefile.am: New files added.
157         * src/libfreebobavc/avc_extended_subunit_info.cpp: Likewise.
158         * src/libfreebobavc/avc_extended_subunit_info.h: Likewise
159
160         * src/libfreebobavc/avc_definitions.h: Several small improvements.
161         * src/libfreebobavc/avc_extended_cmd_generic.cpp: Likewise.
162         * src/libfreebobavc/avc_extended_cmd_generic.h: Likewise.
163         * src/libfreebobavc/avc_extended_plug_info.cpp: Likewise.
164         * src/libfreebobavc/avc_generic.cpp: Likewise.
165
166 2006-03-05  Daniel Wagner  <wagi@monom.org>
167
168         * src/avdevice.cpp: Plug connection discovering also on
169         subunits (disabled because missing funciton blocks).
170         Sync connections code cleanup.
171         * src/avdevice.h: Likewise.
172         * src/avdevicesubunit.cpp: Likewise.
173         * src/avdevicesubunit.h: Likewise.
174         * src/avplug.cpp: Likewise.
175         * src/avplug.h: Likewise.
176
177         * src/Makefile.am: Added functionblock.cpp and
178         functionblock.h
179         * src/functionblock.cpp: New file
180         * src/functionblock.h: Likewise.
181
182 2006-03-04  Daniel Wagner  <wagi@monom.org>
183
184         * src/avdevice.cpp: Sync mode discovering improved.
185         * src/avdevice.h: Likewise.
186         * src/avplug.cpp: Likewise.
187         * src/avplug.h: Likewise.
188
189         * tests/test-freebob.c: Added 'odiscover' command which
190         does not print the xml stuff.
191
192         * src/avdevice.cpp: Added 'verbose' argument to constructor
193         and set debug level to DEBUG_LEVEL_VERBOSE if 'verbose'
194         is true, e.g enables verbose mode with '-v' argument passed
195         to test-freebob.
196         * src/avdevice.h: Likewsise.
197         * src/avdevicesubunit.cpp: Likewsise.
198         * src/avdevicesubunit.h: Likewsise.
199         * src/avplug.cpp: Likewsise.
200         * src/avplug.h: Likewsise.
201         * src/devicemanager.cpp: Likewsise.
202         * src/debugmodule/debugmodule.cpp: Likewsise.
203         * src/debugmodule/debugmodule.h: Likewsise.
204         * src/debugmodule/test_debugmodule.cpp: Likewsise.
205        
206         * src/avdevice.cpp: eAP_* renamed into eAPA_*.
207         EAvPlugDirection and EAvPlugType introduced. All PlugAddress:ePD_ and
208         ExtendedPlugInfoPlugTypeSpecificData::eEPIPT_* exchanged with corresponding
209         AvPlug definitions.
210         * src/avdevice.h: Likewise.
211         * src/avdevicesubunit.cpp: Likewise.
212         * src/avdevicesubunit.h: Likewise.
213         * src/avdevicexml.cpp: Likewise.
214         * src/avplug.cpp: Likewise.
215         * src/avplug.h: Likewise.
216
217 2006-03-02  Daniel Wagner  <wagi@monom.org>
218
219         * src/avplug.cpp (discoverStreamFormat): Sanity check turned
220         into warning.
221
222         * configure.ac: bumb minor version to 0.4
223
224         * src/libfreebobavc/avc_extended_cmd_generic.h: plugAddressPlugDirectionToString
225         and plugAddressAddressModeToString added.
226         * src/libfreebobavc/avc_extended_cmd_generic.cpp: Likewise.
227
228         * src/avplug.h: Enum EAvPlugType renamed to EAvPlugAddressType.
229         getPlugAddressType added. getPlugType returns now real plug type.
230         (class AvPlugManager): getPlugByType added.
231
232         * src/avdevice.h: getPlugByType added.
233         * src/avdevice.cpp: Likewise.
234         (discoverSyncModes): Use getPlugByType instead
235         of hardcoded id to find sync plugs.
236
237         * src/devicemanager.h: Verbose argument not in constructor
238         instead in discover method.
239         * src/devicemanager.cpp: Likewise.
240
241         * libfreebob/freebob.h (freebob_discover_devices): Verbose argument
242         added.
243         * src/libfreebobstreaming/freebob_streaming.c: Likewise.
244         * src/freebob.cpp: Likewise.
245         * tests/test-freebob.c: Likewise.
246
247 2006-03-01  Daniel Wagner  <wagi@monom.org>
248
249         * configure.ac: bumb minor version to 0.3
250
251         * src/avdevice.cpp: Discover connections between plugs.
252         * src/avdevice.h: Likewise.
253         * src/avdevicesubunit.cpp: Likewise.
254         * src/avdevicesubunit.h: Likewise.
255         * src/avdevicexml.cpp: Likewise.
256         * src/avplug.cpp: Likewise.
257         * src/avplug.h: Likewise.
258         * src/devicemanager.cpp: Likewise.
259         * src/devicemanager.h: Likewise.
260         * src/freebob.cpp: Likewise.
261
262         * src/libfreebobavc/avc_extended_cmd_generic.cpp: Give
263         return value to caller. New undefined plug address
264         introduced. Handling of response message is more rebust now.
265         * src/libfreebobavc/avc_extended_cmd_generic.h: Likewise.
266         * src/libfreebobavc/avc_extended_plug_info.cpp: Likewise.
267         * src/libfreebobavc/avc_extended_stream_format.cpp: Likewise.
268         * src/libfreebobavc/avc_extended_stream_format.h: Likewise.
269         * src/libfreebobavc/avc_plug_info.cpp: Likewise.
270         * src/libfreebobavc/avc_signal_source.cpp: Likewise.
271         * src/libfreebobavc/avc_signal_source.h: Likewise.
272         * src/libfreebobavc/avc_subunit_info.cpp: Likewise.
273         * src/libfreebobavc/avc_unit_info.cpp: Likewise.
274         * src/libfreebobavc/avc_extended_plug_info.cpp: Likewise.
275         * src/libfreebobavc/avc_extended_stream_format.cpp: Likewise.
276         * src/libfreebobavc/avc_extended_cmd_generic.cpp:
277         * src/libfreebobavc/avc_extended_cmd_generic.h: Likewise.
278
279         * src/libfreebobstreaming/freebob_debug.h: DEBUG is defined through --enable-debug
280         switch.
281
282         * src/libfreebobstreaming/freebob_connections.h: Removed double defined variable
283         if DEBUG is defined.
284
285 2006-02-28  Pieter Palmers <pieterpalmers@users.sourceforge.net>
286         * Added the streaming API that was previously hardcoded into the jackd backend
287           to the library as src/libfreebobstreaming.
288         * Added test programs for the streaming API in tests/streaming
289
290 2006-02-26  Daniel Wagner  <wagi@monom.org>
291
292         * src/avdevice.cpp: Some more refactoring (m_isoInputPlugs and m_isoOutputPlugs
293         unified into m_isoPlugs). Discovering of unit external plugs.
294         * src/avdevice.h: Likewise.
295         * src/avdevicexml.cpp: Likewise.
296         * src/avdevicesubunit.cpp: Likewise.
297         * src/avdevicesubunit.h: Likewise.
298         * src/avplug.cpp: Likewise.
299         * src/avplug.h: Likewise.
300
301         * src/libfreebobavc/avc_extended_cmd_generic.h (class UnitPlugAddress):
302         ePT_Unknown enum added.
303
304 2006-02-22  Daniel Wagner  <wagi@monom.org>
305
306         *  configure.ac
307         src/Makefile.am
308         src/avdevice.cpp
309         src/avdevice.h
310         src/avdevicesubunit.cpp
311         src/avdevicesubunit.h
312         src/avdevicexml.cpp
313         src/avplug.cpp
314         src/avplug.h
315         src/avplugxml.cpp
316         src/libfreebobavc/avc_extended_plug_info.cpp
317         src/libfreebobavc/avc_extended_plug_info.h
318         src/libfreebobavc/avc_extended_stream_format.cpp
319         src/libfreebobavc/avc_extended_stream_format.h
320         src/libfreebobavc/avc_plug_info.cpp
321         src/libfreebobavc/avc_plug_info.h:
322         Refactoring: plug discovering is now part of AvPlug
323         instead of AvDevice.
324         All plugs of music and audio subunit are now also
325         discovered.
326         libfreebobavc: Copy constructor added.
327
328         The overhaul is not finished. This is the first
329         version which works again.
330
331 2006-01-19  Daniel Wagner  <wagi@monom.org>
332
333         * This patch cleans up the external dependency detection for
334         libfreebob. At present, building libfreebob is not possible
335         if libraries are outside the system include/library paths
336         (ie /usr/ and /usr/local). Use the results of pkg-config to
337         specify the correct paths to the automake system.
338
339         Becuase we're using pkgconfig, there's no real need to use
340         AC_CHECK_LIB or AC_CHECK_HEADERS. However, these could
341         potentially be reinstated, but need to be fixed to check in
342         the locations specified by pkgconfig.
343
344         * It is not currently possible to build freebob in a directory
345         outside the source dir (ie, builddir != srcdir). This patch
346         fixes the include paths to allow this. (it's handy for keeping
347         the source tree clean, or when building on multiple architectures
348         - I use a build dir of $srcdir/obj-$arch-$os)
349
350         Both patches are written by Jeremy Kerr <jk@ozlabs.org>
351
352 2006-01-12  Daniel Wagner  <wagi@monom.org>
353
354         * src/avdevice.cpp: Include stdint.h.
355         Some compilers seem to need the definitions.
356
357 2006-01-08  Daniel Wagner  <wagi@monom.org>
358
359         *  libfreebob/freebob.h
360         libfreebob/xmlparser.h
361         src/avdevice.cpp
362         src/xmlparser.c
363         tests/test-freebob.c:
364         Add stream format info support.
365
366         * src/avdevice.h
367         src/avdevice.cpp:
368         Refactoring and code duplication removal.
369        
370         * src/avdevice.cpp (getModelName):
371         Return model name and not vendor name.
372         (getVendorName):
373         Return vendor name and not model name.
374         (discoverStep10Plug): Implementation added.
375         (enumerateSubUnits): max_subunit_id removed.
376         (addXmlDescription): Add stream format infos.
377
378         * src/avdevice.h: discoverStep10 added.
379         Renaming of addPlugToXmlDescription to addXmlDescriptionPlug.
380         ESampleRate to ESamplingFrequency changes.
381
382         * src/avplug.cpp (getSampleRate):
383         Use convertESamplingFrequency instead of
384         local implementation.
385
386         * src/avplug.h:
387         ESampleRate to ESamplingFrequency changes.
388         Added FormatInfo struct.
389
390         * src/devicemanager.cpp (getXmlDescription):
391         Print GUID correctly.
392
393         * src/freebob.cpp (parseSampleRate):
394         Moved to avc_definitions.cpp
395
396         * src/libfreebobavc/avc_definitions.h
397         src/libfreebobavc/avc_definitions.cpp:
398         Renamed ESampleRate back to ESamlingFrequency.
399         Added connvert functions for ESamplingFrequency.
400
401         * configure.ac: New micro version.
402
403 2006-01-06  Daniel Wagner  <wagi@monom.org>
404
405         * tests/test-freebob.c (main): setsamplerate on all
406         devices takes now the samplerate argument.
407
408         * src/freebob.cpp (freebob_set_samplerate): After setting
409         sampling rate rediscover devices.
410
411         * src/devicemanager.cpp (discover): Clear vector as well after
412         delete all elements. Cout and cerr replaced with debugModule.
413
414         * src/avdevice.cpp (discoverStep8): Skip sync plug.
415         (discoverStep9): Sanity check fixed and reenabled.
416
417         * configure.ac: New micro version.
418
419         * src/avdevice.h
420         src/avdevice.cpp (setSampleRate): Implementation added.
421
422         * src/devicemanager.cpp
423         src/devicemanager.h (getAvDevice): New functions
424         (setNodeSampleFrequency): removed.
425
426         * src/freebob.cpp (parseSampleRate): New function.
427         (freebob_set_samplerate): Use AvDevice directly
428         for setting samplerate.
429
430         * src/libfreebobavc/avc_definitions.h
431         src/libfreebobavc/avc_definitions.cpp: Changed ESampleFrequency
432         to ESampleRate.
433
434         * tests/test-freebob.c: Info added about OPERATION arguments.
435         Parse sample rate for setsamplerate command.
436         Let emacs reindent code. Sorry Pieter :)
437
438 2006-01-04  Daniel Wagner  <wagi@monom.org>
439
440         * tests/test-extplugcmd.cpp: Changed test application
441         to use PlugType and PlugName command for testing.
442
443         * src/libfreebobavc/avc_extended_plug_info.cpp (serialize):
444         The string.length() thing did not work as expected. A workaround
445         added which converts the C++ string into a C string before strlen
446         is used.
447
448 2006-01-03  Daniel Wagner  <wagi@monom.org>
449
450         * src/devicemanager.cpp (discover): If config rom initializing
451         failes just skip this device. The PHY might be in power safe
452         mode and then there is no config rom to be discovered.
453
454 2006-01-02  Pieter Palmer <pieterpalmers@users.sourceforge.net>
455
456         * tests/test-freebob.c: Added support for scanning the whole bus.
457         Added xmldump operation to dump an XML description of the FW bus.
458
459         * src/freebob.cpp src/freebob.h: Added freebob_print_xml_description
460         to print an XML description of the bus.
461         Added freebob_node_is_valid_freebob_device().
462         Added freebob_get_nb_devices_on_bus().
463         Added freebob_get_device_node_id().
464         Added freebob_set_samplerate() as a dummy (unimplemented)
465
466         * src/libfreebobavc/avc_connect.cpp
467         src/libfreebobavc/avc_extended_stream_format.cpp
468         src/libfreebobavc/avc_extended_stream_format.h
469         src/libfreebobavc/avc_plug_info.cpp
470         src/libfreebobavc/avc_signal_source.cpp
471         src/avcdevice.cpp
472         src/avdevice.h
473         src/avplug.cpp
474         src/avplug.h
475         src/devicemanager.cpp
476         src/devicemanager.h:
477         Fixed NodeId bug.
478         Commented out sanity check that failed for midi channels.
479         Fixed Dimension bug.
480         Increased all "XXX random length" requests.
481         Made a mess of clean code ;)
482
483         * configure.ac: Bumped library verson
484
485         * src/xmlparser.c
486         tests/test-freeebob.c: Added support to detect & use
487         multiple devices on the bus.
488
489         * src/libfreebobavc/avc_extendec_plug_info.cpp
490         src/configrom.cpp:
491         Some small memory access bugfixes.
492        
493 2006-01-02  Daniel Wagner  <wagi@monom.org>
494
495         * src/avdevice.cpp (discoverStep9): Sanity check: 8 logical
496         midi channel fit into 1 channel.
497
498 2005-12-31  Daniel Wagner  <wagi@monom.org>
499
500         * src/debugmodule/debugmodule.h: debugFatal, debugError
501         and debugWarning declaration always declared.
502
503         * src/xmlparser.c (freebob_xmlparse_connection): Parse IsoChannel
504         node.
505
506         * src/freebob.cpp (freebob_print_connection_info): Print all
507         members from connection_spec (IsoChannel and IsMaster).
508
509         * src/avdevice.cpp (addPlugToXmlDescription): Set direction
510         according library interface definition and not according
511         avc model.
512         Add IsoChannel node.
513
514         * configure.ac: Version set to 0.0.2
515
516 2005-12-30  Daniel Wagner  <wagi@monom.org>
517
518         * src/libfreebobavc/avc_extended_stream_format.cpp (fire): Buffer
519         length increased.
520
521         * src/avdevice.cpp (discoverStep9): Error message extended.
522         More debug info added.
523
524         * src/debugmodule/debugmodule.h: Enable debugFatal, debugError and
525         also in the release case.
526
527 2005-12-28  Daniel Wagner  <wagi@monom.org>
528
529         * tests/test-freebob.c (main): Debug info added.
530
531         * src/libfreebobavc/ieee1394service.cpp (initialize): Use
532         raw1394_new_handle_on_port instead of raw1394_new_handle and
533         raw1394_set_port.
534
535         * src/devicemanager.cpp (initialize): After deleteing 1394 service
536         clear also pointer.
537
538         * libfreebob/freebob.h: freebob_direction enum names changed
539         members which jack backed freebob needs to freebob_connection added
540        
541         * configure.ac: Update library version depency.
542
543 2005-12-27  Daniel Wagner  <wagi@monom.org>
544
545         * src/libfreebobavc/avc_extended_plug_info.cpp (serialize):
546         Do cast of the length field to let the compiler know which version
547         of the serializing code it has to take.
548
549 2005-12-26  Daniel Wagner  <wagi@monom.org>
550
551         * Initial check-in and first beta relase 'late x-mass gift'.
552        
553
Note: See TracBrowser for help on using the browser.