567 Commits

Author SHA1 Message Date
François Revol
634dc81de9 remove zeta-specific stuff from the use of USB Kit, USBKit.h is all we need.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19924 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-01-23 18:58:17 +00:00
François Revol
d8501937f6 update makefile to reflect tree change
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19923 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-01-23 18:30:56 +00:00
François Revol
601cedce6a move those down a bit to simplify jamfile writing (where are my wildcards ??)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19921 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-01-23 18:24:36 +00:00
François Revol
7191645844 - renamed some constants to match esd.h
- ask server latency and use it (not always better...)
- set and get host/port parameter, setting doesn't reconnect correctly. not saved yet.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19199 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-11-04 14:51:53 +00:00
Jérôme Duval
74ef7b9cb8 forgot these files, gcc4 build fix
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18903 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-09-21 12:39:49 +00:00
Jérôme Duval
310afb92a6 fixed gcc4 build: these modules stdc++ headers
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18902 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-09-21 12:35:21 +00:00
Jérôme Duval
03f56b4655 fix build with gcc4 because of libstdc++
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18901 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-09-21 12:31:46 +00:00
Marcus Overhagen
891a127fec various gcc 4 related build fixes
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18876 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-09-17 17:34:22 +00:00
François Revol
a6ccb0bef6 Added TODO section. Added (c) Be,Inc. for the sample code.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18695 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-08-29 14:30:50 +00:00
François Revol
ffe8b39144 Spice up the README. Wanted to add a pic of my Sonix but wouldn't help
as it takes so many shapes anyway. If you have a "noname" you might actually have one!


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18674 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-08-28 17:10:01 +00:00
François Revol
32065846ac Added README file. Please note most webcams require isochronous support,
so you'll have to wait for Haiku's USB to support them anyway,
as R5 nor Zeta's really grock iso.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18672 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-08-28 16:43:28 +00:00
François Revol
c1c091984f Those are automatically generated
Update clean rule in makefile
Rename binary from webcam.media_addon 
to usb_webcam.media_addon


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18671 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-08-28 16:08:49 +00:00
François Revol
2c9bd70310 Current version of my USB Webcam driver. WORK IN PROGRESS!
Uses the USB Kit (userland API, needs libusb) to publish a 
media node representing the webcam.
It currently only works with my Sonix webcam (3Euro cheapo 
cam), but is modular enough to easily expand it, some code 
is already there to detect Quickcams.
For now you should be able to build it under Zeta with the 
makefile provided.
Making a Jamfile might get tricky as several source files are 
created by the makefile itself to include addons and censors 
in the build.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18670 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-08-28 16:01:41 +00:00
Axel Dörfler
db942edbe1 * Fixed warnings when compiled with GCC 4.
* Minor cleanup on the way.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18488 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-08-11 19:42:49 +00:00
David McPaul
dbd51bbab9 Modified IsSupported to identify MP4 and MOV files better
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17893 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-06-21 13:15:13 +00:00
François Revol
bdc29e6a6e Add my ESound Daemon Sink media node source code.
I need it on an other box anyway...
Currently uses hardcoded server IP.
Jamfile likely doesn't work (needs net libs);
 and requires ZETA due to TextParameter (for server IP but unused yet; I think Haiku should have it too) will need some ifdefs
Use the provided makefile for now.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17886 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-06-20 22:17:12 +00:00
Stephan Aßmus
b3d94504c2 * added a bunch of drivers by Siarzhuk Zharski
-> a USB Mass Storgage module (SCSI bus manager add-on)
-> a SiS 7018 AC97 driver (uses "old" audio driver interface)
-> a USB Serial driver
-> a USB Vision driver and media add-on (Haupauge WinTV USB)
* moved R3MediaDefs.h from usb_audio driver to common place
  headers/private/audio (also used by SiS 7018 driver)
* added TV tuner frequency defines to data/settings/media/usb_vision

Some of these drivers are in unfinished state, particularily the
USB Vision driver, the VideoProducer doesn't seem to use it yet,
the USB Mass Storage module is known to work though, it also includes
add-ons for itself that add support for some "special" hardware, these
are not integrated with the Jamfile build system though.

Also I didn't much much time with the "CVS package" targets, the
ReadMes are not added, someone with more knowledge about this could
add them...

None of this stuff is added to the Haiku image, it is simply included
to be maintained in the Haiku tree from now on.

* fixed a bug in Video Producer sample inherited from Be Sample
  code - the timing from the time source was not really used,
  on some systems this could cause in the producer not waking
  up at the correct time if the system time and audio card time
  are drifting apart



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17625 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-29 09:54:03 +00:00
Axel Dörfler
42c1d42429 * GCC 4 build fixes
* Some minor cleanup towards our style guide, but this could need
  much more work.
