Commit Graph

316 Commits

Author SHA1 Message Date
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