3856 Commits

Author SHA1 Message Date
Philippe Houdoin
c2c29c32a6 TransportAddOnTemplate.cpp -> PrintTransportAddOnTemplate.cpp
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3774 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev3774
2003-06-30 23:29:42 +00:00
Philippe Houdoin
759b9e0561 TransportAddOn.h -> PrintTransportAddOn.h
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3773 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev3773
2003-06-30 23:26:59 +00:00
Philippe Houdoin
73a06d9625 Renaming TransportAddOn.[cpp|h] into PrintTransportAddOn.[cpp|h] as "Transport" is
not enough explicit.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3772 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev3772
2003-06-30 22:51:42 +00:00
Philippe Houdoin
894c59e0a9 Renaming TransportAddOn.[cpp|h] into PrintTransportAddOn.[cpp|h], as "Transport"
is not enough explicit.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3771 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev3771
2003-06-30 22:35:54 +00:00
Michael Pfeiffer
9bdaa888c9 Bug fix.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3770 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev3770
2003-06-30 20:41:31 +00:00
Michael Pfeiffer
b12f37be21 Added arguments to AddFields
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3769 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev3769
2003-06-30 20:38:21 +00:00
Michael Pfeiffer
6797eb63d7 Added comments.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3768 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev3768
2003-06-30 20:37:37 +00:00
Michael Pfeiffer
979fbdcdbf Also include symbolic links.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3767 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev3767
2003-06-30 20:35:51 +00:00
Michael Pfeiffer
576474a613 Added arguments to function AddFields.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3766 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev3766
2003-06-30 20:34:18 +00:00
Michael Pfeiffer
eeac6d395c The missing header file.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3765 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev3765
2003-06-30 20:33:13 +00:00
beveloper
b5a088d01f avoid creation of loopback connections
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3764 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev3764
2003-06-30 16:21:01 +00:00
beveloper
af8d0a4d4e Fixed the input buffer looping bug that existed if an input wouldn't receive new buffers. Now kips inputs that have no available data.
When no input is connected, use a fast path for sending an empty buffer.
No more debugging output when DEUBG < 1


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3763 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev3763
2003-06-30 15:45:37 +00:00
Philippe Houdoin
4a87eedfcc Give (back!?) this belevel aspect to background view.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3762 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev3762
2003-06-30 14:52:06 +00:00
beveloper
a2ca472394 cleanup of debugging code
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3761 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev3761
2003-06-30 13:59:11 +00:00
beveloper
1081d7ce81 now supports endian adjustment at the output
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3760 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev3760
2003-06-30 11:36:36 +00:00
beveloper
15dca7402c a minor performance improvement
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3759 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev3759
2003-06-30 11:05:45 +00:00
beveloper
fcfad7f823 cosmetic change
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3758 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev3758
2003-06-30 10:43:29 +00:00
beveloper
fbd392018b uses about 20% less CPU now
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3757 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev3757
2003-06-30 10:42:23 +00:00
beveloper
20789329c3 a simple list template that uses realtime memory
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3756 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev3756
2003-06-30 10:41:09 +00:00
Stefano Ceccherini
e08165bb6f Fixed an allocation bug in BRegion::set_size, started to comment BRegion with Doxygen (just the public methods and some friend functions for now). Added BRegion to the build.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3755 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev3755
2003-06-30 08:19:26 +00:00
Ingo Weinhold
bd3ed7497a Apparently invoking non-static member functions for default arguments doesn't work. Removed the default argument for Find() and added respective additional versions. Some more minor changes.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3754 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev3754
2003-06-30 01:00:23 +00:00
Ingo Weinhold
b3cb5e6061 Some more thorough checking of Find(), which revealed small problems.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3753 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev3753
2003-06-30 00:56:16 +00:00
Ingo Weinhold
97f7fee9ef Added unit tests for VectorSet.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3752 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev3752
2003-06-30 00:54:43 +00:00
Ingo Weinhold
4489db253c Added a Vector based set implementation.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3751 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev3751
2003-06-30 00:53:50 +00:00
beveloper
52ae1ec688 disabled double rate mixing, it's not useful with the current resampling implementation.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3750 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev3750
2003-06-30 00:16:53 +00:00
beveloper
aef8495f7b fixed memory leaks
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3749 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev3749
2003-06-30 00:06:01 +00:00
beveloper
60e2e68ce4 finally it does mixing, but we should get rid of the CPU eating List template
at this place, as it internally calls malloc, free, new and delete quite often


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3748 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev3748
2003-06-29 23:08:00 +00:00
beveloper
806cf56077 default channel assignment profiles
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3747 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev3747
2003-06-29 21:44:11 +00:00
beveloper
fae6ce82e3 added output channel control functions,
made most often called functions inline


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3746 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev3746
2003-06-29 20:03:44 +00:00
Ingo Weinhold
c303352a8e Added unit tests for the Vector implementation.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3745 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev3745
2003-06-29 19:46:22 +00:00
Ingo Weinhold
eaf9864cde Added a generic Vector implementation.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3744 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev3744
2003-06-29 19:45:10 +00:00
Ingo Weinhold
c4de095cd1 Fixed invalid default argument. Not that the compiler eats the file now...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3743 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev3743
2003-06-29 19:44:14 +00:00
Michael Pfeiffer
33f2c6fb7d Fixed wrong device path.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3742 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev3742
2003-06-29 19:05:17 +00:00
Michael Pfeiffer
8843cf3906 Modified to use libtransportaddon.a.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3741 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev3741
2003-06-29 18:45:47 +00:00
Michael Pfeiffer
37b3e403fe Added untested Serial Port transport add-on.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3740 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev3740
2003-06-29 18:43:54 +00:00
Michael Pfeiffer
cca5b73672 USB Port transport add-on contributed by Andreas Benzler
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3739 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev3739
2003-06-29 18:43:10 +00:00
Michael Pfeiffer
78ed38a8a8 Added USB Port and Serial Port transport add-ons.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3738 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev3738
2003-06-29 18:41:16 +00:00
Michael Pfeiffer
0146564896 Added static libraries used by transport and printer driver add-ons.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3737 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev3737
2003-06-29 18:34:33 +00:00
Axel Dörfler
33aae10b67 The pipe now buffers incoming packets when there is no reader waiting in
a chained buffer provided by cbuf.
Only select support is missing now.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3736 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev3736
2003-06-29 18:29:36 +00:00
Axel Dörfler
62ef93d044 Updated the pipe_test to also test buffering of writes to the pipe.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3735 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev3735
2003-06-29 18:12:48 +00:00
beveloper
7619f562d5 fixed the debug output, added a workaround for missing samples if the
mixer framerate is not an integral multiple of the input framerate


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3734 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev3734
2003-06-29 16:02:15 +00:00
Waldemar Kornewald
e19f10fab7 Corrected get_ip_id() so that it uses atomic_add() instead of a semaphore.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3733 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev3733
2003-06-29 15:47:40 +00:00
beveloper
cb595db745 added an additional sanity check
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3732 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev3732
2003-06-29 14:55:46 +00:00
beveloper
7d970b3122 finally fixed the last major bug that was reponsible for plops
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3731 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev3731
2003-06-29 14:54:00 +00:00
beveloper
191033ef76 debugging improvement, fixed locking, fixed sample copy bug in channel 1
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3730 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev3730
2003-06-29 11:36:39 +00:00
beveloper
356855c3f6 ugly workaround, create a new pool for each input mix buffer,
to avoid running out of default pool memory. It would be much
better if a pool would grow if more memory is requested than
available.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3729 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev3729
2003-06-29 01:17:52 +00:00
beveloper
dfe7be41fb small work around
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3728 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev3728
2003-06-29 01:15:49 +00:00
beveloper
d5848e21a4 rewrote start and stop handling to allow connecting an input without
having an output, followed by starting the node.
fix some bugs of handling an unconnected output
added better locking to the mix thread


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3727 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev3727
2003-06-29 00:31:36 +00:00
beveloper
90f98241f4 added some sanity checks
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3726 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev3726
2003-06-29 00:29:08 +00:00
beveloper
8d28117ff7 multiple bugfixes, but still many pops in output audio stream
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3725 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev3725
2003-06-28 23:07:47 +00:00