* Better error reporting in GetNextChunk() in case of an read error.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17541 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-22 18:08:13 +00:00
Marcus Overhagen
46daa6672e Made copying into overlay save, by locking the bits.
This could be further optimized, by always hloding the lock,
and only unlocking when app-server requests it.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17481 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-16 19:00:25 +00:00
Marcus Overhagen
df59f3e69d Enabled reporting of MPEG 1 and 2 video codecs.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17469 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-15 19:59:34 +00:00
Marcus Overhagen
8063479445 Imported source code from DVB TV application.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17020 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-04-05 21:23:42 +00:00
Jérôme Duval
3f047e87db renamed multiaudio.addon to hmultiaudio.addon
audio/multi changed to audio/hmulti (avoid confusion with Be's audio/multi)
hmultiaudio.addon won't load ich_ac97 any more (reason is it's not compatible)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16782 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-03-14 10:45:15 +00:00
Marcus Overhagen
f916862c2e Switched to using a local debug header file, instead of using the private media kit file.
This should prevent mixer from beeing build with debug enabled, when media kit is build with debug.
Thus CPU usage will be reduced as mixer no longer prints a lot of information to stdout.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16759 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-03-13 11:34:24 +00:00
Marcus Overhagen
8bf2c25330 copied from private media kit headers
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16758 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-03-13 11:21:46 +00:00
David McPaul
d2428b6bc7 Corrected possible infinite loop
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16755 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-03-13 08:11:10 +00:00
David McPaul
8607ac2ce7 Fix to allow mp4_reader to build again
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16754 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-03-13 08:10:17 +00:00
Jérôme Duval
ebc67dde4a added haiku-mixer-cvs
added float to 20bits convert method
fix the 24 bits one
clean up Resampler.h


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16478 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-20 16:28:56 +00:00
Jérôme Duval
6db8ca1c92 beos compatible
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16255 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-06 18:03:45 +00:00
Jérôme Duval
f616df6a18 multi media addon builds on beos, fixed include missing
added B_AUDIO_INT support and valid_bits use


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16254 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-06 17:59:50 +00:00
Jérôme Duval
ff14d2457a * mixer media addon builds on beos, fixed includes missing
* added 24 bits B_AUDIO_INT support (20 bits still missing)
Marcus please review and fix if needed


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16253 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-06 17:56:48 +00:00
Ingo Weinhold
998eb12d97 Ouch! Sometimes one simply doesn't find words... I wonder whether the
author ever checked the documentation for the function he was trying to
use.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15492 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-12-11 14:09:30 +00:00
Ingo Weinhold
fad6687c9a Fixed PPC build.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15491 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-12-11 14:01:46 +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
Andrew Bachmann
144a7af719 add ffmpeg MPEG4 fourcc, and sorenson for avi
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14032 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-08-21 10:22:53 +00:00
Andrew Bachmann
e8b64a7478 mpeg4 video should be B_MEDIA_ENCODED_VIDEO, not B_MEDIA_ENCODED_AUDIO
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14031 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-08-21 09:19:11 +00:00
Andrew Bachmann
7126bf11ab register some alternative 4cc
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14028 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-08-21 06:36:21 +00:00
Andrew Bachmann
64bddfb663 build patch
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14027 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-08-21 06:33:12 +00:00
David McPaul
a658e5df2d added support to MOV for MPEG4 video
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14026 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-08-21 05:12:22 +00:00
Andrew Bachmann
5fd5db9b3b UseLibraryHeaders zlib
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14021 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-08-21 01:41:11 +00:00
Marcus Overhagen
71c9501a76 fixed wrong usage of DEBUGGER macro
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14018 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-08-21 00:43:33 +00:00
Marcus Overhagen
8c1bec29de fixed build with enabled DEBUG
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14016 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-08-21 00:39:42 +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
47a758b6c2 applied hotfix, but this decoder needs to be replaced with something secure and stable
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14004 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-08-20 21:16:09 +00:00
David McPaul
6108dafc2a Code Cleanup
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13927 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-08-10 10:46:25 +00:00
David McPaul
4bf7f3047f fixes to allow mp4 reader to handle video correctly. Now alpha software
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13874 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-08-02 08:49:01 +00:00
David McPaul
32661d2e83 improved handling of compressed audio
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13811 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-24 06:11:23 +00:00
David McPaul
0ddd1fcb84 pre-alpha mp4 reader
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13805 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-23 01:51:55 +00:00
David McPaul
f1459e8f91 performance improvements
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13658 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-13 13:41:08 +00:00
David McPaul
24af6494ea Removed many bugs relating to multiple video tracks. Replaced these bugs with much more interesting ones
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13657 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-13 12:59:02 +00:00