Commit Graph
100 Commits
Author SHA1 Message Date
Marcus Overhagen ab9afde305 removed debug output
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17556 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-22 22:23:01 +00:00
Marcus Overhagen 57735c4048 fixed BChannelControl::SetLimits()
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17553 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-22 20:55:16 +00:00
Marcus Overhagen 687e925395 Removed private functions _long_to_color_() and _color_to_long_(), there
shouldnt be any application that uses them, as they were not in headers.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17552 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-22 20:43:39 +00:00
Marcus Overhagen bb15b0769b increased thread priorities
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17551 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-22 20:37:43 +00:00
Marcus Overhagen 30d242965d fixed strange usage of rgb_color
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17549 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-22 20:20:17 +00:00
Marcus Overhagen 4cf88b82c3 set alpha value of default low/view color to 255
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17548 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-22 20:17:35 +00:00
Marcus Overhagen df230cb528 replaced get_uint32_color() by casting into a reference (const uint32 &)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17547 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-22 20:14:26 +00:00
Marcus Overhagen 453f642e2e Rewrote audio decoding to provide timing information
that is used to sync with video.
Separated audio decoding and playing into two threads, 
the same applies to video decoding and playback.
This was inspired from code written by Stephan.
Added video decoding and display, added play/pause/stop.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17533 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-22 15:56:10 +00:00
Marcus Overhagen 73dacb878d Allow invisible views with overlay to be properly updated.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17485 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-16 20:16:31 +00:00
Marcus Overhagen d38c8112a7 cache the track duration
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17483 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-16 19:07:53 +00:00
Marcus Overhagen afc66bbbc3 Made copying into overlay save, by locking the bits.
This could be further optimized, by always holding the lock,
and only unlocking when app-server requests it. 


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17482 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-16 19:07:25 +00:00
Marcus Overhagen 46daa6672e Made copying into overlay save, by locking the bits.
This could be further optimized, by always hloding the lock,
and only unlocking when app-server requests it.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17481 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-16 19:00:25 +00:00
Marcus Overhagen df59f3e69d Enabled reporting of MPEG 1 and 2 video codecs.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17469 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-15 19:59:34 +00:00
Marcus Overhagen 4cf01e2ecc Fixed off-by-one error that prevented finding nodes using wildcard names, like DVB*
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17467 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-15 18:43:36 +00:00
Marcus Overhagen 0a00d23f2e Reworked media_format meta data handling.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17458 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-14 22:51:14 +00:00
Marcus Overhagen 17187587df Include GPL add-ons if configured to do so.
Include avcodec plugin, and ac3 (GPL, see above) plugin.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17404 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-09 20:05:27 +00:00
Marcus Overhagen e77acd698a disabled some debug output
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17379 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-08 22:29:46 +00:00
Marcus Overhagen 0f0bbc9751 implemented seeking and position update
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17378 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-08 21:47:19 +00:00
Marcus Overhagen 3b55bd0c3c dont send notifications if the value is not changed by the user
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17377 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-08 21:46:48 +00:00
Marcus Overhagen 3d8b4bab1f Did some renaming, Changed* is now used when the user modifies the controls.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17376 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-08 20:57:04 +00:00
Marcus Overhagen 131d97be80 Connected volume control GUI with Controller class, and made slider non-linear.
This should be reviewed, and a better algorith should be selected.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17375 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-08 20:40:58 +00:00
Marcus Overhagen d4ab13e6f1 changed latency reporting
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17370 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-08 18:53:44 +00:00
Marcus Overhagen bba1e5c831 Added media kit error descriptions.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17369 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-08 18:35:08 +00:00
Marcus Overhagen 2fd148f926 dont crash when opening another file
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17363 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-07 22:05:23 +00:00
Marcus Overhagen c04b6d2dfb dont wait too long
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17362 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-07 22:03:47 +00:00
Marcus Overhagen 392a68b0ea added MediaPlayer
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17361 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-07 21:13:27 +00:00
Marcus Overhagen 3e070a9ee4 added a crude hack to play sound
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17360 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-07 21:08:01 +00:00
Marcus Overhagen 0e49470a24 added starting/stopping of playback threads
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17358 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-07 20:41:07 +00:00
Marcus Overhagen 0aaf5eb1ae added a sound output class to push data to the mixer, also started audio and video play threads
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17357 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-07 20:25:45 +00:00
Marcus Overhagen cb9f2e8d34 Fixed the savety check to actually work.
Made sure that fDisplayMode is not modified if fAccSetDisplayMode failes,
as on my system fAccGetDisplayMode did return values that would crash 
because of a virtual_width beeing 0.
Generally, this whole class is pretty broken, as the functions modify *some*
class member variables before eventually failing.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17352 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-07 09:33:59 +00:00
Marcus Overhagen 84123592e9 use case insensitive sorting for the playlist
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17351 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-06 21:46:55 +00:00
Marcus Overhagen bcc46b4b92 implemented opening media files for real
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17350 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-06 21:17:42 +00:00
Marcus Overhagen 490fa01c09 fixed build
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17226 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-04-24 21:21:00 +00:00
Marcus Overhagen aadc5f572d added playlist support
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17225 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-04-24 20:47:29 +00:00
Marcus Overhagen 91b9ff3f99 cleanup, moved track selection into settings
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17219 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-04-23 22:09:37 +00:00
Marcus Overhagen 067423e615 implemented even more resizing
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17218 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-04-23 21:51:04 +00:00
Marcus Overhagen 399b0e8ab8 cleaned up resizing
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17215 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-04-23 21:28:51 +00:00
Marcus Overhagen 99cd5eeb92 added some resizing support
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17214 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-04-23 20:27:56 +00:00
Marcus Overhagen 78838bb774 added MediaPlayer to the build
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17212 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-04-23 16:55:54 +00:00
Marcus Overhagen e1d8d7d6b4 implemented some file handling related functionality
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17211 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-04-23 16:47:16 +00:00
Marcus Overhagen 428dcd5b48 Copy the correct number of bytes when making a BBitmap copy. Unfortunately, this still doesn't fix Cortex drawin bug.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17155 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-04-17 15:47:08 +00:00
Marcus Overhagen e9aa589659 bugfix
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17148 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-04-17 11:51:34 +00:00
Marcus Overhagen 45d3c4ec14 Implemented hotplug support conforming to the active multiplexing specification.
Works with my notebook, but kernel support for unpublishing devices is broken.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17123 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-04-13 14:57:16 +00:00
Marcus Overhagen f9ff1193f7 Removed mouse polling, there seem to exist way too many broken mice for this to work relyable.
Reworked interrupt handler calling, and added a data history.
Hotplug support will later be implemented using interrupt data.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17097 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-04-11 21:02:24 +00:00
Marcus Overhagen 46f579e7ef removed intermediate variables, and added comments
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17033 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-04-06 21:01:41 +00:00
Marcus Overhagen 6dcf803e48 removed some off-by-one errors. replaced cursor->Bounds().IntegerWidth() with cursor->Width() which is equal to cursor->Bounds().IntegerWidth() + 1
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17032 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-04-06 20:25:58 +00:00
Marcus Overhagen 04a91b97bd Imported source code from DVB TV application
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17021 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-04-05 21:34:29 +00:00
Marcus Overhagen 8063479445 Imported source code from DVB TV application.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17020 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-04-05 21:23:42 +00:00
Marcus Overhagen 97fc4c13e6 added directory
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17019 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-04-05 21:07:13 +00:00
Marcus Overhagen 5ab5dbe035 added directory
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17018 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-04-05 20:47:41 +00:00
Marcus Overhagen d323bbb26f Cleanup:
- made 'active' variable volatile
Bugfixes:
- fixed deletion of mouse_device from fDevices list when the object is deleted.
- removed deadlock from RemoveDevice
- call UnregisterDevice from inside RemoveDevice
- terminate devicer watcher thread on read error
- skip "serial" directory always
- close file handle when initializing device watcher thread fails


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16927 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-03-29 22:44:58 +00:00
Marcus Overhagen dbb98f2b76 Cleanup:
- keyboard_device now frees device_ref.name by itself when it's deleted
- made 'active' variable volatile
Bugfixes:
- delete keyboard_device from fDevices list when the object is deleted.
- removed deadlock from RemoveDevice
- call UnregisterDevice from inside RemoveDevice
- terminate devicer watcher thread on read error


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16926 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-03-29 22:41:24 +00:00
Marcus Overhagen 967c2eaf15 disabled polling keybaord and mouse, as this seems to have strange probelems on some hardware (but works for me)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16925 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-03-29 22:32:59 +00:00
Marcus Overhagen 7b6eb67f23 cleanup of user memory handling
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16924 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-03-29 21:21:15 +00:00
Marcus Overhagen 130a176146 implemented unpublishing of device and disconnecting (doesn't seem to work yet)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16923 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-03-29 21:07:19 +00:00
Marcus Overhagen 4c000f8856 changed polling to use the "get id" command
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16922 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-03-29 20:06:31 +00:00
Marcus Overhagen 5deac87dd2 prepared hotplug support
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16903 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-03-27 22:26:05 +00:00
Marcus Overhagen 05cda59dbf optimized debug output
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16886 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-03-26 22:23:57 +00:00
Marcus Overhagen c8cc0176a3 disabled a test that doesn't work relyable on some notebooks (stupid keyboard controller)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16885 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-03-26 22:04:03 +00:00
Marcus Overhagen b1e7bed203 made interrupt flag volatile
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16846 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-03-20 19:37:01 +00:00
Marcus Overhagen f7c354d7ee not sure if this helps: when the file end is reached, playback should be stopped.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16845 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-03-20 19:28:03 +00:00
Marcus Overhagen c572fade42 Rewrote playsound, it now uses BFileGameSound
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16844 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-03-20 17:44:35 +00:00
Marcus Overhagen 8b6f573f3f Fixed screenshot function. Creates PNG files without alpha channel now.
This should fix bug #124 and makes much nicer screenhots.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16769 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-03-13 18:43:13 +00:00
Marcus Overhagen a27ff91108 added command line file players
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16761 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-03-13 11:44:54 +00:00
Marcus Overhagen b1e4df1386 created a new variation of playsound
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16760 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-03-13 11:41:38 +00:00
Marcus Overhagen f916862c2e Switched to using a local debug header file, instead of using the private media kit file.
This should prevent mixer from beeing build with debug enabled, when media kit is build with debug.
Thus CPU usage will be reduced as mixer no longer prints a lot of information to stdout.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16759 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-03-13 11:34:24 +00:00
Marcus Overhagen 8bf2c25330 copied from private media kit headers
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16758 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-03-13 11:21:46 +00:00
Marcus Overhagen 6d7951f1ae add auich instead of auvia, should work better with multiaudio.media-addon
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16757 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-03-13 08:54:08 +00:00
Marcus Overhagen 774caba625 added audio and video producer demo nodes
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16741 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-03-12 15:19:44 +00:00
Marcus Overhagen 462f769fab launch Tracker during boot
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16739 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-03-12 14:28:35 +00:00
Marcus Overhagen 728fa950cd launch media_server during boot
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16738 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-03-12 14:27:03 +00:00
Marcus Overhagen 28bb1af264 launch media_server during boot
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16737 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-03-12 14:21:39 +00:00
Marcus Overhagen 959bf095a5 Added Cortex to image (not optimal, should have its own folder, and only a symlink into apps menu)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16736 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-03-12 13:54:15 +00:00
Marcus Overhagen 8fc14465b5 Added Cortex to build system, removed makefiles.
This turned out to be more complex then expected.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16735 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-03-12 13:51:23 +00:00
Marcus Overhagen 8761e1bb9a have to include <typeinfo> for usage of bad_cast
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16733 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-03-12 12:51:41 +00:00
Marcus Overhagen 31c533d926 This should fix mouse problems that occured with MS Virtual PC.
The test for active multiplexing support now validates all data.
Cleanup of ps2_set_sample_rate, retrying isn't needed. 


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16692 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-03-10 22:03:30 +00:00
Marcus Overhagen a7dc1efbac removed port unblock workaround, as port API should work now similar to BeOS R5
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16671 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-03-09 09:56:13 +00:00
Marcus Overhagen bd9fea8cda Cortex doesn't require libmail.so. We should switch this to a Jamfile later.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16670 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-03-09 09:46:46 +00:00
Marcus Overhagen c8b86e7067 removed misleading comments
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16650 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-03-08 15:50:30 +00:00
Marcus Overhagen f07155e026 adjusted texts to recent api changes, documentation will follow
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16649 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-03-08 15:42:34 +00:00
Marcus Overhagen 7f832a1ddb more tests for port functionality
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16648 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-03-08 15:22:07 +00:00
Marcus Overhagen da9b743b20 modified tests. The results on BeOS R5 do not match the BeBook description.
$ /boot/home/develop/haiku/generated/objects/haiku/x86/debug_1/tests/system/kernel/port_close_test_1
created port 2269
write port result 0x00000000 (No Error)
write port result 0x00000000 (No Error)
close port result 0x00000000 (No Error)
write port result 0x80001200 (Bad port ID)
port_buffer_size -2147479552 (0x80001000) (Bad semaphore ID)
read port code 1234, size 10 (0x0000000a) (Unknown Error (10))
port_buffer_size -2147479552 (0x80001000) (Bad semaphore ID)
read port code 5678, size 20 (0x00000014) (Unknown Error (20))
should block now
port_buffer_size -2147479552 (0x80001000) (Bad semaphore ID)
$ /boot/home/develop/haiku/generated/objects/haiku/x86/debug_1/tests/system/kernel/port_close_test_2
created port 2270
write port result 0x00000000 (No Error)
write port result 0x00000000 (No Error)
close port result 0x00000000 (No Error)
write port result 0x80001200 (Bad port ID)
port_buffer_size -2147479552 (0x80001000) (Bad semaphore ID)
read port code 1234, size 10 (0x0000000a) (Unknown Error (10))
port_buffer_size -2147479552 (0x80001000) (Bad semaphore ID)
read port code 5678, size 20 (0x00000014) (Unknown Error (20))
should block now
read port code 5678, size -2147479040 (0x80001200) (Bad port ID)
$ /boot/home/develop/haiku/generated/objects/haiku/x86/debug_1/tests/system/kernel/port_delete_test
created port 2271
write port result 0x00000000 (No Error)
write port result 0x00000000 (No Error)
delete port result 0x00000000 (No Error)
everything should fail now
write port result 0x80001200 (Bad port ID)
port_buffer_size -2147479040 (0x80001200) (Bad port ID)
read port code 0, size -2147479040 (0x80001200) (Bad port ID)
$  


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16645 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-03-08 14:22:56 +00:00
Marcus Overhagen 89107618d5 added tests for kernel ports
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16644 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-03-08 14:07:28 +00:00
Marcus Overhagen a0795c6fe3 imported Cortex 2.1.2 source
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16643 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-03-08 13:32:19 +00:00
Marcus Overhagen 24159a0c7d imported Cortex 2.1.2 documentation
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16642 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-03-08 13:30:15 +00:00
Marcus Overhagen a68701612a added a folder
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16641 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-03-08 13:27:21 +00:00
Marcus Overhagen 9b9d1e82f4 modified to allow handling of messages without data
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16630 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-03-07 14:47:45 +00:00
Marcus Overhagen 3bb81a4239 Fixed deadlock that occured when quitting media applications.
I don't know why this never happened on R5. Haiku close_port() 
works as documented in BeBook, but might possibly different in R5.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16629 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-03-07 14:37:17 +00:00
Marcus Overhagen 0c4d975c52 build media kit with debug enabled, even for release builds
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16627 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-03-07 13:24:19 +00:00
Marcus Overhagen 75daf5566e fixed reversed source and destination node ids, by using the new BMedisRoster::Disconnect function.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16626 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-03-07 12:54:02 +00:00
Marcus Overhagen 65b73ae4f2 Added a Disconnect() method with simpler parameter list.
Added more error checking to Connect() and Input/Output publishing.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16625 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-03-07 12:52:19 +00:00
Marcus Overhagen 831c32452b trimmed debug output
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16617 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-03-07 00:56:03 +00:00
Marcus Overhagen 2a53684921 trimmed debug output
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16616 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-03-07 00:51:42 +00:00
Marcus Overhagen 85da6de360 removed superfluous copyright notice from debug output
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16615 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-03-07 00:40:23 +00:00
Marcus Overhagen e42681bd61 this makes multiaudio.media-addon recognize this driver
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16614 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-03-07 00:20:45 +00:00
Marcus Overhagen 89d76e508d changed get_cached_block() to no longer use a reference argument
modified to panic when an invalid block is requested (to find fs errors)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16537 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-27 18:03:42 +00:00
Marcus Overhagen c03dcec18a cleanup
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16473 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-19 19:41:55 +00:00
Marcus Overhagen a11f16fd7e cleanup of multiplexing support and debug output
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16386 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-13 21:27:22 +00:00
Marcus Overhagen 45eccbd027 fixed ps2_flush() and debug output
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16385 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-13 20:08:14 +00:00
Marcus Overhagen cf4878971b added keyboard controller buffer flush
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16384 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-13 18:49:25 +00:00