Commit Graph

318 Commits

Author SHA1 Message Date
Marcus Overhagen
6636d6b74f fixed two warnings
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18871 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-09-17 01:06:23 +00:00
Marcus Overhagen
49811b3ae3 removed usage of memcpy where not needed
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18654 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-08-27 20:30:39 +00:00
Jérôme Duval
286a3c912a implemented ResolveSpecifier and GetSupportedSuites
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17735 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-06-06 12:54:06 +00:00
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
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
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
Jérôme Duval
db4bb28934 clean up
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17088 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-04-11 16:56:47 +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
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
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
Jérôme Duval
08a32bf95d replaced printf with PRINT (our Terminal doesn't handle so much data)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16466 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-19 16:24:53 +00:00
Marcus Overhagen
2381701493 cleanup
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16372 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-13 00:30:48 +00:00
Marcus Overhagen
3d6c711604 added shutdown_media_server and start_media_server into libmedia.so, based on an older implementation from svn history, but modified and bugfixed
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16367 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-12 18:56:00 +00:00
Jérôme Duval
843a7d9da4 make libmedia.so beos compatible (including several public headers)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15956 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-15 21:59:21 +00:00
Ingo Weinhold
bedeb04ec8 Forgot to check this in. GCC 4 fix.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15493 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-12-11 15:44:03 +00:00
Ingo Weinhold
758b1d0e05 Fixes that make Haiku build with gcc 4. Mainly out of the following
categories:
* Missing includes (like <stdlib.h> and <string.h>).
* Linking against $(TARGET_LIBSTDC++) instead of libstdc++.r4.so.
* Local variables shadowing parameters.
* Default parameters in function definitions (as opposed to function
  declarations).
* All C++ stuff (nothrow, map, set, vector, min, max,...) must be imported
  explicitly from the std:: namespace now.
* "new (sometype)[...]" must read "new sometype[...]", even if sometype is
  something like "const char *".
* __FUNCTION__ is no longer a string literal (but a string expression), i.e.
  'printf(__FUNCTION__ ": ...\n")' is invalid code.
* A type cast results in a non-lvalue. E.g. "(char *)buffer += bytes"
  is an invalid expression.
* "friend class SomeClass" only works when SomeClass is known before.
  Otherwise the an inner class with that name is considered as friend.
  gcc 4 is much pickier about scopes.
* gcc 4 is generally stricter with respect to type conversions in C.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14878 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-11-12 23:27:14 +00:00
Ingo Weinhold
338b8dc301 Merged changes from branch build_system_redesign at revision 14573.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14574 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-10-29 16:27:43 +00:00
Jérôme Duval
21b29fb2ef changed B_ANY_KERNEL_ADDRESS to B_ANY_ADDRESS, as our kernel doesn't allow user applications to create kernel areas
added some error logs


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14355 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-10-11 21:27:20 +00:00
Jérôme Duval
f101f76fc7 added a check of BBufferGroup
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14340 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-10-10 18:25:48 +00:00
Marcus Overhagen
edde83c450 cleanup of DEBUG and NDEBUG usage in media kit
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14012 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-08-20 23:49:39 +00:00
Marcus Overhagen
ca08707419 applied style guide a little bit
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14008 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-08-20 22:17:04 +00:00
Marcus Overhagen
3bd6b367d8 removed unused NDEBUG
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14007 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-08-20 22:13:46 +00:00
Marcus Overhagen
65799d5bbf tiny debug code cleanup
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13466 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-05 21:40:57 +00:00
Marcus Overhagen
23f34657e1 This fix should prevent TimeSource control thread from using random semaphores,
by no longer using an uninitialized Blocker object.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13465 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-05 21:35:38 +00:00
Marcus Overhagen
0d1adad317 Media Codec API just got a visit from the coding style police.
We now use "const" for the chunk buffer pointer returned by GetNextChunk,
because the buffer is not supposed to be modified by the codec.
size_t is used for the size where applicable. This matches BMediaDecoder.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13361 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-06-30 00:24:06 +00:00
David McPaul
5f8e88545e Turned chunk cache back on
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13208 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-06-19 06:01:31 +00:00
David McPaul
215c91dfb1 Added mov_reader to media kit - Very Alpha
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13046 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-06-10 15:52:49 +00:00
beveloper
8496c38a3d MediaRoster::Roster() now sets out_error to B_OK if everything is OK
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11499 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-26 23:21:52 +00:00
shatty
fa96039f9c address compiler warnings
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10076 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-21 03:43:15 +00:00
beveloper
1a1da94839 removed ChunkCache.h from shared private include files
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10072 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-21 00:11:39 +00:00
beveloper
f944d8fb3f avoid reading tracks which are not supported by the reader
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9829 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-07 17:04:53 +00:00
beveloper
dc1680bc47 Added missing license to the recently implemented chunk cache.
Using the unmodified BSD license without advertising clause.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9817 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-06 22:18:18 +00:00
beveloper
aa09be21b3 removed unused files, the mixer has it's own resampling code
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9815 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-06 22:07:09 +00:00
beveloper
1a3a7e8cd8 Fixed very bad seeking bug.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9491 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-24 22:13:10 +00:00
beveloper
ef4fd98f8a removed that debug output again
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9488 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-24 18:47:57 +00:00
beveloper
bf0aa2f9bb added support to disable the chunk cache for debugging
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9487 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-24 18:46:07 +00:00
beveloper
f14dfaa7b9 Completed implementation of chunk caching. Playback from harddisk is now much better, crackling should be gone.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9485 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-24 17:15:50 +00:00
beveloper
26dc029a11 Added an extra thread for chunk extraction. Using the ChunkCache, the ReadFrames call no longer needs to wait for the extractor, but can read it from a cache.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9481 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-24 14:20:01 +00:00
beveloper
5c91a2814e started implementing a caching layer inbetween extractor and decoder
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9480 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-24 14:15:01 +00:00
beveloper
40c2c00a34 Clean up of debug output. Fixed volume control bug introduced yesterday.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9475 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-24 10:37:46 +00:00
beveloper
df42a7b539 Massive BSoundPlayer rewrite. Format negotiation and node registering/unregistering fixed.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9470 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-24 00:16:27 +00:00
beveloper
0a7ddfb5ee Style changes. I obviously didn't save the caching changes done at Begeistert 13 :-(
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9466 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-23 18:04:50 +00:00
beveloper
d5463e6f2f better debug output
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9465 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-23 18:03:45 +00:00
beveloper
d6105cedfa Some BSoundPlayer style changes and bugfixes
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9461 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-23 17:05:56 +00:00
beveloper
e4d07a3e71 Added some new functions which seem to be required for Xentronics SampleStudio Pro.
Added missing license to implementation files.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8590 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-08-16 12:44:00 +00:00
beveloper
146e92861a This is now the Haiku Media Kit
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8588 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-08-15 21:53:41 +00:00
beveloper
98eb4f65ae shutdown and restarting of media_server is handled by libbe.so, not by libmedia.so
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8583 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-08-15 16:25:54 +00:00
beveloper
a861a01ea4 switch to Be Inc media server signature, to allow libbe.so sending messages to the server
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8573 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-08-15 12:06:27 +00:00
beveloper
51599367a2 made error messages a little more informative
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8572 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-08-15 12:00:03 +00:00
beveloper
7562d5508a Two additional functions to support gain selection for media files (sound events).
Allows better compatibility with Zeta's preference application.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8571 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-08-15 11:54:17 +00:00
Jérôme Duval
f465a5ec42 Adding libmedia.so to develop/lib/%arch%
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7816 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-07 21:54:07 +00:00
Jérôme Duval
dcfb6bfcd5 Constructor for BMediaRosterEx
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7614 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-19 09:04:01 +00:00
Jérôme Duval
ece05aef60 Implemented launch_media_server and shutdown_media_server. This code is only used when Media is linked first against libmedia.so
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7613 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-19 09:03:13 +00:00
beveloper
7a2702788f fixed assigned BBuffer size, the size of a buffer is now the requested size, not the allocated size
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6824 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-29 22:25:05 +00:00
beveloper
c0df25dada removed debug output
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6823 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-29 22:21:56 +00:00
beveloper
bac2b3f15c When the decoder doesn't support the requested format, the raw decoder is utilized
to provide a format conversion to the requested raw format.
Added a few workarounds for applications that don't requst the required format
but instead assume to get a specific one.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6815 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-29 18:53:57 +00:00
beveloper
94722b265c removed debug output
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6814 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-29 18:50:56 +00:00
beveloper
c8f5115b32 call FreeCookie() on 0 cookies, too
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6813 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-29 18:50:23 +00:00
Axel Dörfler
2d7030fe25 The group views must not B_FOLLOW_ALL unless they are the top-level group
views - that makes all sliders accessible again.
Thanks to Marcus for reporting that bug.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6703 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-24 00:37:11 +00:00
shatty
faca9355a7 fixed GetNextChunk not connected bug
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6671 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-22 06:12:45 +00:00
Axel Dörfler
dc204ab22f Fixed the test for the knob position with B_DOCUMENT_WINDOW_LOOK.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6670 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-20 21:35:52 +00:00
Axel Dörfler
f53ccd0b49 The target view of the scroll view must be moved to the origin (doesn't
matter in this context, though).


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6629 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-18 11:56:10 +00:00
Axel Dörfler
69cb3c1013 Moved the TimeSourceOp() call to the beginning of the TIMESOURCE_OP event
(as described by Marcus).


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6615 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-17 16:41:07 +00:00
Axel Dörfler
b70fa5139e We now dynamically add scroll bars to the parameter web view!
Some BeOS classes really are very stupid or just inferior:
- added DynamicScrollView class that adds and removes scroll bars as needed
  and automatically takes care of the correct scroller range and proportions.
- added TabView class that is smart enough to resize its container view
  and the tab views as well.

Both classes could be used in other environments, too. DynamicScrollView
would be a nice addition to BScrollView R2 - might be put into a shared
source directory for now (or into libbe's BPrivate namespace?).
The TabView additions could almost be moved to BTabView without breaking
compatibility, just the resizing mode of the tab views have to be respected.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6612 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-17 03:54:48 +00:00
beveloper
ec276f43a0 bugfix
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6609 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-16 20:54:35 +00:00
beveloper
f2ca77a1b1 provide zero media_header, and let reader or decoder set up missing values
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6538 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-09 00:33:05 +00:00
beveloper
ffaa002659 use the correct value (reported by mmu_man)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6537 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-09 00:32:27 +00:00
shatty
fa8dbc019d new MediaFormats. node monitoring codec plugin loading. codec mods to support new codec api to retrieve supported formats.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6465 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-02 05:26:40 +00:00
beveloper
0f2976ab26 small api changes
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6439 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-31 01:00:11 +00:00
beveloper
a6423eea41 improved media_header usage
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6420 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-29 23:30:00 +00:00
beveloper
7f823d473b if GetFormatFor failes, it now returns a useable wildcard format
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6395 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-28 23:03:18 +00:00
beveloper
df6c2e833f better buffer size suggestion
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6390 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-28 19:08:27 +00:00
beveloper
21aea2f3df make failures more visible
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6389 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-28 19:07:45 +00:00
shatty
e1431e96f3 remove references to B_OGG_FORMAT_FAMILY
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6352 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-27 10:59:33 +00:00
Axel Dörfler
0f18208594 BMediaFormats::InitCheck() now checks if the global lock could be initialized
to give its existance a bit more sense.
update_media_formats() no longer ASSERTS if the lock is held, but fails
if it's not locked.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6300 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-25 15:56:10 +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
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
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
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
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
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
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
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
beveloper
b1cf2fd441 cache info from constructor and do init later
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6151 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-19 21:32:19 +00:00
shatty
a498eb5fda preliminary partial MediaDecoder implementation
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6147 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-19 19:10:18 +00:00
shatty
ceb9cf7abc implement SetMetaData, MetaData, MetaDataSize functions on media_format
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6146 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-19 19:09:43 +00:00
shatty
bc3a0b6ccd implement MediaDecoder, MediaExtractor using added ChunkProvider
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6137 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-18 07:37:52 +00:00
shatty
7e0c41c168 partial SoundFile implementation
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5797 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-12-29 08:57:50 +00:00
shatty
8bd1429511 the unimplemented printout was driving me crazy, so here they are: media_encode_info and media_decode_info struct initializers
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5784 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-12-28 12:23:00 +00:00
beveloper
356784062c to aid decoder debugging
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5775 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-12-28 00:32:41 +00:00
beveloper
bb1d6ef247 raw decoder supports many samples types now, and support for them
has been added to the file readers, you can now play 24 bit integer
or 64 bit floating point files


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5770 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-12-27 14:51:14 +00:00
beveloper
3a9ada71c5 seek back to start position
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5756 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-12-26 00:30:57 +00:00
beveloper
b1a94814dd fixed a couple of issues with id3attr
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5737 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-12-23 00:56:35 +00:00
beveloper
046f31f91f update to the codec api, docoder assignment is now handled in the server
multiple reader add-ons are probed to recognize a media file
FormatManager does the translation from media_format to media_description


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5667 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-12-14 19:23:16 +00:00