root/trunk/libfreebob/ChangeLog

Revision 186, 16.7 kB (checked in by wagi, 18 years ago)

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

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