Commit Graph

6299 Commits

Author SHA1 Message Date
Waldemar Kornewald
683165b7d1 Added profile and interface naming support.
Added some small doxygen comments.
Minor changes.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6283 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-25 12:54:47 +00:00
Waldemar Kornewald
f9ad2df864 Added profile and interface naming support.
Added 'K' prefix to all kernel classes to resolve naming issue with doxygen.
Began some small doxygen comments.
Minor changes.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6282 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-25 12:54:00 +00:00
Waldemar Kornewald
d9ca398271 Added naming support.
Simplified by using new helper methods in libppp.a.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6281 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-25 12:51:43 +00:00
Waldemar Kornewald
bdf55481a8 Changed PPP interface manager API to support interface names and profiles.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6280 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-25 12:50:07 +00:00
shatty
96fea92979 static variables in functions are all fun and good until you realize that they are not equivalent to class level variables when that function is a method
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6279 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-25 12:49:33 +00:00
Waldemar Kornewald
37eee613ca Updated PPP stuff of userland netstack tester.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6278 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-25 12:48:59 +00:00
shatty
801227279c static variables in functions are all fun and good until you realize that they are not equivalent to class level variables when that function is a method
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6277 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-25 12:45:14 +00:00
shatty
a511a51332 perfect replay
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6276 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-25 11:55:27 +00:00
shatty
170d6e3fbc I pronounce it Good!
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6275 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-25 11:37:10 +00:00
Bruno G. Albuquerque
fbe89ed67b We forgot about the B_MIME_STRING_TYPE when creating indices and the BEOS:APP_SIG index was failing to be created. It looks the registrar calls the index creation with that type although it is not directly available in the command line tool mkindex, for example.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6274 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-25 11:03:23 +00:00
shatty
eb62634484 fixed some sizeof bugs and added more tracing for error returns
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6273 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-25 08:23:07 +00:00
shatty
fff3b1f17b tolerate more badness from BMediaFormats, added theora formats, cleaned up theora header parsing
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6272 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-25 07:58:23 +00:00
shatty
d1d448fc86 factored out description and default format construction and made them available through ogg, use these in case BMediaFormats fails -- like it does with the tobias streams for right now
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6271 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-25 07:43:32 +00:00
shatty
4644ba227a fix the lockup at end of ogg bug - return an error in GetPacket when GetNextPage or GetPageAt fails
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6270 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-25 07:00:45 +00:00
shatty
9b57d8a926 yay for speex
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6269 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-25 06:39:59 +00:00
shatty
89ea295e8e divide by 32000 to reduce volume
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6268 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-25 06:35:25 +00:00
shatty
33732c29f1 important seek friends
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6267 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-25 06:33:19 +00:00
shatty
07ae6ce8a6 ogg pseudo-seeking
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6266 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-25 06:04:28 +00:00
shatty
38e18d350e more reliable format retrieval
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6265 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-25 06:02:45 +00:00
shatty
48a06864d0 fixed registration for mpeg 1 layer 1 & 2
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6264 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-25 05:12:45 +00:00
shatty
ee154dc212 improved use of formats.MakeFormatFor
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6263 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-25 04:48:07 +00:00
François Revol
91e6897c63 Added obfsinode kernel debugger command.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6262 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-25 00:11:34 +00:00
shatty
2aa106d6b7 fixed a bug which caused one perhaps the most helpful error message ever from gcc: 101: invalid reference to a member function name, did you forget the ()?
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6261 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-24 22:56:15 +00:00
shatty
1421ba0668 RestartMediaServices should return a value, I returned the value from PostMessage
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6260 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-24 22:36:16 +00:00
shatty
a4f26c7d66 fix SetMetaData to create an area, do not bother with checking the return value from find_thread(NULL)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6259 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-24 22:19:00 +00:00
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