Axel Dörfler
a476bfc5b1
Now waits for a whole second on the inode to become unbusy - just in case
...
there is a slow drive. Note, if the system is heavily used and the thread
waiting for the inode to become unbusy is a real time thread, that time
might be not enough - don't have a better solution at hand though (other
than waiting even longer).
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3346 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-26 22:40:14 +00:00
Axel Dörfler
3cfd8472f9
Fixed the ominous "new_vnode() already exists with different cookie" bug,
...
thanks to Bruno for pointing me in the right direction (that has probably cost
him several hours of his life ;-))!
Yes, it was that complicated to fix it...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3345 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-26 22:36:23 +00:00
Matthew Wilber
96a13ed121
added checking for memory allocation failure in MakeConfigurationView
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3344 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-26 18:07:29 +00:00
Axel Dörfler
470a60786e
Updated the ToDo list; thanks to Ingo I know now a little bit more about
...
float/double queries :-)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3332 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-26 01:51:19 +00:00
Axel Dörfler
6ac535c5c5
Fixed another bad bug in the block allocator: the size of the last block
...
of the block bitmap could be computed wrong - this could cause all sorts
of errors like: overwriting data, creating the "new_vnode with different
cookie" problem, etc.
Should really be the last bug in that piece of code ;-P
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3331 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-26 01:50:34 +00:00
Axel Dörfler
e1d37632bb
Now takes changed function of Index::Update() into account - queries on
...
non-indexed attributes now finally work as they should.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3330 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-26 01:47:06 +00:00
Axel Dörfler
ab47860c37
Index::SetTo() now sets fName even if the index initialization failed (for
...
whatever reason).
Index::Update() is now allowed to be called for those indices - in this case
it will just update all live queries.
Added some comments.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3329 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-26 01:45:09 +00:00
Axel Dörfler
09ed3db89a
Some minor style changes/clean ups.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3328 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-26 01:43:14 +00:00
beveloper
b74540ee0d
The video demo node is not a physical input.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3315 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-25 15:50:11 +00:00
beveloper
e02a6254fc
Removed connecting to soundcard, since the node is not registered
...
with the media_server inside the AutoStart() function.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3314 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-25 15:31:47 +00:00
Matthew Wilber
c30acb53ce
fix for the segment violation that is caused when the system color map is unavailable and set deleted pointers to NULL just to be safe
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3313 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-25 15:18:38 +00:00
beveloper
c9c07d8183
The audio mixer is now started automatically by the media kit.
...
It will connect itself to the default audio output.
Memory leaks removed.
Code cleanup.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3307 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-24 23:52:34 +00:00
Matthew Wilber
9edca8f79e
added more checking for corrupt headers, reduced code redundancy, made a number of small tweaks
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3304 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-24 23:02:19 +00:00
beveloper
1e6f362d07
this is a demo node
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3293 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-23 21:54:02 +00:00
beveloper
11bb5731c8
Added the tone producer add-on for testing and demo purposes
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3292 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-23 21:51:47 +00:00
beveloper
1b14f4182f
Allow 5 concurrent instances for testing,
...
changed name to indicate that this is a demo.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3291 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-23 21:50:57 +00:00
beveloper
acd429ac89
Fixed clock rate calculation (multiple bugs).
...
Fixed sound stutter after start.
Added generic macros to deal with SIS7012 and Intel differences.
Fixed SIS7012 init (PICB register was written, instead of SR).
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3290 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-23 20:44:12 +00:00
beveloper
d6f3c208b1
Adding the Video Producer Demo Media-Add-On, from BeOS sample code.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3285 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-21 19:21:56 +00:00
Philippe Houdoin
96ad33048f
Fix missing close() and read() definitions: #include unistd.h added.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3283 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-21 10:43:57 +00:00
Tyler Dauwalder
6b3fa44dd0
Forgot to keep #ifndef DEBUG macros up to date.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3282 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-21 08:29:36 +00:00
Tyler Dauwalder
28f8fb21ea
Added NULL class name argument to DEBUG_INIT() calls
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3281 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-21 07:10:25 +00:00
Tyler Dauwalder
565457fd43
Added code to search out anchor volume pointers and dump out any
...
volume descriptor sequences found.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3280 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-21 07:09:50 +00:00
Tyler Dauwalder
6cbf5bf379
- Added option to include class name with DEBUG_INIT() to so it's clearer which
...
dump() or init_check() or what have you function is printing out debug info.
- Added DUMP_INIT() for dump() functions
- Added tabCount option for class DebugHelper.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3279 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-21 07:08:31 +00:00
Tyler Dauwalder
fbdfed8191
- Fixed union/struct bitfield tricks so they should actually work as desired now
...
- Started the mind numbing task of making all the disk structs endian-neutral
- Started the addition of dump() functions
- Updated descriptor_tag::init_check() to treat the location() field as a disk
block instead of an absolute address.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3278 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-21 07:03:18 +00:00
Matthew Wilber
955d1422bc
fixed TGA to TGA translation so that it no longer fails to write the entire file
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3274 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-21 02:03:59 +00:00
Matthew Wilber
59cd2ee4ef
added new line at end of file
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3273 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-21 02:02:10 +00:00
beveloper
3b3c3547a5
Updated jamfiles to match recent cvs changes.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3249 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-16 23:31:38 +00:00
beveloper
6fc1b5bacd
Fix sample rate calculation based on the AC-link clock rate.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3248 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-15 19:20:14 +00:00
Tyler Dauwalder
f896590804
Added DEBUG_INIT() categories.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3241 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-14 05:42:29 +00:00
Tyler Dauwalder
778d70ca00
- Added category support
...
- Moved doxs from header to cpp file
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3240 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-14 05:18:41 +00:00
Tyler Dauwalder
fd67013594
Apparently I'm not allowed to link kernel modules to libroot.so... :-)
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3239 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-14 05:17:35 +00:00
Axel Dörfler
b263fa5a63
Added Jamfile and fixed all warnings that popped up when compiling with -Wall.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3230 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-12 23:45:57 +00:00
Axel Dörfler
c0f1a43053
Initial revision
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3226 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-12 23:11:21 +00:00
Tyler Dauwalder
be45fb85b6
Revamped debugging macros:
...
- Updated macro formatting to be more readable
- Changed semantics to be more to my liking
- Added neat-o automatic call-stack indenting
- Added more detailed macro docs
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3225 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-12 21:45:41 +00:00
Tyler Dauwalder
a44384b038
Hadn't intended to lose a step of revision history along
...
with the rename from Debug.{h,cpp}. This is what the
first revision of UdfDebug.{h,cpp} should have looked
like. The new updated version shall follow in the next
revision.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3224 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-12 21:43:11 +00:00
Tyler Dauwalder
13d4aa9ef9
Debug.cpp => UdfDebug.cpp
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3223 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-12 21:34:25 +00:00
Tyler Dauwalder
ccbc83414f
- Started udf_mount() implementation.
...
- Updated to use revamped debug macros
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3222 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-12 21:33:53 +00:00
Tyler Dauwalder
4ac730182d
- Started on volume recognition; volume recognition sequence walking implemented.
...
- Updated to use revamped debugging macros.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3221 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-12 21:33:03 +00:00
Tyler Dauwalder
9feb1a7258
- Renamed vsd_header to volume_structure_descriptor_header
...
- Extern'ed previously un-extern'ed char* constants
- Added volume_structure_descriptor_header::id_matches()
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3220 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-12 21:30:38 +00:00
Tyler Dauwalder
0a100e1176
Made Block a template class.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3219 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-12 21:28:21 +00:00
Tyler Dauwalder
fe89a5bae9
Renamed Debug.{h,cpp} to UdfDebug.{h,cpp} to cut down on
...
the proliferation of files named Debug.*
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3218 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-12 21:27:28 +00:00
Axel Dörfler
f48e0d551d
Updated ld-script location.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3215 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-12 01:00:20 +00:00
beveloper
b42b9990d6
Added C-Media codec detection.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3206 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-11 12:59:55 +00:00
Axel Dörfler
d94f33a308
Accidently broke Jamfile in the last revision (missing comment).
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3205 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-11 07:38:33 +00:00
Axel Dörfler
f9959bb699
CFLAGS for the driver were dependent on the x86 architecture.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3199 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-11 03:05:46 +00:00
beveloper
9b91bd404b
minor changes, improve clock detection
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3195 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-11 01:12:00 +00:00
beveloper
07ce4687df
Added some Analog Devices codec initialization, should work for single
...
codec setups, master - slave setups are not implemented.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3194 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-11 00:47:14 +00:00
beveloper
309774ea11
Added variable sample rate support for prorpietary AD1819A and AD1819B codecs.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3193 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-10 23:27:02 +00:00
beveloper
741054220d
remove the junk
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3192 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-10 22:26:56 +00:00
beveloper
13f96b477c
Verified some codec IDs
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3191 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-10 22:23:26 +00:00