Commit Graph

6174 Commits

Author SHA1 Message Date
shatty
bacf4b5e20 meta_data back to void *.. "Be knows best"
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6258 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-24 22:17:21 +00:00
shatty
f14460063c Ogg Reader 2.0d0
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6257 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-24 21:50:32 +00:00
beveloper
a3d7ce0637 initial support for reading OpenDML AVI files
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6256 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-24 17:06:57 +00:00
beveloper
bc98a76793 added MP3 in WAV format IDs
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6255 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-24 16:58:18 +00:00
beveloper
40d68dd219 removed codec registration bug, raw formats working again
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6254 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-24 16:55:14 +00:00
beveloper
174654a4ee fixed playback problems and made start_time calculation more reliable
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6253 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-24 16:53:22 +00:00
beveloper
16611de7ce spelling fix
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6252 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-23 16:26:55 +00:00
haydentech
2f4343ad60 implement tint_color()
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6251 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-23 16:17:40 +00:00
haydentech
ce3857c204 gcc3 fix: default args not allowed in function implementation
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6250 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-23 16:15:20 +00:00
Axel Dörfler
001103576a Accidently used its own PluginManager object instead of the global one.
Implemented BMediaDecoder::GetDecoderInfo().
Changed the documentation style to something doxygen can read.
Added some ToDo comments.
Some minor style changes.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6249 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-23 09:15:47 +00:00
Axel Dörfler
a0a20160cd Updated all decoders to the changed codec API (from meta_descriptions to
BMediaFormats based detection).


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6248 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-23 07:55:01 +00:00
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