Development

gcc4 fix.

Source Activity - Wed, 2014-10-22 16:58
Categories: Development

Ticket #2023 (CD Player won't stop playing audio cd) closed

Latest Bugs & Tasks - Wed, 2014-10-22 15:54
fixed:

There is no CD player anymore.

Categories: Development

Ticket #11359 (ProcessController: improve "quit an application" and kill actions) created

Latest Bugs & Tasks - Wed, 2014-10-22 15:33

In the ProcessController's "Threads and CPU usage" submenu, when you click on a process, an alert window will ask if we are sure of this action (kill). Instead, under the submenu "quit an application" an alert window is not displayed, and this could lead to troubles, if someone does the mistake to quit a system process. Eg if you kill the registrar, Haiku will become unusable, and could be the same for some other system processes (eg the input_server). So my suggestion is to exclude system processes from the "quit an application" menu (and maybe also from "Threads and CPU usage") or implement an alert window for quit system processes, (also if i don't see the need to kill/quit system apps). Any thoughts?

Categories: Development

Ticket #7047 (Noisy AIFF audio files) closed

Latest Bugs & Tasks - Wed, 2014-10-22 15:28
fixed:

Fixed in hrev48071.

Categories: Development

Fix AIFF decoding with ffmpeg.

Source Activity - Wed, 2014-10-22 15:26
AIFF files are little endian. ffmpeg detects this just fine, but we overwrote the endianness in the decoded format info with B_MEDIA_HOST_ENDIAN right after setting it. Now we can decode both AIFF and WAV files just fine. Fixes #7047. AIFF files are little endian. ffmpeg detects this just fine, but we overwrote the endianness in the decoded format info with B_MEDIA_HOST_ENDIAN right after setting it. Now we can decode both AIFF and WAV files just fine. Fixes #7047.
Categories: Development

AIFF mimetype: fix sniffing rule.

Source Activity - Wed, 2014-10-22 13:50
AIFF files follow EA IFF spec and start with a FORM chunk. They never start with AIFF or AIFC directly. See for example: http://www.onicos.com/staff/iz/formats/aiff.html http://paulbourke.net/dataformats/audio/ AIFF files follow EA IFF spec and start with a FORM chunk. They never start with AIFF or AIFC directly. See for example: http://www.onicos.com/staff/iz/formats/aiff.html http://paulbourke.net/dataformats/audio/
Categories: Development

Ticket #11018 ([Media Kit]: BMediaFormats::GetFormatFor doesn't find any formats anymore) closed

Latest Bugs & Tasks - Wed, 2014-10-22 13:31
fixed:

Fixed in hrev48070. You are right that registering the add-ons in the constructors is not a good idea. I designed this so the loading can be delayed as much as possible. This way we keep the application start time short, and the scanning only happens when needed because the app calls one of the media kit functions.

I made RegisterAddOns public in AddOnManager and called it from MediaFormats format update function. Since RegisterAddOns does nothing except the first time it's called, there is no problem in doing this.

Thanks for investigating this. I can confirm the issue is solved as the mp3_decoder_test does not crash anymore (with the workaround removed). However it seems ffmpeg has trouble decoding the file.

Categories: Development

Register media add-ons on BMediaFormat::GetFormatFor().

Source Activity - Wed, 2014-10-22 13:25
* Fixes #11018. * In this case the FormatManager format list is accessed without going throught the AddOnManager, so we must tell the AddOnManager to register the add-ons (as this is what populates the FormatManager format list). * Remove now unneeded workaround in mp3_decoder_test. * Fixes #11018. * In this case the FormatManager format list is accessed without going throught the AddOnManager, so we must tell the AddOnManager to register the add-ons (as this is what populates the FormatManager format list). * Remove now unneeded workaround in mp3_decoder_test.
Categories: Development

Convert SizeofTest to cppunit.

Source Activity - Wed, 2014-10-22 09:34
Categories: Development

Convert BufferTest to cppunit.

Source Activity - Wed, 2014-10-22 09:11
Categories: Development

Convert AreaTest to cppunit.

Source Activity - Wed, 2014-10-22 08:26
Categories: Development

AreaTest: style fixes.

Source Activity - Wed, 2014-10-22 08:12
Categories: Development