#
425ac1b6 |
| 20-Jun-2023 |
Alexander von Gluck IV <kallisti5@unixzen.com> |
refactor: Swap %Ld for %lld in all format usages
* %Ld is an undocumented alias for %lld in glibc. * muslc doesn't implement it for this reason. * While we will likely never drop %Ld support, lets
refactor: Swap %Ld for %lld in all format usages
* %Ld is an undocumented alias for %lld in glibc. * muslc doesn't implement it for this reason. * While we will likely never drop %Ld support, lets clean house and set a better example.
Change-Id: Id46dad3104abae483e80cc5c05d1464d3ecd8030 Reviewed-on: https://review.haiku-os.org/c/haiku/+/6636 Reviewed-by: Adrien Destugues <pulkomandy@pulkomandy.tk> Reviewed-by: Alex von Gluck IV <kallisti5@unixzen.com> Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
show more ...
|
#
268f99dd |
| 22-Dec-2021 |
Niels Sascha Reedijk <niels.reedijk@gmail.com> |
Merge branch 'master' into dev/netservices
|
#
f7338bb6 |
| 17-Nov-2021 |
Augustin Cavalier <waddlesplash@gmail.com> |
Media Kit: Fix/appease various GCC 11 warnings.
|
#
b073975e |
| 21-Dec-2019 |
Jérôme Duval <jerome.duval@gmail.com> |
media: fix 64-bit debug build
Change-Id: Ie8c19fc5f067da9973cc52ec4c787a4ad36e390c Reviewed-on: https://review.haiku-os.org/c/haiku/+/2044 Reviewed-by: waddlesplash <waddlesplash@gmail.com>
|
#
083314c2 |
| 05-Oct-2019 |
Adrien Destugues <pulkomandy@pulkomandy.tk> |
Create the port pool in MediaRosterUndertaker
Follow up to #15135, which created a regression, apps would crash if using the port pool before creating a BMediaRoster instance. Now the port pool is e
Create the port pool in MediaRosterUndertaker
Follow up to #15135, which created a regression, apps would crash if using the port pool before creating a BMediaRoster instance. Now the port pool is entirely managed by the MediaRosterUndertaker, which is less confusing.
Fixes the media_addon_server crash on shutdown for me as well, but I don't remember why (I had studied the code and came to the conclusion that this should fix it, but I don't remember the reasoning).
Fixes #15263, and regressions for apps using the port pool before they instanciate the BMediaRoster.
Change-Id: I887dbc590d8ee9de391b6eae0206944bfe99325f Reviewed-on: https://review.haiku-os.org/c/haiku/+/1897 Reviewed-by: Axel Dörfler <axeld@pinc-software.de>
show more ...
|
#
472d26a3 |
| 16-Aug-2019 |
Ryan Leavengood <leavengood@gmail.com> |
Media Kit: Delete the PortPool in a more deliberate way
Letting it get deleted statically can cause segfaults since it is needed for some final quit messages.
This mimic changes Axel made for the D
Media Kit: Delete the PortPool in a more deliberate way
Letting it get deleted statically can cause segfaults since it is needed for some final quit messages.
This mimic changes Axel made for the DormantNodeManager and TimeSourceObjectManager.
I also pulled PortPool into its own file and header.
Fixes #15135.
Change-Id: Ie64753e1876d58b52f7cb95536c6be3df2e6d40c Reviewed-on: https://review.haiku-os.org/c/haiku/+/1721 Reviewed-by: waddlesplash <waddlesplash@gmail.com>
show more ...
|
#
2c4232b8 |
| 15-Aug-2019 |
Augustin Cavalier <waddlesplash@gmail.com> |
BMediaRoster: Mark publishing areas as cloneable.
|
#
964cab46 |
| 10-Aug-2019 |
Augustin Cavalier <waddlesplash@gmail.com> |
media: Set B_CLONEABLE_AREA where applicable.
Cloning cloned buffers seems especially strange, but apparently it is actually done. The buffer management code really needs to be cleaned up...
|
#
b84955d4 |
| 23-Oct-2018 |
Barrett17 <b.vitruvio@gmail.com> |
media: Remove debug.h, finalize MediaDebug.h
* Funny rust from 0 AD.
|
#
12ed45b6 |
| 18-May-2018 |
Murai Takashi <tmurai01@gmail.com> |
Media kit: Suppress -Werror=class-memaccess
* Add media_format::Clear(), media_format::Unflatten(). * Replace memset() with media_format::Clear() * Replace memcpy() with media_format::Unflatten()
F
Media kit: Suppress -Werror=class-memaccess
* Add media_format::Clear(), media_format::Unflatten(). * Replace memset() with media_format::Clear() * Replace memcpy() with media_format::Unflatten()
Fix #14156
Change-Id: I38ebc2de4915b954a15b6f4f6b40d016506910e5
show more ...
|
#
11ed4f9f |
| 25-Jan-2017 |
Dario Casalinuovo <b.vitruvio@gmail.com> |
MediaRoster: Don't call NodeRegistered before FinishCreate
* A TimeSource need an additional hook called FinishCreate to be able to create it's transfer area. This hook was called after the node reg
MediaRoster: Don't call NodeRegistered before FinishCreate
* A TimeSource need an additional hook called FinishCreate to be able to create it's transfer area. This hook was called after the node registration making room for potential mismatch of the transfer buffer. Most media nodes such as an event looper call begin to work with time related functions just once the registration happens. It could cause shadowed timesource objects initialization to fail too. * Add a debugger call to prevent any node to use an unitialized TimeSource area, that would help to identify any remaining issue.
show more ...
|
#
34619a6f |
| 17-Nov-2016 |
Dario Casalinuovo <b.vitruvio@gmail.com> |
Revert "MediaRoster: Don't allow rosters without a BApplication"
This reverts commit f3c2f6665f2102f7bfac9374712444271e383668.
|
#
f3c2f666 |
| 14-Nov-2016 |
Dario Casalinuovo <b.vitruvio@gmail.com> |
MediaRoster: Don't allow rosters without a BApplication
* The BeBook states that any media_kit app should have BApplication behind. Beware the app don't need to be running, but the object should be
MediaRoster: Don't allow rosters without a BApplication
* The BeBook states that any media_kit app should have BApplication behind. Beware the app don't need to be running, but the object should be present. This is because we use BApplication as a safe exit point to free the memory allocated. * While I was a bit reclutant in doing that, after a developer discussion we agreed this would be the cleaner way to solve this problem without eluding it.
show more ...
|
#
ad7255c8 |
| 14-Nov-2016 |
Dario Casalinuovo <b.vitruvio@gmail.com> |
MediaRoster: Use messaging instead to call Quit on exit
* As far as the bebook states loopers shouldn't be quit from other threads, using a B_QUIT_REQUESTED message should be more safe.
|
#
2ceb090f |
| 20-May-2016 |
Dario Casalinuovo <b.vitruvio@gmail.com> |
media_kit: Follow up fix to use only portable codes
* My previous commit fixed x86_64 but broke all other archs.
|
#
f4ba347b |
| 20-May-2016 |
Dario Casalinuovo <b.vitruvio@gmail.com> |
media_kit: Fix debug printf werrors
* When debugging was enabled in the media_kit those were causing the build to fail complaining about werrors.
|
#
6d63bc5e |
| 07-May-2016 |
Dario Casalinuovo <b.vitruvio@gmail.com> |
launch_media_server: Use BLaunchRoster::Start
* Remove SyncToServices and the related code from BMediaRoster.
|
#
e4704eb6 |
| 22-Apr-2016 |
Dario Casalinuovo <b.vitruvio@gmail.com> |
MediaDefs/MediaRoster: Increase code consistency
* Also fix a possible issue with List::Get, the code returned after a Get() error. While I doubt if this happens the next items will be still valid,
MediaDefs/MediaRoster: Increase code consistency
* Also fix a possible issue with List::Get, the code returned after a Get() error. While I doubt if this happens the next items will be still valid, I prefer to continue until we reach the end of the items, and in case of a SyncToRoster request we will at least get the list empty. We might have a blocking call on the other end, so it's our own duty to at least try to avoid this in any case. As final result at least we will get the list empty.
show more ...
|
#
76889670 |
| 21-Apr-2016 |
Dario Casalinuovo <b.vitruvio@gmail.com> |
shutdown_media_server: Finalize rework of synchronization
* When the user isn't requesting a custom notification, it will be a BMediaRoster job to do it. * Reintroduce BMediaRoster::SyncToServices,
shutdown_media_server: Finalize rework of synchronization
* When the user isn't requesting a custom notification, it will be a BMediaRoster job to do it. * Reintroduce BMediaRoster::SyncToServices, this time based on local message passing rather than a global semaphore. * SyncToServices is used in launch_media_server to make the process more launch_daemon safe and faster in the average case. * It was an error to add notifications in the media_server. * Fixes #12717.
show more ...
|
#
11c7bd86 |
| 04-Apr-2016 |
Dario Casalinuovo <b.vitruvio@gmail.com> |
Replace synchronization semaphore with async messages
* Remove SyncToServices, I will probably readd it in future but this time using a local synchronization service more than relying on the media_s
Replace synchronization semaphore with async messages
* Remove SyncToServices, I will probably readd it in future but this time using a local synchronization service more than relying on the media_server to release the semaphore. * Due to some discussions today in mailing list I decided to step back and retry the initial way to notify media rosters about media services status. It is woking by using two different notifications for reconnecting to the media_server and notifying the local subscribers. * This speed up the media services restart. * Sorry for the noise and very thanks for reviewing my code to everyone.
show more ...
|
#
53c3fa51 |
| 02-Apr-2016 |
Dario Casalinuovo <b.vitruvio@gmail.com> |
Introduce functionality for syncing with the media services
* The global synchro semaphore is provided with the purpose of being used to avoid threads lock up when the media_server is in an undefine
Introduce functionality for syncing with the media services
* The global synchro semaphore is provided with the purpose of being used to avoid threads lock up when the media_server is in an undefined state. There's still room for improvements. * BMediaRoster::SyncToServices lock up on a semaphore until the multi_audio correctly connected to the mixer.
show more ...
|
#
bab64f65 |
| 19-Feb-2016 |
Alexander von Gluck IV <Alex.vonGluck@r1soft.com> |
Merge remote-tracking branch 'upstream/master' into intel-extreme
|
#
ec02769a |
| 06-Jan-2016 |
Dario Casalinuovo <b.vitruvio@gmail.com> |
media_server: Replace ping/pong with notifications
|
#
c302a243 |
| 23-Dec-2015 |
Alexander von Gluck IV <kallisti5@unixzen.com> |
Merge remote-tracking branch 'upstream/master' into intel-extreme
|
#
38e3fbe3 |
| 01-Sep-2015 |
Dario Casalinuovo <b.vitruvio@gmail.com> |
BMediaRoster: Remove possibly confusing debug prints
* Thanks to Axel and Rene for reviewing!
|