Commit Graph

450 Commits

Author SHA1 Message Date
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
beveloper
933a883015 Should provide better compatiblity with SoundPlay 4.8 (but SoundPlay does crash)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5632 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-12-08 23:16:43 +00:00
beveloper
8d52474bc7 a couple of fixes to the error handling code
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5631 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-12-08 22:16:03 +00:00
Jérôme Duval
fc8b28b6e1 Implemented GetStartLatency
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5626 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-12-08 08:45:09 +00:00
beveloper
2d923d67f0 fixed playback of small files by properly returning errors
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5617 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-12-07 21:50:36 +00:00
beveloper
2c24a8d065 integration
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5616 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-12-07 21:09:06 +00:00
beveloper
4ba72fcdb4 fixed some bugs in raw wav reading
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5609 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-12-07 14:50:50 +00:00
beveloper
2530523976 codec output format negotiation has been moved into NegotiateOutputFormat,
Setup is now only called once


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5596 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-12-06 23:21:23 +00:00
beveloper
abf9e66abe fixed timing information returned in media_header
added GetFileFormatInfo to reader api


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5595 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-12-06 20:32:40 +00:00
beveloper
1b1b7ddf8f remove warnings
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5594 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-12-06 16:26:08 +00:00
beveloper
d23c804c82 bugfix
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5592 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-12-06 16:11:01 +00:00
beveloper
4cbbc5a9ec small cleanup, format type and encoding depends on the description
and is set by the media kit, not by the reader


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5584 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-12-05 23:46:53 +00:00
beveloper
ac800e9cd8 fixed BMediaTrack::EncodedFormat(), BeOS MediaPlayer now recognizes the tracks!
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5583 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-12-05 23:23:18 +00:00
beveloper
c90d275292 fixed crash in BMediaFile destructor
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5582 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-12-05 22:27:17 +00:00
beveloper
d0b86c0f31 mp3 decoding and seeking works now
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5581 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-12-05 22:11:52 +00:00
Jérôme Duval
b65a0ac50e fixes GetFreeOutputs/Inputs and GetConnectedOutputs/Inputs (cortex now reports correctly the connections with the mixer)
implements GetInitialLatency (untested)


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5580 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-12-05 09:16:11 +00:00
beveloper
1210ab70ac Huge hack to load the mp3 reader and decoder.
Soundplay loads it and can play a crackling mp3, but MediaPlayer doesn't


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5572 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-12-05 01:18:51 +00:00
beveloper
0f741a83c1 more codec api enhancements
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5523 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-12-01 23:33:35 +00:00
beveloper
572e60a481 some more changes, no longer using BMediaFormats
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5522 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-12-01 22:20:59 +00:00
beveloper
f2f3482e7b implemented media_format_description
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5497 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-29 14:28:54 +00:00
beveloper
da87cefeb1 added the new media_meta_description and changed codec API to use it
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5494 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-28 22:34:14 +00:00
Jérôme Duval
0a8e9c766a To clear the current entry_ref
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5477 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-25 10:09:36 +00:00
beveloper
7a115dc75d integrating codec API, added some MediaExtractor functionality
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5470 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-23 23:50:27 +00:00
beveloper
d859148201 integration of codec API into BMediaFile and BMediaTrack
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5468 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-23 22:19:21 +00:00
beveloper
bce1ab5efd another round of codec API changes
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5458 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-23 18:17:35 +00:00
Jérôme Duval
8b9700ad24 GetInstancesFor must accept a NULL iocount and consider it as 1
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5395 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-17 10:12:21 +00:00
Jérôme Duval
4691dc7ff8 MediaFiles support added
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5324 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-12 10:24:42 +00:00
beveloper
9a4592531d latest api changes...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5252 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-04 01:32:33 +00:00
beveloper
ca16f5cb03 start of media kit codec plugin API
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5078 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-17 23:55:19 +00:00
beveloper
51e7b01fac changed timeout calculation
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4918 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-01 17:01:06 +00:00
beveloper
2feec67c73 changed debug output
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4917 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-01 17:00:38 +00:00
beveloper
a6d316d89d added unused debug output
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4916 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-01 16:59:58 +00:00
beveloper
92e575c103 Moved system time source code into media_addon_server.
It is now a real node.
Shadow timesources finally have the correct control port id.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4604 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-09 09:07:06 +00:00
beveloper
d33e7c4428 added debug output
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4566 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-08 19:33:58 +00:00
beveloper
23d4209d29 fixed periodic plop noise that happend about every second
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4565 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-08 19:33:23 +00:00
beveloper
f2f96e6f06 small tweak to allow control of continuous parameter range 0.0 to 1.0
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4564 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-08 17:48:17 +00:00
beveloper
a0032ff0cf latency now depends on buffer duration
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4547 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-07 22:39:35 +00:00
beveloper
951c57f390 used real buffer id (the buffer handling needs to be redone)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4546 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-07 22:38:38 +00:00
beveloper
d6fab5bcbb removed debug output
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4545 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-07 22:38:03 +00:00
beveloper
4d2d96e050 new functions that work with pointer to the node, instead of sending messages
this should avoud deadlocks during execution of RegisterNode()


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4544 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-07 22:37:20 +00:00
beveloper
71c77b48dd latency calculation is now done in realtime
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4543 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-07 22:36:21 +00:00
beveloper
1df08d394c added missing buffer header field, added comment
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4542 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-07 22:35:45 +00:00
beveloper
8d481eeefd cached BBuffer object are not allowed to be deleted until they are Recycled,
temporary changed to never delete them...


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4541 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-07 22:35:06 +00:00
beveloper
344122f0e3 added comment
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4540 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-07 22:32:51 +00:00
beveloper
d48f9c63eb reduce debug output at level 2
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4458 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-03 00:55:32 +00:00
beveloper
d91580cd9a removed/fixed warnings
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4418 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-31 02:18:11 +00:00
Axel Dörfler
cb6670b490 The groups are now put into special GroupViews which not only set the target
of its members correctly, but will also add scroll bars as needed.
Implemented basic message filters for discrete/continuous parameter views.
The views are now set to the correct parameter value and vice versa.
BContinuousParameter::{Get|Set}Response() is not yet supported, though.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3874 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-06 14:08:26 +00:00
Axel Dörfler
7b96988a72 BParameter::GetValue() now only copies as much data as specified by the reply.
BParameterGroup::Unflatten() did not set the mWeb member of BParameter.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3873 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-06 14:05:13 +00:00
Ingo Weinhold
2386ff94ad Added missing include.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3854 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-05 12:30:23 +00:00
Axel Dörfler
78aa9c8040 The creation of the parameter views now happens before the sub-groups are
added to the group. That way, a title view can be identified and always
placed at the top of the view.
Fixed minor related bugs.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3804 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-02 04:21:09 +00:00
Axel Dörfler
4b582fd16a Now sets the height of the parameter web correctly (wasn't visible with the
Media preferences application alone).
Replaced the BBox with a simple BView for the container of a BParameterGroup.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3801 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-02 02:58:36 +00:00
Axel Dörfler
c81f1c978f Added support for the B_HIDDEN_PARAMETER flag.
Added heuristica to only show those BNullParameters which the original media
kit shows.
Removed flickering in the SeparatorView drawing code.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3800 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-02 02:33:17 +00:00
Axel Dörfler
652243dade Added workaround for a misbehaving BOptionPopUp class (doesn't resize itself
properly - it obviously needs the correct size at creation time...).


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3799 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-02 02:13:13 +00:00
Axel Dörfler
b8da958ed6 Big visual update: it's now almost the same as the original MediaTheme.
Some special parameter types are still missing, actually changing anything
is missing, some needed work-arounds for broken Be code, etc.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3798 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-02 02:06:21 +00:00
Axel Dörfler
9505110943 BParameterGroup::Unflatten() didn't set the mGroup field of its parameters.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3797 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-02 02:03:37 +00:00
Axel Dörfler
2f4575bfcf Fixed a crashing bug in BParameter::Unflatten(): it accidently called
AddInput()/AddOutput() instead of just adding the unflattened (unfixed)
pointer to the appropriate lists.
Added a comment that it's valid to add the pointers at this time since
they will be fixed later on.
BParameterGroup::MakeControl() unnecessarily initialized the newly created
parameters with some default values.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3785 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-01 16:04:00 +00:00
Axel Dörfler
42b6476dd4 Activated the default media theme to be used.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3784 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-01 15:43:08 +00:00
Axel Dörfler
d662f7f451 Implemented a very simple default media theme. You can't do anything yet,
but you should already see most of the options.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3783 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-01 15:42:44 +00:00
Ingo Weinhold
6ab18748f3 Removed invocations of UsePublicHeaders, which was a no-op anyway.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3628 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-23 16:53:22 +00:00
beveloper
5ac4fbd70d clean up of debugging functions
FATAL is now replaced by ERROR and active at DEBUG=1 or above
TRACE is active at 2 or above
PRINT(level, ...) can be used for DEBUG= level or abode
INFO is removed


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3578 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-19 14:53:41 +00:00
Axel Dörfler
e5c72c1505 Added the memory checking support in the Jamfile; use "CHECK_MALLOC=1 jam"
to activate it.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3528 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-15 20:26:20 +00:00
beveloper
890238390f implemented media_format Matches() and SpecializeTo()
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3496 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-13 16:25:56 +00:00
beveloper
9a232d4e5c added DefaultMediaTheme.cpp
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3495 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-13 13:19:56 +00:00
beveloper
01fa698a92 implemented BParameter::SetValue() and BControllable::SetParameterValue()
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3494 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-13 12:43:52 +00:00
beveloper
76af595aa9 initialize mNode variable
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3493 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-13 12:07:58 +00:00
Axel Dörfler
6836c3cb8c Add a first non-functional version of the default media theme.
Implemented all needed functionality in BMediaTheme to use this default
theme - it's currently disabled, though (or should be).


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3491 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-13 03:56:28 +00:00
beveloper
17488f48b1 Implemented BParameter::GetValue() and BControllable::GetParameterValue()
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3488 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-13 00:42:55 +00:00
Axel Dörfler
241ca61820 Fixed a stupid typo that got in in the last minute.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3482 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-12 02:49:51 +00:00
Axel Dörfler
9bf6c6c63d Work in progress of the BParameterWeb rework; almost every line has been
changed, sorry.
Fixed many bugs in the old implementation, this one is now also endian-aware,
is faster on many things, works with stampTV, ...
Cleaned up a lot, most of it now complies with our style guide. Added a bunch
of helper functions that makes the code much better (to read), and easier to
maintain.
It's not yet completed though - will do that soon.
Also still missing is any documentation about those classes - I will also
work on this.
The changes have to downsides, though:
- I broke compatibility with the R5 flattened format. It shouldn't be a big
  issue, since it was never thought to be put on disk - I will look into
  that, though.
