Commit Graph

567 Commits

Author SHA1 Message Date
beveloper
aa5bc42ba6 print more info about the chunk before aborting on 0 size check
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9655 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-29 20:28:56 +00:00
beveloper
84f1c37fc5 Added a lot of checks to read slightly broken AVI files, as those created by Pinnacle Studio 9 for Windows, without problems.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9654 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-29 20:22:23 +00:00
beveloper
1887ce98cb Added DV decoding support
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9539 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-27 21:09:56 +00:00
shatty
8b6368d31b use user_data for ogg_packet and pass raw data pointer through chunkBuffer
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9495 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-25 08:22:59 +00:00
beveloper
88debd334e This must say Haiku of cause
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9486 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-24 17:26:03 +00:00
beveloper
49e6b955a6 fixed wrong debug output
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9464 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-23 18:01:39 +00:00
beveloper
6736ae524a This fixes the bugs that crashed nplay and ColdCut during the Begeistert 13 presentation
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9463 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-23 18:00:53 +00:00
Stefano Ceccherini
c6a2e89fec Fixed small typos in the comments
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9284 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-11 14:43:32 +00:00
Jérôme Duval
dcda1706fa Unprotected MultiAudioDevice destructor.
Now deletes MultiAudioDevices which don't init correctly.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8663 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-08-26 14:01:39 +00:00
beveloper
b9a82d4068 fixed broken debug info printing
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8579 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-08-15 14:31:55 +00:00
shadow303
6415bfd325 Fix problem with "missing" private header
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8480 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-07-27 00:46:43 +00:00
shadow303
5d6aa7a14f Forgot the Jamfile
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8411 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-07-16 21:13:09 +00:00
shadow303
ffec4cb14d Add video in support included with version 4.1 of the radeon driver.
Feel free to relocate if I have guessed the wrong destination for this stuff.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8407 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-07-16 00:49:57 +00:00
Jérôme Duval
55a855f813 Added a package rule
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8156 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-25 09:30:02 +00:00
beveloper
9c4e5ba632 removed most warnings
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8138 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-23 21:27:23 +00:00
shatty
c11def3bf2 liboggz-0.8.3
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7948 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-13 00:18:40 +00:00
shatty
5b4e9da884 libogg-1.1
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7945 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-12 23:10:22 +00:00
beveloper
5b74faecce removed warning
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7944 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-12 23:04:44 +00:00
beveloper
3c232c2cba added missing newline
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7938 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-12 22:28:39 +00:00
beveloper
20c1edc7d0 fixed warnings
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7936 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-12 21:53:07 +00:00
shatty
9c5b691f22 workaround for crashing bug in RealPlayer. specialize the frame_rate when Connected gets called with a frame rate of 0.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7690 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-30 20:09:07 +00:00
Jérôme Duval
3a47295d37 Link with our libmedia.so
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7549 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-13 08:22:03 +00:00
beveloper
666fb348c4 some uncommited changes from long time ago. hope this doesn't break anything.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7448 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-07 18:43:44 +00:00
shatty
8efe380a8a add more variants of MS MPEG4 vx
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7413 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-05 07:45:06 +00:00
shatty
094bec45ab add lowercase variants of MS MPEG4 vx, verified MS MPEG4 v2 seems to be working, for decoding anyway
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7412 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-05 07:32:39 +00:00
beveloper
2fe87e7c58 Fixed handling of 0 byte large chunks.
Rewrote error checking during file parsing, parsing now aborts immediately after the first error.
Disabled all TRACEing, added ERROR fprintf for real errors.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6991 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-03-15 23:30:09 +00:00
beveloper
62ffde749f No longer crash or exit(1) all open MediaPlayer windows when a bad mp3 file is played.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6964 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-03-14 02:08:51 +00:00
shatty
4a89640d25 fixed usage of init_vorbis_media_raw_audio_format
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6930 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-03-08 03:06:31 +00:00
beveloper
44c1e167fc gave mixer a non alpha version number for bebits release
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6925 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-03-06 23:32:55 +00:00
beveloper
fa53639792 Added liba52, a GPL licensed AC3-decoding library.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6924 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-03-06 22:48:00 +00:00
beveloper
1e6635acba Added the AC3-decoding plugin. It must be treated as GPL licensed, as it'
using the GPL'ed liba52.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6923 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-03-06 22:46:49 +00:00
beveloper
194362d68b included the ac3-decoder addon (when GPL add-ons are included)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6922 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-03-06 22:45:03 +00:00
beveloper
6341d53b82 changed buffer size handling
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6921 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-03-06 22:42:54 +00:00
shatty
6f524d0869 audio buffer size patches
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6829 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-29 23:31:22 +00:00
shatty
681619c2ba code simplifications, initialize output in Setup for now
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6828 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-29 22:59:49 +00:00
beveloper
93df7353db simplified vorbis format negotiation and fixed buffer_size negotiation
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6812 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-29 18:48:22 +00:00
beveloper
e4e48cc279 crash fix for broken files
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6811 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-29 18:46:50 +00:00
beveloper
fd8c0a5cca fixed buffer size format negotiation
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6810 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-29 18:46:09 +00:00
beveloper
fb3053bc25 removed int16 decoding (was a SoundPlay workaround)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6803 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-29 17:58:32 +00:00
beveloper
34cee003fb fixed reporting of frameCount, removed truncation of reported duration
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6802 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-29 17:34:27 +00:00
beveloper
63dd01d5f2 added saturation to float conversion
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6801 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-29 17:33:36 +00:00
beveloper
d480685184 since GetStreamInfo is called multiple times, moved initialization into AllocateCookie
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6800 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-29 17:14:16 +00:00
shatty
f870bff890 fix brain-dead branching
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6751 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-26 08:22:48 +00:00
shatty
4a673a0246 fix brain-dead branching
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6750 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-26 08:16:53 +00:00
shatty
d836ffd41a stream-only version of shared seekable/stream implementation
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6749 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-26 08:12:28 +00:00
shatty
eab11aaaa3 don't call debugger in decode, slightly shorter pretty name
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6748 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-26 07:54:26 +00:00
shatty
77b98cab57 ogg brought up to cvs as of today, required for theora
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6729 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-24 13:52:39 +00:00
shatty
d9a70ec5c8 improved memory cleanup
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6728 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-24 13:51:12 +00:00
shatty
dd05a93c1b theora codec based on theora cvs as of today
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6727 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-24 13:50:14 +00:00
shatty
441fd5bdb4 runtime check for soundplay lossage
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6701 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-23 10:10:41 +00:00
beveloper
6931679100 added side left and side right channels to default output mix for better 8 channel playback
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6658 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-20 01:09:13 +00:00
shatty
6db6a6824b realign to page on sync loss
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6645 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-19 05:26:42 +00:00
shatty
65a8a591f1 less whacking on the disk during seek to zero. prettier debug output. :-)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6641 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-18 22:56:41 +00:00
beveloper
5e88de2dea fixed "`status_t status' might be used uninitialized in this function" error
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6639 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-18 19:03:38 +00:00
shatty
8b876a958c smooth play patch
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6635 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-18 14:49:40 +00:00
shatty
dc51127a5d seek and sync, it doesn't get much better than this
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6632 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-18 13:10:28 +00:00
shatty
73da0c41c1 new and improved start time for better sync���!
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6628 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-18 10:39:50 +00:00
shatty
eaa176da6c fixes for start_time returned from vorbis/speex, makes nplay work better in seeking. I note that this also made MediaPlayer stop reporting a bunch of dropped frames at every seek.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6627 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-18 10:12:50 +00:00
shatty
3f71285861 seeking in ogg
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6626 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-18 09:46:13 +00:00
beveloper
91a3abc0dc Then the video fourcc is 0 or 'fake', the compression ID is used instead. This fixes problems with a few AVI files.
Disabled most debugging output.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6618 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-17 22:37:52 +00:00
beveloper
7be5d9c6ad disabled most debugging output
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6617 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-17 22:36:25 +00:00
shatty
56b91b1a41 streaming detection based on SEEK_END, tested and working in MediaPlayer for ogg streams from SoundPlay live encoder (oggenc)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6614 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-17 09:56:53 +00:00
beveloper
8a8f7088fe removed dead code
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6608 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-16 20:53:13 +00:00
beveloper
745f0912e6 removed AC-3
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6607 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-16 20:51:14 +00:00
beveloper
5bfdcec505 Using lookup tables for saturation and to avoid multiplications. About 20% faster.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6600 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-15 19:26:02 +00:00
beveloper
39d2157739 slightly faster again. amazing.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6595 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-15 16:21:30 +00:00
beveloper
93d87149dc slightly faster saturation checking
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6594 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-15 15:51:39 +00:00
beveloper
e443332206 removed debug printf
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6593 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-15 02:58:40 +00:00
beveloper
2d73b791c8 performance optimization, the code is finally correct
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6592 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-15 02:17:12 +00:00
beveloper
2e09ab5db5 simplified
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6591 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-14 22:22:56 +00:00
beveloper
0a66a3e039 wrote a optimized C conversation from yuv420p (which is really YCbCr to RGB32)
I'm not sure if I really understood the 420p format, so the conversion might
be wrong. But it really looks nice


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6590 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-14 21:24:55 +00:00
beveloper
bc3e91dcb6 added video image format conversation stuff, derived from mmu_man's ffmpeg decoder, with heavy modifications
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6589 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-14 18:02:22 +00:00
beveloper
5524db596f fixed duration calculation for compressed data. The three .au test file with muLaw compression that I have play ok now
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6588 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-14 01:27:47 +00:00
beveloper
39be96dee0 support for non stereo data (like mono, or 4 channel)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6587 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-14 01:09:03 +00:00
shatty
53d4f7cf34 FindLastPage fix for reading broken cd files (weird case where you can get 0 bytes read even if you seek in front of the end of the file). also some performance check on FindLastPages performance. print frame count/duration computed in GetStreamInfo.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6574 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-13 08:16:22 +00:00
shatty
95c8060a66 quiet readpage only speaks on errors. also invokes debugger if sync is lost
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6573 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-13 08:14:04 +00:00
shatty
2e8a6e27d0 speex codec changed to use unpacked packets (more generic)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6559 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-11 04:22:45 +00:00
shatty
e23d6a15a6 speedy duration computation, seek to zero, still missing the samples from the initial packet though?
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6551 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-10 11:01:47 +00:00
beveloper
bf3a9e7597 added something, but it doesn't work well
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6545 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-09 23:11:10 +00:00
shatty
7eef05968f seekable version 0 [not seekable lol]
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6544 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-09 09:17:08 +00:00
beveloper
94261db3a6 some support for aLaw and muLaw audio decompression
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6542 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-09 02:44:57 +00:00
shatty
3914c20b70 purposeful default 5 min length for ogg vorbis streams
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6541 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-09 02:04:53 +00:00
shatty
59c2f096b7 no noisy AddPage. AddPage hack for OggTobiasStream dumps subtitles to stderr
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6540 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-09 01:30:44 +00:00
beveloper
350710ea5e return an error when Seek is called
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6539 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-09 00:38:24 +00:00
shatty
68d9b851e8 good sync in nplay
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6525 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-08 11:30:48 +00:00
shatty
d897b15019 improved info extraction.. plays as fast as possible in MediaPlayer, not well in nplay
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6524 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-08 11:13:38 +00:00
shatty
b8827c3055 new separation of streams from seekables - first view of ogm video!
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6523 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-08 09:53:22 +00:00
beveloper
b6fed4cfc9 fixed calculation of encoded audio duration
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6518 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-07 12:12:43 +00:00
beveloper
02d71913c4 fixed duration calculation
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6517 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-07 12:00:30 +00:00
beveloper
f7295bb445 Cleanup of code. License added.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6516 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-07 11:30:07 +00:00
beveloper
82c11c1153 Fixed WMA support.
Frame rate, bit rate and other calculations improved.
Audio stream frame count and duration broken now.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6515 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-07 01:37:29 +00:00
beveloper
5ee3807fdc fixed WMA support
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6514 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-07 01:35:51 +00:00
shatty
46eb57b150 undo accidental commit of video_util.h comment out
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6484 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-03 09:42:52 +00:00
shatty
cce6e4c938 build patches
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6467 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-02 07:13:30 +00:00
shatty
8d32e5c625 more avcodec files
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6466 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-02 05:45:31 +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
shatty
a3fd835dad add lcl vmdav
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6463 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-02 01:05:21 +00:00
shatty
a96f066c38 updated to cvs : February 1, 2004
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6462 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-02 00:42:25 +00:00
beveloper
ae5fe0d26e pass full wave format, including extra data, as meta data
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6449 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-31 22:33:40 +00:00
beveloper
ec7ba455ed removed non working assembly
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6445 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-31 16:20:16 +00:00
beveloper
cc95481e0e Lets do the TIME WARP again
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6444 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-31 14:51:26 +00:00
beveloper
6e04e144d6 minor api changes
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6443 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-31 12:39:55 +00:00
beveloper
13e3339edc force decoding as int16 to fix SoundPlay compatibility
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6438 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-31 00:56:52 +00:00
shatty
d7f45f5855 NegotiateOutputFormat can not error in any situation -- really
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6431 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-30 09:21:22 +00:00
shatty
ba47158dc9 stereo outputs twice as much data. now it works!
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6430 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-30 09:00:11 +00:00
shatty
619fa324f4 step by step, to a better stereo decode
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6429 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-30 08:41:06 +00:00
shatty
82175b7177 sweet speex.. at least for mono
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6428 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-30 08:27:32 +00:00
shatty
1f82f2a416 stereo decode fix
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6427 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-30 08:17:50 +00:00
shatty
8db90088c9 more strict check on blocksizes in the header
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6426 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-30 06:43:47 +00:00
beveloper
d7a5db30d1 report something for audio, too (doesn't work well)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6422 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-29 23:44:53 +00:00
beveloper
e9fe0b2203 Properly report video track information.
Moved infromation gathering into AllocateCookie.
Report proper data in GetNextChunk media_header.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6421 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-29 23:32:10 +00:00
beveloper
1689f0e346 make MediaPlayer recognize the video track, plus small cleanup
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6400 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-28 23:34:08 +00:00
beveloper
0e1505b5f4 more support for video tracks
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6397 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-28 23:04:52 +00:00
beveloper
507f09d364 added standard avi index parsing
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6394 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-28 23:01:46 +00:00
beveloper
d20d5c94f4 temporary crash fix
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6388 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-28 18:23:50 +00:00
shatty
97a08414e0 accurate frame count and duration computation. SoundPlay seems to behave /slightly/ better now. At least it stopped machine-gun playing the files. unfortunately the caching packet implementation seems to come with a drawback. the granulepos is only valid on the initial traversal through the file. not sure why but this means that we only get one shot at computing the frame count and duration, so I cached them for the time being. it would be nice to be clever about recomputing the frame count and duration in the face of changing file sizes (downloads) and not traverse the whole file anyway, but this will require some more work. also we may (will?) need those granulepos for seek.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6327 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-26 10:51:54 +00:00
shatty
992d3cc594 std::vector<void*> crashes gcc 991026, so I switched to a vector of stream serialno, and use the stream serialno through the serial->OggStream* map to get back the OggStream * cookie for AllocateCookie. (whew!) casting the pointer to int probably would work too but this solution seems less hackish.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6308 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-26 00:22:56 +00:00
beveloper
6e2ff16018 small test, but this resync thing doesn't work well
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6305 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-25 22:07:07 +00:00
shatty
05116a366a do not fail if GetFormatFor fails, instead spit out a TRACE message and then use a default format, with the user_data field populated so that MediaPlayer can give a somewhat helpful error message
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6303 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-25 21:33:28 +00:00
shatty
79b7954ccf somewhat more fun duration stuff.. for testing purposes only
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6286 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-25 14:38:18 +00:00
shatty
96fea92979 static variables in functions are all fun and good until you realize that they are not equivalent to class level variables when that function is a method
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6279 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-25 12:49:33 +00:00
shatty
801227279c static variables in functions are all fun and good until you realize that they are not equivalent to class level variables when that function is a method
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6277 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-25 12:45:14 +00:00
shatty
a511a51332 perfect replay
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6276 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-25 11:55:27 +00:00
shatty
170d6e3fbc I pronounce it Good!
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6275 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-25 11:37:10 +00:00
shatty
eb62634484 fixed some sizeof bugs and added more tracing for error returns
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6273 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-25 08:23:07 +00:00
shatty
fff3b1f17b tolerate more badness from BMediaFormats, added theora formats, cleaned up theora header parsing
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6272 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-25 07:58:23 +00:00
shatty
d1d448fc86 factored out description and default format construction and made them available through ogg, use these in case BMediaFormats fails -- like it does with the tobias streams for right now
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6271 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-25 07:43:32 +00:00
shatty
4644ba227a fix the lockup at end of ogg bug - return an error in GetPacket when GetNextPage or GetPageAt fails
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6270 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-25 07:00:45 +00:00
shatty
9b57d8a926 yay for speex
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6269 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-25 06:39:59 +00:00
shatty
89ea295e8e divide by 32000 to reduce volume
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6268 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-25 06:35:25 +00:00
shatty
33732c29f1 important seek friends
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6267 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-25 06:33:19 +00:00
shatty
07ae6ce8a6 ogg pseudo-seeking
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6266 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-25 06:04:28 +00:00
shatty
38e18d350e more reliable format retrieval
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6265 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-25 06:02:45 +00:00
shatty
48a06864d0 fixed registration for mpeg 1 layer 1 & 2
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6264 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-25 05:12:45 +00:00
shatty
ee154dc212 improved use of formats.MakeFormatFor
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6263 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-25 04:48:07 +00:00
shatty
f14460063c Ogg Reader 2.0d0
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6257 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-24 21:50:32 +00:00
beveloper
a3d7ce0637 initial support for reading OpenDML AVI files
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6256 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-24 17:06:57 +00:00
beveloper
bc98a76793 added MP3 in WAV format IDs
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6255 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-24 16:58:18 +00:00
beveloper
40d68dd219 removed codec registration bug, raw formats working again
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6254 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-24 16:55:14 +00:00
beveloper
174654a4ee fixed playback problems and made start_time calculation more reliable
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6253 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-24 16:53:22 +00:00
beveloper
16611de7ce spelling fix
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6252 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-23 16:26:55 +00:00
Axel Dörfler
a0a20160cd Updated all decoders to the changed codec API (from meta_descriptions to
BMediaFormats based detection).


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6248 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-23 07:55:01 +00:00
shatty
cd6a9248db adjust framecount/duration for mono/stereo, add channel_mask to vorbis header parsing, compute a "convenient" buffer size for speex decoding
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6220 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-21 22:59:28 +00:00
shatty
194748a1ba speex output length multiply by channel count
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6219 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-21 22:25:13 +00:00
shatty
43ffdb6608 sound production.. somewhat mangled
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6218 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-21 22:21:21 +00:00
shatty
f785208b00 added extern "C" protect for speex_stereo.h, bug submitted back to author
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6216 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-21 20:00:23 +00:00
shatty
67ab3b5bed removed extra ogg lib link but still having link failure
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6212 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-21 11:34:36 +00:00
shatty
f9df549e6f stupid linker bug... why?
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6211 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-21 11:21:49 +00:00
shatty
18bffde638 no need for ogg header
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6209 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-21 10:30:27 +00:00
shatty
955c0efddc makes noise in nplay, MediaPlayer will not use it, nothing sounds good
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6198 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-20 10:51:41 +00:00
shatty
59ad518ef7 speex parsing tweaks including copy of SpeexHeader from speex_header.h
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6195 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-20 09:58:35 +00:00
shatty
8000f68ada code cleanup based on speex
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6194 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-20 09:55:07 +00:00
shatty
e248c06496 add speex codec shell and lib
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6193 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-20 07:21:16 +00:00
shatty
7aca40c2c3 reverse encoding order
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6192 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-20 07:21:03 +00:00
shatty
ec9c7fd2fc fix quoting error
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6191 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-20 07:19:27 +00:00
shatty
3b8d4ddc65 incorporated my private dprintf patches, avcodec now building
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6190 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-20 06:46:42 +00:00
shatty
830ac450b6 ogg complete parsing of speex, tobias video, vorbis headers, including "friendly" strings for MediaPlayer missing codec errors
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6184 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-20 06:10:42 +00:00
shatty
c084ed96f3 separate out codec id and properties into a different file, add identification and format setup for tobias video (typically mpeg4) and speex codec (by observation, not spec)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6175 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-20 04:03:23 +00:00
shatty
2b1709d4df remove antiquated fOutput, improve bitrate checks, re-order initialization, added frame_size = sizeof(ogg_packet)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6173 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-20 01:35:03 +00:00
Axel Dörfler
09d31e11ec Now sets the mediaHeader->start_time in Decode() (hopefully correct).
Also fixed a crashing bug if the decoder was not setup with data from
the MusePackReader.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6172 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-20 01:06:43 +00:00
shatty
e2b605b45c ogg/vorbis update to MetaData. ogg update to do codec identification for vorbis, and to meta-data all header packets for each stream
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6169 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-20 00:29:53 +00:00
Axel Dörfler
9aa7863ddb Added some missing pieces to get the engine to work with our codec API.
It's even working a bit (you hear something that's at least similar to
what you should hear :).
Since the underlying engine doesn't differentiate between container and
contents, this looks like a hack, too.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6165 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-19 23:38:44 +00:00
Axel Dörfler
af18100b2f Fixed class inheritance so that the decoder will be found as well.
RegisterPlugin() didn't return B_OK.
Removed unused headers.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6164 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-19 23:13:31 +00:00
Axel Dörfler
e74116611d The MPC_decoder class now contains a pointer to the StreamInfo set by
SetStreamInfo() (because MusePackDecoder can use this data).
Removed some other unused lines.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6163 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-19 23:10:29 +00:00
beveloper
ac4bd49716 added missing newlines
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6152 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-19 21:33:31 +00:00
shatty
21290602d8 better Seek failure handling, use MetaData to pass information to decoder, do not use infoBuffer
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6149 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-19 19:13:29 +00:00
shatty
e065a2e0e7 divide GetNextChunk and non-const media_format behavior into new member function InitializeInput
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6148 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-19 19:11:44 +00:00
Axel Dörfler
3b3284c27f Implemented some basic functionality (namely Sniff() and GetStreamInfo()).
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6134 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-18 04:43:54 +00:00
Axel Dörfler
9216785b33 Missed some changes; compiled well as long as nobody tried to use it :)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6133 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-18 04:42:22 +00:00
Axel Dörfler
1cf1e4e9d2 Added MusePack media file add-on to the build.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6129 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-18 03:21:55 +00:00
Axel Dörfler
434ee6c260 Added clean and empty decoder/reader add-on code :-)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6128 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-18 03:17:30 +00:00
Axel Dörfler
ed8ce55582 Add the license information for the MPC package.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6126 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-18 03:11:16 +00:00
Axel Dörfler
8267ce8bbc Added the MusePack (MPC) engine to our repository - it's the one use in the
WinAMP plugin and is licensed under the LGPL. I've already ported it to BeOS,
so it does compile without warnings.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6124 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-18 03:04:27 +00:00
beveloper
54348708ae suggest buffer size of 50 ms
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6098 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-15 18:05:23 +00:00
shatty
632673435d bye bye xvid_decoder
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5907 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-05 02:41:11 +00:00
shatty
fe738f96ca fix error in trace string
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5816 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-12-30 07:38:37 +00:00
shatty
bbeea88122 bail if error on seek
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5815 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-12-30 07:38:00 +00:00
beveloper
1e078f747a bugfix
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5801 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-12-30 02:09:31 +00:00
beveloper
b0763800c1 removed a little debug output
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5800 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-12-30 00:44:45 +00:00
shatty
f339b6e0b5 clean vorbis seek requires discarding pending samples from the dsp
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5783 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-12-28 12:19:37 +00:00
shatty
7bbf8af761 clean ogg seeking. goes to next ogg page start.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5782 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-12-28 11:48:38 +00:00
shatty
07e5dd5b93 ogg_sync_reset is better than ogg_sync_clear
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5781 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-12-28 07:21:33 +00:00
shatty
e6fb4d8f4d yay for fake seeking
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5780 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-12-28 06:44:25 +00:00
shatty
c68b568d9b capture BPositionIO if available. use it to compute a duration estimate. [estimate only for right now]
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5779 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-12-28 04:34:26 +00:00
shatty
8f54fc7b8a remove unused fields
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5778 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-12-28 04:33:43 +00:00
shatty
b52b0133da handle B_LAST_BUFFER_ERROR from GetNextChunk. properly return a non-full buffer if we got anything decoded. if the buffer has no data, set framecount to zero, and return B_LAST_BUFFER_ERROR.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5777 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-12-28 01:34:42 +00:00
shatty
a6eabaff96 remove tight loop in GetPage, and return B_LAST_BUFFER_ERROR properly from GetNextChunk instead
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5776 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-12-28 01:15:58 +00:00
shatty
819b668c92 optimizations
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5774 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-12-28 00:04:54 +00:00
shatty
efbf8d83ed sounds good :-)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5773 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-12-27 23:43:18 +00:00
shatty
a2b3fc7c80 new Decode implementation
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5772 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-12-27 23:00:38 +00:00
beveloper
272d533500 starting avi reader...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5771 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-12-27 14:52:59 +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
cf706dc774 fixed lockup with 8 channel (or more) soundfiles
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5769 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-12-27 14:45:57 +00:00
shatty
7abc3cd77b missing Jamfile
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5767 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-12-26 20:06:32 +00:00
shatty
6a6671853d crashing nicely
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5766 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-12-26 20:06:11 +00:00
shatty
b6a3f35ba0 trust ogg decoder more, fewer debugger calls
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5765 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-12-26 18:44:06 +00:00
shatty
77ae533d3c allocate ogg_stream_states dynamically, hold pointers to them in the map, check sync return result during GetPage, add myriad of vorbisDecoder debug calls, introduce temporary variables to ease debugging
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5764 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-12-26 17:39:43 +00:00
shatty
fac65e8045 vorbis decoder take 1
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5762 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-12-26 14:07:53 +00:00
shatty
fa5c397539 initial packets are header packets that contain codec identication information. ogg can contain other types such as text. capture initial packets. remove unused #define
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5761 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-12-26 11:41:59 +00:00
shatty
dd47be5008 add extra TRACE, use explicit debugger calls, fix short_page bug, fix deallocation bug
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5760 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-12-26 10:34:16 +00:00