History log of /haiku/src/add-ons/media/media-add-ons/tone_producer_demo/ToneProducer.cpp
Revision Date Author Comments
# b1d006d7 11-Feb-2016 Dario Casalinuovo <b.vitruvio@gmail.com>

ToneProducer: Try to don't force a framerate if possible


# 6d2f2ec1 24-Jul-2015 Dario Casalinuovo <b.vitruvio@gmail.com>

Rework nodes to call Run() only after registration

* While it should not be a big problem the
bebook specify to do it after custom operations,
most nodes also follow this way, this commit restore
consistency.


# 7729bad4 14-Feb-2015 Augustin Cavalier <waddlesplash@gmail.com>

tone_producer_demo: automatic whitespace cleanup.


# a478bc05 14-Feb-2015 Augustin Cavalier <waddlesplash@gmail.com>

tone_producer_demo: Delete workarounds for MetroWerks compiler bugs.

There are a few left here that I didn't delete because the function does
more than just call up to the parent class, so someone with more knowledge
of the media kit than I do will have to go over those.


# 1a7bcf69 01-Jun-2014 Oliver Tappe <zooey@hirschkaefer.de>

Lots of B_PRI... insertions to fix errors with DEBUG=1.


# e393a169 10-May-2013 Jérôme Duval <jerome.duval@gmail.com>

tone_producer_demo: fixes 64 bit warnings


# b289aaf6 12-Apr-2010 Axel Dörfler <axeld@pinc-software.de>

* A BBuffer does not know where it came from, so
BBufferConsumer::BufferReceived() cannot know whom to send the "buffer is
late" notification (unless we only have a single input). To solve this, the
media_header now contains extra fields that can be used to create a
media_source object.
* Unfortunately, BBufferProducer::SendBuffer() cannot know the output either in
case there is more than one. Hence, I deprecated the existing SendBuffer()
call and moved it into "private" - IOW old sources using it won't compile
anymore under Haiku.
* I introduced a new SendBuffer() variant that also gets the media_source as
argument.
* Updated all sources (that are part of the image) to use the new variant.
* Removed some purposely commented out code in the audio mixer.
* Implemented late buffer notification, as well as late buffer handling in the
audio mixer; this is a bit of work in progress, so the debug output is left
in there.
* Some cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36184 a95241bf-73f2-0310-859d-f6bbb57e9c96


# b63f90a8 03-Jun-2003 beveloper <beveloper@nowhere.fake>

limit max latency


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3414 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 11bb5731 23-May-2003 beveloper <beveloper@nowhere.fake>

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


# 6d2f2ec177bf615a117a7428d71be4330545b320 24-Jul-2015 Dario Casalinuovo <b.vitruvio@gmail.com>

Rework nodes to call Run() only after registration

* While it should not be a big problem the
bebook specify to do it after custom operations,
most nodes also follow this way, this commit restore
consistency.


# 7729bad4bde404b76d0d42db02917d83081e609e 14-Feb-2015 Augustin Cavalier <waddlesplash@gmail.com>

tone_producer_demo: automatic whitespace cleanup.


# a478bc0582b02ee2473494919095d095f0c74ae6 14-Feb-2015 Augustin Cavalier <waddlesplash@gmail.com>

tone_producer_demo: Delete workarounds for MetroWerks compiler bugs.

There are a few left here that I didn't delete because the function does
more than just call up to the parent class, so someone with more knowledge
of the media kit than I do will have to go over those.


# 1a7bcf6962e1c99906cce0fe602e08c3fcda46f6 01-Jun-2014 Oliver Tappe <zooey@hirschkaefer.de>

Lots of B_PRI... insertions to fix errors with DEBUG=1.


# e393a1691b8cf35adf8422f0e9c47e002a777a4b 10-May-2013 Jérôme Duval <jerome.duval@gmail.com>

tone_producer_demo: fixes 64 bit warnings


# b289aaf66bbf6e173aa90fa194fc256965f1b34d 12-Apr-2010 Axel Dörfler <axeld@pinc-software.de>

* A BBuffer does not know where it came from, so
BBufferConsumer::BufferReceived() cannot know whom to send the "buffer is
late" notification (unless we only have a single input). To solve this, the
media_header now contains extra fields that can be used to create a
media_source object.
* Unfortunately, BBufferProducer::SendBuffer() cannot know the output either in
case there is more than one. Hence, I deprecated the existing SendBuffer()
call and moved it into "private" - IOW old sources using it won't compile
anymore under Haiku.
* I introduced a new SendBuffer() variant that also gets the media_source as
argument.
* Updated all sources (that are part of the image) to use the new variant.
* Removed some purposely commented out code in the audio mixer.
* Implemented late buffer notification, as well as late buffer handling in the
audio mixer; this is a bit of work in progress, so the debug output is left
in there.
* Some cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36184 a95241bf-73f2-0310-859d-f6bbb57e9c96


# b63f90a8954b9a47c0b626789b3869da0515329c 03-Jun-2003 beveloper <beveloper@nowhere.fake>

limit max latency


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3414 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 11bb5731c8972083453168a78ee58b30234b291e 23-May-2003 beveloper <beveloper@nowhere.fake>

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