Commit Graph

4030 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
2003-06-28 23:07:47 +00:00
beveloper
5ca6a7e85e renamed the media node
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3724 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-28 23:05:56 +00:00
beveloper
c47e5a5ae9 added format change function
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3723 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-28 23:04:21 +00:00
beveloper
2560202bae additional helper functions
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3722 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-28 22:59:53 +00:00
beveloper
b3d75d0db3 removed leftover of debugging instrumentation
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3721 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-28 22:00:32 +00:00
beveloper
6b5e150832 most likely fixed downsampling bugs
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3720 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-28 21:55:58 +00:00
DarkWyrm
a7699ce227 Added Stroke/FillRegion to DisplayDriver for convenience
Fixes to redraw code - buggy, but less so. :)


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3719 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-28 20:07:36 +00:00
DarkWyrm
de662b01c8 Window border movement fixes
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3718 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-28 19:06:30 +00:00
Axel Dörfler
d98326b49f Removed some useless calls to get_sem_count().
Moved set_port_owner() around.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3717 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-28 16:53:36 +00:00
Axel Dörfler
9163395ef6 read_port_etc() could pass PORT_FLAG_USE_USER_MEMCPY to acquire_sem_etc().
Small cleanup of {read|write}_port_etc().


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3716 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-28 16:46:07 +00:00
Ingo Weinhold
42b47c7c30 Some small interface fixes.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3715 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-28 15:53:21 +00:00
Ingo Weinhold
18c5b0ca7b Added kernel utils test to the build.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3714 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-28 15:52:24 +00:00
Ingo Weinhold
d2f5407bb8 Added an empty test for AVLTreeMap, but uncommented it, since it doesn't compile with our broken compiler.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3713 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-28 15:51:58 +00:00
Ingo Weinhold
e0f43e3e84 The beginning of an AVL tree based map implementation. Well, the tree part
is complete, the interface needs work.
Unfortunately our ancient compiler chokes on this (`Internal Compiler
Error'). I got around the problem by restructuring parts of the code once,
but now I'm stuck -- no idea what I could change. So, there won't be
AVLTree{Map,Set} until we have a working compiler. :-(


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3712 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-28 15:49:33 +00:00
Michael Pfeiffer
b95bbcda0a Updated for version 2.0
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3711 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-28 06:36:06 +00:00
Michael Pfeiffer
2997e5ed52 Bug fix and removed installation of libpdf.so
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3710 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-28 06:31:00 +00:00
Michael Pfeiffer
93293bd797 ImageCache.cpp
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3709 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-28 06:27:37 +00:00
Axel Dörfler
2469f26dfc Implemented the basic hand-shaking mechanism; direct data exchange is
now working, but everything that would have to be temporarily buffered
is discarded right now (will use cbufs for this).
Pipes can now actually be created and removed - this didn't work before.
Changed some lock types to better suit their needs.
Small fixes.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3708 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-28 04:38:04 +00:00
Axel Dörfler
9a7bfe0ec1 Added minor debug output.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3707 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-28 04:23:24 +00:00
Axel Dörfler
8a32e4dc84 Replaced the "filetest" command with the "pipe_test" for the build, due to
limited space in the boot file.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3706 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-28 04:22:06 +00:00
Axel Dörfler
32169869e8 Added a test for the pipe implementation.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3705 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-28 04:17:31 +00:00
Axel Dörfler
1792510380 Fixed the pipe creation and made it secure against very fast threads, as
suggested by Ingo.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3704 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-28 02:44:20 +00:00
Axel Dörfler
f0df28e20e Now makes use of C++ features, still no reading or writing, though.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3703 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-27 23:04:36 +00:00
Axel Dörfler
2aa93388f3 C++ for the kernel added to the build.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3702 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-27 23:03:45 +00:00
Axel Dörfler
fb68886768 C++ for the kernel.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3701 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-27 22:58:58 +00:00
Ingo Weinhold
cbbec57f71 Oops, our TOP is named OBOS_TOP.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3700 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-27 17:38:12 +00:00
Michael Pfeiffer
2a76289ea7 Bug fixes.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3699 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-27 17:23:52 +00:00