Strict Standards: Redefining already defined constructor for class wpdb in /www/htdocs/w006f36b/wp-includes/wp-db.php on line 49

Deprecated: Assigning the return value of new by reference is deprecated in /www/htdocs/w006f36b/wp-includes/cache.php on line 35

Strict Standards: Redefining already defined constructor for class WP_Object_Cache in /www/htdocs/w006f36b/wp-includes/cache.php on line 400

Strict Standards: Declaration of Walker_Page::start_lvl() should be compatible with Walker::start_lvl($output) in /www/htdocs/w006f36b/wp-includes/classes.php on line 534

Strict Standards: Declaration of Walker_Page::end_lvl() should be compatible with Walker::end_lvl($output) in /www/htdocs/w006f36b/wp-includes/classes.php on line 534

Strict Standards: Declaration of Walker_Page::start_el() should be compatible with Walker::start_el($output) in /www/htdocs/w006f36b/wp-includes/classes.php on line 534

Strict Standards: Declaration of Walker_Page::end_el() should be compatible with Walker::end_el($output) in /www/htdocs/w006f36b/wp-includes/classes.php on line 534

Strict Standards: Declaration of Walker_PageDropdown::start_el() should be compatible with Walker::start_el($output) in /www/htdocs/w006f36b/wp-includes/classes.php on line 553

Strict Standards: Declaration of Walker_Category::start_lvl() should be compatible with Walker::start_lvl($output) in /www/htdocs/w006f36b/wp-includes/classes.php on line 649

Strict Standards: Declaration of Walker_Category::end_lvl() should be compatible with Walker::end_lvl($output) in /www/htdocs/w006f36b/wp-includes/classes.php on line 649

Strict Standards: Declaration of Walker_Category::start_el() should be compatible with Walker::start_el($output) in /www/htdocs/w006f36b/wp-includes/classes.php on line 649

Strict Standards: Declaration of Walker_Category::end_el() should be compatible with Walker::end_el($output) in /www/htdocs/w006f36b/wp-includes/classes.php on line 649

Strict Standards: Declaration of Walker_CategoryDropdown::start_el() should be compatible with Walker::start_el($output) in /www/htdocs/w006f36b/wp-includes/classes.php on line 674

Deprecated: Assigning the return value of new by reference is deprecated in /www/htdocs/w006f36b/wp-includes/query.php on line 15

Deprecated: Assigning the return value of new by reference is deprecated in /www/htdocs/w006f36b/wp-includes/theme.php on line 505
MauriceK, caught between dev and drums » Falling over weaknesses of previous responsibilities…

May 24, 2006

Falling over weaknesses of previous responsibilities…

Category: K-1 — kaldor @ 1:30 am

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /www/htdocs/w006f36b/wp-includes/formatting.php on line 76

Damn, this has been a productive day. At first it didn’t look like this, but now I am more than happy with the things being solved by this night. Unfortunately I fell over 2 bugs in the MediaKit of ZETA no one recognized before. This really sucks as I had a chance to fix this once. So, if anyone will ever get into the same situation maybe these information will help you

  • BMediaRoster::SetRunModeNode() doesn’t seem to work correctly. Asking for the RunMode inside of the node after setting it, I have been pretty surprised as still it had the previous state. During construction of a Node it seems to get B_DROP_DATA state. Afterwards I set it to B_INCREASE_LATENCY for playback. The docs say that you should use B_OFFLINE for saving to file actions. So that’s exactly what I tried. But as mentioned before the RunMode still remains in B_INCREASE_LATENCY. The only way to work around was sending a Message to the sound producing node and storing a fake run_mode/playback_state in an own variable.
  • BBufferGroup::RequestBuffer() has an undocumented behaviour. That is actually the reason why rendering hasn’t been working fully yesterday. Given the situation you request a buffer of 4K size. As we all now, this means 4096 bytes. The MediaKit seems to allocate more memory for the buffer. SizeAvailable() of the buffer returns 4160. This is ok with me, but if you access the used data size with SizeUsed() what do you expect it returns? 4096 or 4160? Yes, it is 4160. I would have expected the situation that at least SizeUsed() returns the 4096, because I requested this size. The used size can be changed afterwards per SetSizeUsed() and that’s what it is doing now. Parsing the buffer over to the rendering node, it now gets the correct size when checking for it and saving to the file works fluently.

As this has been done, I focused on something I wanted to manage as soon as possible. Some preprocessor checks were added to look wether K1 gets compiled under ZETA or any other BeOS related operating system. In R5 case localization gets disabled and english is the standard application language. Additionally some internal structures has been changed, so that by now K1 should compile and run on R5 without problems. I will try to get it to run by tomorrow, so be prepared to get a new screenshot.

Good fight, good night!

3 Comments »


  1. Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /www/htdocs/w006f36b/wp-includes/formatting.php on line 76

    If you wouldn’t have visited the balkony that often, you’d have probably found the bugs ;)

    *liebguck*

    Comment by emwe — May 24, 2006 @ 8:19 am


  2. Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /www/htdocs/w006f36b/wp-includes/formatting.php on line 76

    Great work Maurice, looking forward to get a new version of your application.

    Frank

    Comment by frankps — May 24, 2006 @ 10:19 am


  3. Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /www/htdocs/w006f36b/wp-includes/formatting.php on line 76

    I don’t even have the slightest idea what you are talking about above, but I’m sure it’s cool ;-) :p
    ….screenies look promising indeed.

    good luck
    kr1stof

    Comment by kr1stof — May 26, 2006 @ 3:07 pm

RSS feed for comments on this post. | TrackBack URI

Leave a comment

XHTML ( You can use these tags):
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <code> <em> <i> <strike> <strong> .