Axel Dörfler
86bafc634b
Removed now unused get_format_for_description and get_description_for_format
...
request/reply structures.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6247 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-23 07:44:42 +00:00
Axel Dörfler
7c02339d2c
Rewritten the FormatManager class.
...
It now implements the new format registration needed for the BMediaFormats
class.
Does not yet implement a settings file, and does not yet support removing
of existing decoders/encoders.
Also, it currently replies in FormatManager::GetFormats() in the tread of
the media server with a timeout of 5 seconds...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6246 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-23 07:43:33 +00:00
Axel Dörfler
20e3dd9dbe
Almost rewritten the AddOnManager. It now works together with the new
...
media decoder detection code and the FormatManager.
It now stores all registered formats from a decoder, and uses this
information to implement GetDecoderForFormat().
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6245 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-23 07:40:35 +00:00
Axel Dörfler
61dec6a5c7
Removed now unused GET_FORMAT_FOR_DESCRIPTION and GET_DESCRIPTION_FOR_FORMAT
...
stuff.
Simplified ServerApp::MessageReceived() and added MEDIA_SERVER_GET_FORMATS
to it.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6244 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-23 07:34:25 +00:00
Axel Dörfler
a898baf0cc
Added missing AddOnManager and FormatManager.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6243 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-23 07:31:57 +00:00
Axel Dörfler
2a93bc9819
We don't need no BLocker anymore, updated _reserved[] to not change the size
...
of the class. Renamed fIndex to fIteratorIndex.
Some minor style changes.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6242 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-23 07:30:51 +00:00
Axel Dörfler
c38d73ee4c
New meta_format structure that is used internally by BMediaFormats and
...
the FormatManager in the server.
Update the plugin API.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6241 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-23 07:24:51 +00:00
Axel Dörfler
6e53563dac
Updated to new API, some minor changes. Added "ToDo" items in the
...
DestroyReader/Decoder() functions - they erroneously don't put the
plugin back.
Added license.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6240 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-23 07:23:14 +00:00
Axel Dörfler
29f1f4488e
Removed now unused methods, added license.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6239 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-23 07:14:47 +00:00
Axel Dörfler
68b80bbdb9
Slightly improved error reporting for CreateDecoder (now with error code).
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6238 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-23 07:11:15 +00:00
Axel Dörfler
0f34281e3e
The BMediaFormats class is now completely implemented. Removed wrong old
...
implementation and the now unused old meta_description stuff.
Also fixed the == and < operator for media_format_description.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6237 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-23 07:09:19 +00:00
Axel Dörfler
b6b1e538a7
Removed all now unused functionality.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6236 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-23 07:06:12 +00:00
Axel Dörfler
db95389956
Added a program to test the == and < operator of media_format_description.
...
Revealed some bugs in our previous implementation.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6235 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-23 06:41:19 +00:00
Axel Dörfler
b7d3f36edc
"Fixed" the write_port_etc() call: it used a hardcoded 8 instead of B_RELATIVE_TIMEOUT (ts ts ts).
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6234 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-23 01:12:51 +00:00
Axel Dörfler
8b47303be4
Added a QueryServer() function for BMessage communication.
...
Added MEDIA_SERVER_GET_FORMATS for the new BMediaFormats implementation.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6233 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-23 01:10:46 +00:00
Axel Dörfler
0a580bde18
Added a QueryServer() function for BMessage transfer.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6232 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-23 01:06:33 +00:00
haydentech
eca8c2bc73
malloc.h is obsolete, use stdlib.h
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6231 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-22 22:08:56 +00:00
haydentech
f498e59387
Quell a couple gcc3 warnings
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6230 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-22 21:59:37 +00:00
beveloper
66e3d4510e
fixed PCI device ROM detection
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6229 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-22 21:46:01 +00:00
Rudolf Cornelissen
41f86af47e
removed NV31/NV36 hack: registers known
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6228 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-22 19:54:32 +00:00
Rudolf Cornelissen
b406af4969
removed NV31/NV36 hack: register known; startup improvements
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6227 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-22 19:53:00 +00:00
Rudolf Cornelissen
b4bdc2b687
nothing changed, trick to commit :-/
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6226 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-22 19:51:35 +00:00
Rudolf Cornelissen
581d6a024e
removed NV31/NV36 hack: register found; startup updates
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6225 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-22 19:48:13 +00:00
DarkWyrm
da1903328a
Updated look so inactive window tabs look right
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6224 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-22 02:23:08 +00:00
DarkWyrm
2874b546de
Sync with most recent doings in the server's DefaultDecorator class
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6223 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-22 02:21:05 +00:00
DarkWyrm
86fff36511
Build fix
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6222 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-22 02:20:34 +00:00
DarkWyrm
dbd08f22ac
Moved keyboard message handling from AppServer to Desktop class
...
Moved style to more like OpenTracker in Deskbar class
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6221 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-22 00:32:07 +00:00
shatty
cd6a9248db
adjust framecount/duration for mono/stereo, add channel_mask to vorbis header parsing, compute a "convenient" buffer size for speex decoding
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6220 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-21 22:59:28 +00:00
shatty
194748a1ba
speex output length multiply by channel count
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6219 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-21 22:25:13 +00:00
shatty
43ffdb6608
sound production.. somewhat mangled
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6218 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-21 22:21:21 +00:00
shatty
b84e6d90eb
instead of checking for invalidity, check for validity for meta_data_area
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6217 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-21 20:40:06 +00:00
shatty
f785208b00
added extern "C" protect for speex_stereo.h, bug submitted back to author
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6216 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-21 20:00:23 +00:00
Axel Dörfler
40997e1444
Added the _PACKED attribute to the BFS on-disk structures to be sure
...
the compiler doesn't break anything by aligning them differently.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6215 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-21 15:57:03 +00:00
Axel Dörfler
2ed1070506
Added structureSizes to the build.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6214 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-21 15:55:15 +00:00
Axel Dörfler
0207f71894
Added a simple test program to check if the disk structure sizes change
...
with different compiler options - couldn't find anything, though.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6213 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-21 15:54:53 +00:00
shatty
67ab3b5bed
removed extra ogg lib link but still having link failure
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6212 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-21 11:34:36 +00:00
shatty
f9df549e6f
stupid linker bug... why?
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6211 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-21 11:21:49 +00:00
shatty
a2d20d9daa
correct initialization of media_format. (btw I just realized I never need to manually zero a format after construction) perform a complete copy of media_format. do some things related to handling meta_data_areas. still some left to do, so do an UNIMPLEMENTED if we are in that state
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6210 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-21 10:34:27 +00:00
shatty
18bffde638
no need for ogg header
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6209 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-21 10:30:27 +00:00
shatty
24817be98a
media_decoder tuning: find first audio stream, errors for no tracks, do not bother with seek, add intermediary variables to assist in viewing functionality in bdb
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6208 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-21 09:09:43 +00:00
DarkWyrm
31b34533a7
Converted numerous printf() calls to STRACE(()) calls
...
Added some mouse click handling code to WinBorder
Made WinBorder mouse hooks simpler
Added some mouse handling code to ServerWindow
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6207 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-21 02:58:39 +00:00
DarkWyrm
2120f0b38d
Eliminated a crash because of a race condition on server shutdown
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6206 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-21 01:17:12 +00:00
Axel Dörfler
03df40f1df
(Temporarily?) removed the private API exports that the new SoundPlay 4.8.1
...
uses - it does crash anyway, when we export them (and return NULL).
Asked Marco about it, we'll see what comes back :-)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6205 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-20 23:32:09 +00:00
haydentech
0835465264
Added a few missing BRect functions
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6204 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-20 21:52:32 +00:00
Michael Pfeiffer
134d607647
Use Tracker Scripting to find next/previous image.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6203 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-20 19:46:45 +00:00
Rudolf Cornelissen
d97178c901
DPMS works fully OK now for both heads
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6202 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-20 19:02:08 +00:00
Axel Dörfler
149a6f76aa
Added missing newlines.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6201 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-20 14:33:28 +00:00
Axel Dörfler
73ff0e8f02
Added a small test app that prints out all BMediaFormats supported media_formats,
...
and some other tiny things.
Will print out a meaningful error in case there is one - tests locking behaviour
of BMediaFormats::GetNextFormat() and if GetCodeFor() works correctly.
Added to the build. Removed "root" library from the rules - that one doesn't
have to be included manually.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6200 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-20 14:25:08 +00:00
Axel Dörfler
57263483db
Somehow, -(uint32)10 didn't do what I wanted... if there were no valid
...
settings, the window is now set to the intended position.
Also enlarged the default window height a big, since it was a bit too
unglossed.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6199 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-20 11:36:27 +00:00
shatty
955c0efddc
makes noise in nplay, MediaPlayer will not use it, nothing sounds good
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6198 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-20 10:51:41 +00:00