root/trunk/libfreebob/ChangeLog

Revision 188, 17.0 kB (checked in by wagi, 18 years ago)

2006-05-04 Daniel Wagner <wagi@monom.org>

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