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:
parent
2a0de579c7
commit
ddc2cfeff0
@ -15,6 +15,12 @@ App SoundRecorder :
|
||||
UpDownButton.cpp
|
||||
VUView.cpp
|
||||
VolumeSlider.cpp
|
||||
: libbe.so libmedia.so libtracker.so
|
||||
: be media tracker
|
||||
: 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.
|
||||
// Enabling MESSAGE will kill performance on slower machines, because it
|
||||
// prints for each message received (including each buffer).
|
||||
#define NODE //FPRINTF
|
||||
#define MESSAGE //FPRINTF
|
||||
#define TRACE_SOUNDCONSUMER
|
||||
#ifdef TRACE_SOUNDCONSUMER
|
||||
#define NODE FPRINTF
|
||||
#define MESSAGE FPRINTF
|
||||
#else
|
||||
#define NODE(x...)
|
||||
#define MESSAGE(x...)
|
||||
#endif
|
||||
|
||||
|
||||
SoundConsumer::SoundConsumer(
|
||||
@ -49,8 +55,7 @@ SoundConsumer::SoundConsumer(
|
||||
BMediaNode(name ? name : "SoundConsumer"),
|
||||
BBufferConsumer(B_MEDIA_RAW_AUDIO)
|
||||
{
|
||||
NODE(stderr, "SoundConsumer::SoundConsumer(%p, %p, %p, %p)\n",
|
||||
name, recordFunc, notifyFunc, cookie);
|
||||
NODE(stderr, "SoundConsumer::SoundConsumer(%p, %p, %p, %p)\n", name, recordFunc, notifyFunc, cookie);
|
||||
|
||||
if (!name) name = "SoundConsumer";
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user