links with our libs on haiku
avoids warnings git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13490 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -15,6 +15,12 @@ App SoundRecorder :
|
|||||||
UpDownButton.cpp
|
UpDownButton.cpp
|
||||||
VUView.cpp
|
VUView.cpp
|
||||||
VolumeSlider.cpp
|
VolumeSlider.cpp
|
||||||
: libbe.so libmedia.so libtracker.so
|
: be media tracker
|
||||||
: SoundRecorder.rdef
|
: SoundRecorder.rdef
|
||||||
;
|
;
|
||||||
|
|
||||||
|
if $(TARGET_PLATFORM) = haiku {
|
||||||
|
LinkSharedOSLibs SoundRecorder : libbe.so libmedia.so libtracker.so ;
|
||||||
|
} else {
|
||||||
|
LinkSharedOSLibs SoundRecorder : be media tracker ;
|
||||||
|
}
|
||||||
|
|||||||
@@ -37,8 +37,14 @@
|
|||||||
// Comment out the FPRINTF part of these lines to reduce verbiage.
|
// Comment out the FPRINTF part of these lines to reduce verbiage.
|
||||||
// Enabling MESSAGE will kill performance on slower machines, because it
|
// Enabling MESSAGE will kill performance on slower machines, because it
|
||||||
// prints for each message received (including each buffer).
|
// prints for each message received (including each buffer).
|
||||||
#define NODE //FPRINTF
|
#define TRACE_SOUNDCONSUMER
|
||||||
#define MESSAGE //FPRINTF
|
#ifdef TRACE_SOUNDCONSUMER
|
||||||
|
#define NODE FPRINTF
|
||||||
|
#define MESSAGE FPRINTF
|
||||||
|
#else
|
||||||
|
#define NODE(x...)
|
||||||
|
#define MESSAGE(x...)
|
||||||
|
#endif
|
||||||
|
|
||||||
|
|
||||||
SoundConsumer::SoundConsumer(
|
SoundConsumer::SoundConsumer(
|
||||||
@@ -49,8 +55,7 @@ SoundConsumer::SoundConsumer(
|
|||||||
BMediaNode(name ? name : "SoundConsumer"),
|
BMediaNode(name ? name : "SoundConsumer"),
|
||||||
BBufferConsumer(B_MEDIA_RAW_AUDIO)
|
BBufferConsumer(B_MEDIA_RAW_AUDIO)
|
||||||
{
|
{
|
||||||
NODE(stderr, "SoundConsumer::SoundConsumer(%p, %p, %p, %p)\n",
|
NODE(stderr, "SoundConsumer::SoundConsumer(%p, %p, %p, %p)\n", name, recordFunc, notifyFunc, cookie);
|
||||||
name, recordFunc, notifyFunc, cookie);
|
|
||||||
|
|
||||||
if (!name) name = "SoundConsumer";
|
if (!name) name = "SoundConsumer";
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user