- the previous implementation had a strange policy when the Unflatten()
  methods had reason to fail - it tried to read as much as possible instead
  of just failing and leaving an invalid object behind. The new implementation
  will just fail - the object you called Unflatten() from might not contain
  useful information after this, though.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3470 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-11 03:12:46 +00:00
beveloper
2eb7012d8e added missing header file
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3445 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-06 20:21:54 +00:00
Jérôme Duval
adc3b786d1 ok the right file this time ...
*Volume* methods implemented; tested with SoundPlayerTest.cpp; only valid when connected with R5 AudioMixer


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3440 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-06 14:22:26 +00:00
Jérôme Duval
37ed595f3a *Volume* methods implemented; tested with SoundPlayerTest.cpp; only valid when connected with R5 AudioMixer
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3439 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-06 13:56:44 +00:00
beveloper
908eaf852b removed ASSERT
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3437 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-06 01:19:22 +00:00
beveloper
715be7e1d4 added symbols required by BeOS R5 emu10k.media_addon
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3434 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-05 18:01:00 +00:00
beveloper
af995aeda6 added symbol Connected__15BBufferConsumerRC12media_sourceRC17media_destinationRC12media_formatP11media_input
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3417 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-03 23:52:14 +00:00
beveloper
a0703a47ce fixed BSoundPlayer::Stop() bugs exposed by CL-Amp
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3413 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-03 21:02:38 +00:00
beveloper
cc2b59509b fixed format negotiation
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3411 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-03 19:01:53 +00:00
beveloper
a8c2408c09 fixed format setup, CL-Amp works now
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3410 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-03 19:00:34 +00:00
beveloper
69983609f2 fixed format negotiation and added some more debug output
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3409 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-03 18:59:43 +00:00
beveloper
11b92ae72b next event calculation properly based on frames played in performace time now
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3401 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-03 01:15:18 +00:00
beveloper
f180ef79b2 Fixed crash in Cortex caused by BMediaRoster::MakeTimeSourceFor()
returning NULL when asked for the system time source.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3400 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-03 00:06:49 +00:00
beveloper
2de73166b5 fixed crash inside string_for_format()
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3399 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-02 23:54:17 +00:00
beveloper
4295907bd1 fixed (hopefully) all latency bugs
fixed BMediaRoster::MakeTimeSourceFor()


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3397 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-01 22:09:26 +00:00
beveloper
5917dd5b85 various timing related bugfixes
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3395 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-01 17:18:24 +00:00
beveloper
2bff4d995e start node at correct performance time
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3391 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-30 20:41:04 +00:00
beveloper
1ab3e01897 bugfixes and debug information
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3390 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-30 20:34:48 +00:00
François Revol
d9d219a135 forgot some strings in string_for_format()
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3388 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-29 18:15:23 +00:00
François Revol
9126f16df4 string_for_format implemented.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3387 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-29 17:46:44 +00:00
beveloper
9bedd42cd1 many fixes to improve timing
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3386 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-29 17:28:11 +00:00
beveloper
8394328625 lots of boring comparisons
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3341 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-26 14:44:28 +00:00
beveloper
21871f384e various bugfixes
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3339 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-26 12:58:06 +00:00
beveloper
a4289a95c0 fixed initialization, added debug macros
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3338 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-26 12:37:52 +00:00
beveloper
5b4256ce42 removed debugging code
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3337 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-26 12:37:05 +00:00
beveloper
4f09fa2ff1 various small bugfixes
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3321 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-25 23:59:16 +00:00
beveloper
359ac30644 Added automatic loading of physical input and output nodes.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3320 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-25 21:16:53 +00:00
beveloper
d8d1ef215b Fixed crash, a pointer was deleted twice. Small cleanup, too.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3302 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-24 00:16:23 +00:00
beveloper
97bd102167 removed some of the debug messages
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3299 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-23 23:36:09 +00:00
beveloper
18eed37337 removed some of the debug messages
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3298 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-23 23:33:32 +00:00
beveloper
f6ae82103c Fixed deadlock, the cookie is incremented by the node, not by the media kit.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3296 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-23 23:13:55 +00:00
Jérôme Duval
95531d1e1b Working SoundPlayer and SoundPlayerNode, it lacks volume methods
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3210 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-11 17:41:38 +00:00
beveloper
1ed6c90897 quick & dirty workaround
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3181 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-06 23:53:36 +00:00
beveloper
255a01c76a Added a new license to this file, as I'm the author.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3068 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-04-14 23:31:32 +00:00
beveloper
3d362ac433 added debugging information
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3033 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-03-24 01:17:57 +00:00
beveloper
84f893513c fixed one bug
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3032 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-03-24 00:33:22 +00:00
beveloper
28ad138ac9 Implemented BMediaRoster::GetParameterWebFor().
Unfortunately, BParameterWeb flattening seems to be broken.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3013 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-03-23 23:58:17 +00:00
beveloper
60f15390cd a couple of fixes regarding latency calculation
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2996 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-03-23 01:08:27 +00:00
beveloper
5c080a95ca system time source is always running.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2995 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-03-23 01:07:55 +00:00
beveloper
373a2a570c Fix crashing bug on BBufferGroup deletion.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2994 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-03-23 01:06:22 +00:00
beveloper
8239aad969 Avoid crashing by returning a valid BView pointer
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2993 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-03-23 01:05:15 +00:00
beveloper
626824eaaf Added reference counting of media add-on instances.
You can't create more node instances than "possible_count".


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2990 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-03-22 01:11:07 +00:00
beveloper
7379471718 OBEY possible_count
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2940 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-03-18 00:11:52 +00:00
beveloper
54187cc6e8 Global nodes can mow be released by the teams which created them.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2923 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-03-16 03:52:52 +00:00
beveloper
86bce45b0c Removed time sourced from reference counting.
Releasing nodes works now, except if they have been instanciated globally.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2920 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-03-15 01:59:10 +00:00
beveloper
cf4e227786 fixing BMediaRoster::ReleaseNode()
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2915 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-03-14 23:12:11 +00:00
beveloper
d2ecd5a91c code style cleanup
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2914 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-03-14 14:29:52 +00:00
beveloper
8b04ffc12d Reorganized BMediaRoster support functions.
Improved dormant node support.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2910 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-03-14 14:09:27 +00:00
beveloper
742580b40f Improved error handling and timeouts.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2909 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-03-14 14:06:23 +00:00
beveloper
40f36b03c6 some cleanup
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2895 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-03-12 02:34:56 +00:00
beveloper
7fd432700b Updated time source code to allow automatic starting and stopping of time sources.
Sending run mode changes and broadcasting of time changes is also implemented.
For one reason or another, all this doesn't work right now.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2520 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-20 01:11:15 +00:00
beveloper
d6379053ba Made time sources mode BeOS R5 conforming.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2395 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-09 17:54:20 +00:00
beveloper
0e21b167c9 time sources now publish and retrieve timing information
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2372 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-06 23:11:18 +00:00
beveloper
aac800c2d1 added SetTimeSourceFor
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2371 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-06 14:24:08 +00:00
beveloper
835140c89a better time source support
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2356 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-05 23:35:07 +00:00
beveloper
a30d6966c0 use another number
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2354 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-03 01:57:42 +00:00
beveloper
287f7492c3 more time source function...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2353 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-03 01:51:22 +00:00
beveloper
5aab162dcc removed compiler warnings
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2223 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-12-10 20:15:29 +00:00
beveloper
618b1338cc cleanup
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2220 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-12-10 18:24:15 +00:00
beveloper
76669a292a changed use of port communication, debugging functions, map, list and stack
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2196 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-12-08 23:53:51 +00:00
beveloper
353b9f6bce changed map and list templates to be more useable, however, they will
be rewritten soon. Changed debugging macros and use of them, too.
Also replaced the linked lists in the BufferManager (which were complicated,
but working ok) with template based ones.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2133 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-12-03 00:59:42 +00:00
beveloper
41ba915d42 various small changes
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2071 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-24 00:27:09 +00:00
beveloper
6396865dcd added automatic media_addon_server launching and termination.
added detection of and cleanup after application crashes.
if the media_addon_server crashes, it will be restarted.
removed preleminary volume control functions.
removed unneeded media_server functions.
changed application registration to use port based messaging.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2027 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-20 01:28:23 +00:00
beveloper
dfb2ad6148 code cleanup
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1833 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-03 16:03:23 +00:00
beveloper
50051aab06 might work better
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1791 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-30 16:37:59 +00:00
beveloper
9fc7164698 allow building everything without local(tree external) header files beeing
used for kernel or kit components


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1630 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-23 20:13:17 +00:00
beveloper
570f7d0456 updated to include the same features/bugs as the screenshot in today's news.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1479 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-10 18:55:47 +00:00
beveloper
1299bfb29f added real media_server node management, removed bugs, added debug output
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1467 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-08 23:59:43 +00:00
beveloper
d54e84e0e2 I don't know anymore what I did with these files, but they seem to have changed
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1448 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-08 00:26:45 +00:00
beveloper
85dfab2ba8 even more BMediaRoster functions
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1396 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-05 19:45:50 +00:00
beveloper
9e9417d205 more BMediaRoster functionality
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1381 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-05 13:02:26 +00:00
beveloper
a7b41a964a fixed memory leak
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1364 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-04 01:45:11 +00:00
beveloper
0caff28317 fixed some bugs, test program works again
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1363 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-04 01:20:49 +00:00
beveloper
3620737cb7 added more BMediaRoster functionality
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1359 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-04 00:45:20 +00:00
beveloper
5edd2016f8 removed some warnings
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1355 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-03 12:17:47 +00:00
beveloper
63ffaa3ea4 some last minute changes...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1348 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-02 22:40:30 +00:00
beveloper
8c6a6096e7 rewrote BMediaRoster::Connect() and a few related functions
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1347 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-02 22:12:10 +00:00
beveloper
e66fda405a finished notification support
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1345 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-02 16:54:53 +00:00
beveloper
f492510482 changed media kit internal messaging and notification support
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1338 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-02 01:04:48 +00:00
beveloper
378dd356b5 reverted to 1.1 version.
unfortunately, I thought I had tested 1.2 when I got it about 3 weeks ago,
and included it today without further testing. But it turned out that it
doesn't even compile and needs to be redone.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1297 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-29 21:59:46 +00:00
beveloper
c333623829 initial work done by John Hedditch
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1296 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-29 20:12:56 +00:00
shatty
9b232192b4 fixed newline at end of file.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1251 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-28 22:00:14 +00:00
shatty
111ba71e7c fixed numerous casting errors
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1233 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-28 05:21:50 +00:00
beveloper
042847af1f some more changes to the notification support. still not finished.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@938 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-30 00:34:19 +00:00
beveloper
eae26d3da1 Start adding notification support
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@854 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-22 23:34:33 +00:00
beveloper
d0aedf22d8 This update adds a BeOS R5 compatible B_TIMECODE_DEFAULT.
Submitted by David McPaul.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@853 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-22 23:16:18 +00:00
beveloper
6c062d1f93 David McPaul added support for drop frame formats.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@806 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-18 12:26:59 +00:00
beveloper
16b7eea41a Add some experimental media add-on instantiating support, more debugging and bugfixes
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@744 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-13 15:21:32 +00:00
beveloper
d6b71edf06 Updated to make media_addon_server work with the DormantNodeManager class
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@730 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-13 00:38:09 +00:00
beveloper
3ba329f7bf Start using a class for management and (perhaps later) caching of dormant media nodes
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@719 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-12 19:38:19 +00:00
beveloper
867a12bf32 removed this file
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@718 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-12 19:38:19 +00:00
beveloper
44213a4da5 Changed to use the DormantNodeManager class.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@717 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-12 19:38:19 +00:00
beveloper
3055ce2f77 David McPaul started working on this class and made this changes.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@678 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-09 23:39:16 +00:00
beveloper
7d3a98264a I felt I had to do *something*
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@230 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-15 00:33:52 +00:00
beveloper
b6de9d11ff removed compiler warnings
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@138 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-12 15:16:31 +00:00
beveloper
48ff964fe7 removed warnigs
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@131 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-12 14:01:44 +00:00
beveloper
e020762819 finally get libmedia.so building :-)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@107 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-12 00:25:55 +00:00
Ingo Weinhold
0a483e7221 Fixed includes.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@86 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-11 19:54:41 +00:00
Ingo Weinhold
19f0c92e2f Added the media kit to the build.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@85 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-11 19:54:20 +00:00
beveloper
24509b3b8e Stop these files breaking the build, needs to be fixed later
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@72 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-11 01:09:21 +00:00
ejakowatz
52a3801208 It is accomplished ...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-09 12:24:59 +00:00