2009-06-15 19:15:32 +04:00
|
|
|
/*
|
2012-02-09 03:38:59 +04:00
|
|
|
* Copyright 2002-2012 Haiku, Inc. All Rights Reserved.
|
|
|
|
* Distributed under the terms of the MIT License.
|
|
|
|
*
|
2007-04-14 17:35:39 +04:00
|
|
|
* Authors:
|
|
|
|
* Christopher ML Zumwalt May (zummy@users.sf.net)
|
2009-06-15 19:15:32 +04:00
|
|
|
*
|
2007-04-14 17:35:39 +04:00
|
|
|
*/
|
2002-10-06 15:31:21 +04:00
|
|
|
|
|
|
|
|
2007-04-07 02:40:23 +04:00
|
|
|
#include <GameSound.h>
|
2002-10-06 15:31:21 +04:00
|
|
|
|
2012-02-09 03:38:59 +04:00
|
|
|
#include <stdio.h>
|
|
|
|
#include <string.h>
|
|
|
|
|
2007-04-07 02:40:23 +04:00
|
|
|
#include "GameSoundBuffer.h"
|
|
|
|
#include "GameSoundDevice.h"
|
2002-10-06 15:31:21 +04:00
|
|
|
|
2002-08-11 04:34:01 +04:00
|
|
|
|
2005-11-13 02:27:14 +03:00
|
|
|
using std::nothrow;
|
|
|
|
|
2012-02-09 03:38:59 +04:00
|
|
|
|
2002-10-06 15:31:21 +04:00
|
|
|
// Local Defines ---------------------------------------------------------------
|
|
|
|
|
|
|
|
// BGameSound class ------------------------------------------------------------
|
2002-08-11 04:34:01 +04:00
|
|
|
BGameSound::BGameSound(BGameSoundDevice *device)
|
2012-02-09 03:38:59 +04:00
|
|
|
:
|
|
|
|
fSound(-1)
|
2002-10-06 15:31:21 +04:00
|
|
|
{
|
2009-06-15 19:15:32 +04:00
|
|
|
// TODO: device is ignored!
|
|
|
|
// NOTE: BeBook documents that BGameSoundDevice must currently always
|
|
|
|
// be NULL...
|
2002-10-06 15:31:21 +04:00
|
|
|
fDevice = GetDefaultDevice();
|
|
|
|
fInitError = fDevice->InitCheck();
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
BGameSound::BGameSound(const BGameSound &other)
|
2012-02-09 03:38:59 +04:00
|
|
|
:
|
|
|
|
fSound(-1)
|
2002-08-11 04:34:01 +04:00
|
|
|
{
|
2002-10-06 15:31:21 +04:00
|
|
|
memcpy(&fFormat, &other.fFormat, sizeof(gs_audio_format));
|
2009-06-15 19:15:32 +04:00
|
|
|
// TODO: device from other is ignored!
|
2002-10-06 15:31:21 +04:00
|
|
|
fDevice = GetDefaultDevice();
|
2009-06-15 19:15:32 +04:00
|
|
|
|
|
|
|
fInitError = fDevice->InitCheck();
|
2002-08-11 04:34:01 +04:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
BGameSound::~BGameSound()
|
|
|
|
{
|
2002-10-06 15:31:21 +04:00
|
|
|
if (fSound >= 0)
|
|
|
|
fDevice->ReleaseBuffer(fSound);
|
2009-06-15 19:15:32 +04:00
|
|
|
|
2002-10-06 15:31:21 +04:00
|
|
|
ReleaseDevice();
|
2002-08-11 04:34:01 +04:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
status_t
|
|
|
|
BGameSound::InitCheck() const
|
|
|
|
{
|
2002-10-06 15:31:21 +04:00
|
|
|
return fInitError;
|
2002-08-11 04:34:01 +04:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
BGameSoundDevice *
|
|
|
|
BGameSound::Device() const
|
|
|
|
{
|
2009-06-15 19:15:32 +04:00
|
|
|
// TODO: Must return NULL if default device is being used!
|
2002-10-06 15:31:21 +04:00
|
|
|
return fDevice;
|
2002-08-11 04:34:01 +04:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
gs_id
|
|
|
|
BGameSound::ID() const
|
|
|
|
{
|
2009-06-15 19:15:32 +04:00
|
|
|
// TODO: Should be 0 if no sound has been selected! But fSound
|
|
|
|
// is initialized with -1 in the constructors.
|
2002-10-06 15:31:21 +04:00
|
|
|
return fSound;
|
2002-08-11 04:34:01 +04:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
const gs_audio_format &
|
|
|
|
BGameSound::Format() const
|
|
|
|
{
|
2002-10-06 15:31:21 +04:00
|
|
|
return fDevice->Format(fSound);
|
2002-08-11 04:34:01 +04:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
status_t
|
|
|
|
BGameSound::StartPlaying()
|
|
|
|
{
|
2002-10-06 15:31:21 +04:00
|
|
|
fDevice->StartPlaying(fSound);
|
|
|
|
return B_OK;
|
2002-08-11 04:34:01 +04:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
bool
|
|
|
|
BGameSound::IsPlaying()
|
|
|
|
{
|
2002-10-06 15:31:21 +04:00
|
|
|
return fDevice->IsPlaying(fSound);
|
2002-08-11 04:34:01 +04:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
status_t
|
|
|
|
BGameSound::StopPlaying()
|
|
|
|
{
|
2002-10-06 15:31:21 +04:00
|
|
|
fDevice->StopPlaying(fSound);
|
|
|
|
return B_OK;
|
2002-08-11 04:34:01 +04:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
status_t
|
2012-02-09 03:38:59 +04:00
|
|
|
BGameSound::SetGain(float gain, bigtime_t duration)
|
2002-08-11 04:34:01 +04:00
|
|
|
{
|
2002-10-06 15:31:21 +04:00
|
|
|
gs_attribute attribute;
|
2009-06-15 19:15:32 +04:00
|
|
|
|
2002-10-06 15:31:21 +04:00
|
|
|
attribute.attribute = B_GS_GAIN;
|
|
|
|
attribute.value = gain;
|
|
|
|
attribute.duration = duration;
|
|
|
|
attribute.flags = 0;
|
2009-06-15 19:15:32 +04:00
|
|
|
|
|
|
|
return fDevice->SetAttributes(fSound, &attribute, 1);
|
2002-08-11 04:34:01 +04:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
status_t
|
2012-02-09 03:38:59 +04:00
|
|
|
BGameSound::SetPan(float pan, bigtime_t duration)
|
2002-08-11 04:34:01 +04:00
|
|
|
{
|
2002-10-06 15:31:21 +04:00
|
|
|
gs_attribute attribute;
|
2009-06-15 19:15:32 +04:00
|
|
|
|
2002-10-06 15:31:21 +04:00
|
|
|
attribute.attribute = B_GS_PAN;
|
|
|
|
attribute.value = pan;
|
|
|
|
attribute.duration = duration;
|
|
|
|
attribute.flags = 0;
|
2009-06-15 19:15:32 +04:00
|
|
|
|
2002-10-06 15:31:21 +04:00
|
|
|
return fDevice->SetAttributes(fSound, &attribute, 1);
|
2002-08-11 04:34:01 +04:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
float
|
|
|
|
BGameSound::Gain()
|
|
|
|
{
|
2002-10-06 15:31:21 +04:00
|
|
|
gs_attribute attribute;
|
2009-06-15 19:15:32 +04:00
|
|
|
|
2002-10-06 15:31:21 +04:00
|
|
|
attribute.attribute = B_GS_GAIN;
|
|
|
|
attribute.flags = 0;
|
2009-06-15 19:15:32 +04:00
|
|
|
|
2002-10-06 15:31:21 +04:00
|
|
|
if (fDevice->GetAttributes(fSound, &attribute, 1) != B_OK)
|
|
|
|
return 0.0;
|
2009-06-15 19:15:32 +04:00
|
|
|
|
2002-10-06 15:31:21 +04:00
|
|
|
return attribute.value;
|
2002-08-11 04:34:01 +04:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
float
|
|
|
|
BGameSound::Pan()
|
|
|
|
{
|
2002-10-06 15:31:21 +04:00
|
|
|
gs_attribute attribute;
|
2009-06-15 19:15:32 +04:00
|
|
|
|
2002-10-06 15:31:21 +04:00
|
|
|
attribute.attribute = B_GS_PAN;
|
|
|
|
attribute.flags = 0;
|
2009-06-15 19:15:32 +04:00
|
|
|
|
2002-10-06 15:31:21 +04:00
|
|
|
if (fDevice->GetAttributes(fSound, &attribute, 1) != B_OK)
|
|
|
|
return 0.0;
|
2009-06-15 19:15:32 +04:00
|
|
|
|
2002-10-06 15:31:21 +04:00
|
|
|
return attribute.value;
|
2002-08-11 04:34:01 +04:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
status_t
|
2012-02-09 03:38:59 +04:00
|
|
|
BGameSound::SetAttributes(gs_attribute *inAttributes, size_t inAttributeCount)
|
2002-08-11 04:34:01 +04:00
|
|
|
{
|
2002-10-06 15:31:21 +04:00
|
|
|
return fDevice->SetAttributes(fSound, inAttributes, inAttributeCount);
|
2002-08-11 04:34:01 +04:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
status_t
|
2012-02-09 03:38:59 +04:00
|
|
|
BGameSound::GetAttributes(gs_attribute *outAttributes, size_t inAttributeCount)
|
2002-08-11 04:34:01 +04:00
|
|
|
{
|
2002-10-06 15:31:21 +04:00
|
|
|
return fDevice->GetAttributes(fSound, outAttributes, inAttributeCount);
|
2002-08-11 04:34:01 +04:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
status_t
|
|
|
|
BGameSound::Perform(int32 selector,
|
|
|
|
void *data)
|
|
|
|
{
|
|
|
|
return B_ERROR;
|
|
|
|
}
|
|
|
|
|
2002-10-06 15:39:16 +04:00
|
|
|
|
2002-08-11 04:34:01 +04:00
|
|
|
void *
|
|
|
|
BGameSound::operator new(size_t size)
|
|
|
|
{
|
2002-10-06 15:39:16 +04:00
|
|
|
return ::operator new(size);
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
void *
|
2005-11-13 02:27:14 +03:00
|
|
|
BGameSound::operator new(size_t size, const std::nothrow_t &nt) throw()
|
2002-10-06 15:39:16 +04:00
|
|
|
{
|
|
|
|
return ::operator new(size, nt);
|
2002-08-11 04:34:01 +04:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
void
|
|
|
|
BGameSound::operator delete(void *ptr)
|
|
|
|
{
|
2002-10-06 15:39:16 +04:00
|
|
|
::operator delete(ptr);
|
2002-08-11 04:34:01 +04:00
|
|
|
}
|
2002-10-06 15:39:16 +04:00
|
|
|
|
|
|
|
|
|
|
|
#if !__MWERKS__
|
|
|
|
// there's a bug in MWCC under R4.1 and earlier
|
|
|
|
void
|
2005-11-13 02:27:14 +03:00
|
|
|
BGameSound::operator delete(void *ptr, const std::nothrow_t &nt) throw()
|
2002-10-06 15:39:16 +04:00
|
|
|
{
|
|
|
|
::operator delete(ptr, nt);
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
|
2002-08-11 04:34:01 +04:00
|
|
|
|
|
|
|
status_t
|
|
|
|
BGameSound::SetMemoryPoolSize(size_t in_poolSize)
|
|
|
|
{
|
|
|
|
return B_ERROR;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
status_t
|
|
|
|
BGameSound::LockMemoryPool(bool in_lockInCore)
|
|
|
|
{
|
|
|
|
return B_ERROR;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
int32
|
|
|
|
BGameSound::SetMaxSoundCount(int32 in_maxCount)
|
|
|
|
{
|
2002-10-06 15:31:21 +04:00
|
|
|
return in_maxCount;
|
2002-08-11 04:34:01 +04:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
status_t
|
|
|
|
BGameSound::SetInitError(status_t in_initError)
|
|
|
|
{
|
2002-10-06 15:31:21 +04:00
|
|
|
fInitError = in_initError;
|
|
|
|
return B_OK;
|
2002-08-11 04:34:01 +04:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
status_t
|
|
|
|
BGameSound::Init(gs_id handle)
|
|
|
|
{
|
2008-09-23 14:43:02 +04:00
|
|
|
if (fSound < 0)
|
|
|
|
fSound = handle;
|
2009-06-15 19:15:32 +04:00
|
|
|
|
2002-10-06 15:31:21 +04:00
|
|
|
return B_OK;
|
2002-08-11 04:34:01 +04:00
|
|
|
}
|
|
|
|
|
2012-02-09 03:38:59 +04:00
|
|
|
|
|
|
|
#if 0
|
2002-08-11 04:34:01 +04:00
|
|
|
BGameSound &
|
|
|
|
BGameSound::operator=(const BGameSound &other)
|
|
|
|
{
|
2002-10-06 15:31:21 +04:00
|
|
|
if (fSound)
|
|
|
|
fDevice->ReleaseBuffer(fSound);
|
2009-06-15 19:15:32 +04:00
|
|
|
|
2002-10-06 15:31:21 +04:00
|
|
|
fSound = other.fSound;
|
|
|
|
fInitError = other.fInitError;
|
2009-06-15 19:15:32 +04:00
|
|
|
|
|
|
|
// TODO: This would need to acquire the sound another time!
|
|
|
|
|
2002-10-06 15:31:21 +04:00
|
|
|
return this;
|
2002-08-11 04:34:01 +04:00
|
|
|
}
|
2012-02-09 03:38:59 +04:00
|
|
|
#endif
|
|
|
|
|
2002-08-11 04:34:01 +04:00
|
|
|
|
|
|
|
/* unimplemented for protection of the user:
|
|
|
|
*
|
|
|
|
* BGameSound::BGameSound()
|
|
|
|
*/
|
2009-06-15 19:15:32 +04:00
|
|
|
|
2002-08-11 04:34:01 +04:00
|
|
|
|
|
|
|
status_t
|
|
|
|
BGameSound::_Reserved_BGameSound_0(int32 arg, ...)
|
|
|
|
{
|
|
|
|
return B_ERROR;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
status_t
|
|
|
|
BGameSound::_Reserved_BGameSound_1(int32 arg, ...)
|
|
|
|
{
|
|
|
|
return B_ERROR;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
status_t
|
|
|
|
BGameSound::_Reserved_BGameSound_2(int32 arg, ...)
|
|
|
|
{
|
|
|
|
return B_ERROR;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
status_t
|
|
|
|
BGameSound::_Reserved_BGameSound_3(int32 arg, ...)
|
|
|
|
{
|
|
|
|
return B_ERROR;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
status_t
|
|
|
|
BGameSound::_Reserved_BGameSound_4(int32 arg, ...)
|
|
|
|
{
|
|
|
|
return B_ERROR;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
status_t
|
|
|
|
BGameSound::_Reserved_BGameSound_5(int32 arg, ...)
|
|
|
|
{
|
|
|
|
return B_ERROR;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
status_t
|
|
|
|
BGameSound::_Reserved_BGameSound_6(int32 arg, ...)
|
|
|
|
{
|
|
|
|
return B_ERROR;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
status_t
|
|
|
|
BGameSound::_Reserved_BGameSound_7(int32 arg, ...)
|
|
|
|
{
|
|
|
|
return B_ERROR;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
status_t
|
|
|
|
BGameSound::_Reserved_BGameSound_8(int32 arg, ...)
|
|
|
|
{
|
|
|
|
return B_ERROR;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
status_t
|
|
|
|
BGameSound::_Reserved_BGameSound_9(int32 arg, ...)
|
|
|
|
{
|
|
|
|
return B_ERROR;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
status_t
|
|
|
|
BGameSound::_Reserved_BGameSound_10(int32 arg, ...)
|
|
|
|
{
|
|
|
|
return B_ERROR;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
status_t
|
|
|
|
BGameSound::_Reserved_BGameSound_11(int32 arg, ...)
|
|
|
|
{
|
|
|
|
return B_ERROR;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
status_t
|
|
|
|
BGameSound::_Reserved_BGameSound_12(int32 arg, ...)
|
|
|
|
{
|
|
|
|
return B_ERROR;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
status_t
|
|
|
|
BGameSound::_Reserved_BGameSound_13(int32 arg, ...)
|
|
|
|
{
|
|
|
|
return B_ERROR;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
status_t
|
|
|
|
BGameSound::_Reserved_BGameSound_14(int32 arg, ...)
|
|
|
|
{
|
|
|
|
return B_ERROR;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
status_t
|
|
|
|
BGameSound::_Reserved_BGameSound_15(int32 arg, ...)
|
|
|
|
{
|
|
|
|
return B_ERROR;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
status_t
|
|
|
|
BGameSound::_Reserved_BGameSound_16(int32 arg, ...)
|
|
|
|
{
|
|
|
|
return B_ERROR;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
status_t
|
|
|
|
BGameSound::_Reserved_BGameSound_17(int32 arg, ...)
|
|
|
|
{
|
|
|
|
return B_ERROR;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
status_t
|
|
|
|
BGameSound::_Reserved_BGameSound_18(int32 arg, ...)
|
|
|
|
{
|
|
|
|
return B_ERROR;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
status_t
|
|
|
|
BGameSound::_Reserved_BGameSound_19(int32 arg, ...)
|
|
|
|
{
|
|
|
|
return B_ERROR;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
status_t
|
|
|
|
BGameSound::_Reserved_BGameSound_20(int32 arg, ...)
|
|
|
|
{
|
|
|
|
return B_ERROR;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
status_t
|
|
|
|
BGameSound::_Reserved_BGameSound_21(int32 arg, ...)
|
|
|
|
{
|
|
|
|
return B_ERROR;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
status_t
|
|
|
|
BGameSound::_Reserved_BGameSound_22(int32 arg, ...)
|
|
|
|
{
|
|
|
|
return B_ERROR;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
status_t
|
|
|
|
BGameSound::_Reserved_BGameSound_23(int32 arg, ...)
|
|
|
|
{
|
|
|
|
return B_ERROR;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
status_t
|
|
|
|
BGameSound::_Reserved_BGameSound_24(int32 arg, ...)
|
|
|
|
{
|
|
|
|
return B_ERROR;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
status_t
|
|
|
|
BGameSound::_Reserved_BGameSound_25(int32 arg, ...)
|
|
|
|
{
|
|
|
|
return B_ERROR;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
status_t
|
|
|
|
BGameSound::_Reserved_BGameSound_26(int32 arg, ...)
|
|
|
|
{
|
|
|
|
return B_ERROR;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
status_t
|
|
|
|
BGameSound::_Reserved_BGameSound_27(int32 arg, ...)
|
|
|
|
{
|
|
|
|
return B_ERROR;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
status_t
|
|
|
|
BGameSound::_Reserved_BGameSound_28(int32 arg, ...)
|
|
|
|
{
|
|
|
|
return B_ERROR;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
status_t
|
|
|
|
BGameSound::_Reserved_BGameSound_29(int32 arg, ...)
|
|
|
|
{
|
|
|
|
return B_ERROR;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
status_t
|
|
|
|
BGameSound::_Reserved_BGameSound_30(int32 arg, ...)
|
|
|
|
{
|
|
|
|
return B_ERROR;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
status_t
|
|
|
|
BGameSound::_Reserved_BGameSound_31(int32 arg, ...)
|
|
|
|
{
|
|
|
|
return B_ERROR;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
status_t
|
|
|
|
BGameSound::_Reserved_BGameSound_32(int32 arg, ...)
|
|
|
|
{
|
|
|
|
return B_ERROR;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
status_t
|
|
|
|
BGameSound::_Reserved_BGameSound_33(int32 arg, ...)
|
|
|
|
{
|
|
|
|
return B_ERROR;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
status_t
|
|
|
|
BGameSound::_Reserved_BGameSound_34(int32 arg, ...)
|
|
|
|
{
|
|
|
|
return B_ERROR;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
status_t
|
|
|
|
BGameSound::_Reserved_BGameSound_35(int32 arg, ...)
|
|
|
|
{
|
|
|
|
return B_ERROR;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
status_t
|
|
|
|
BGameSound::_Reserved_BGameSound_36(int32 arg, ...)
|
|
|
|
{
|
|
|
|
return B_ERROR;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
status_t
|
|
|
|
BGameSound::_Reserved_BGameSound_37(int32 arg, ...)
|
|
|
|
{
|
|
|
|
return B_ERROR;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
status_t
|
|
|
|
BGameSound::_Reserved_BGameSound_38(int32 arg, ...)
|
|
|
|
{
|
|
|
|
return B_ERROR;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
status_t
|
|
|
|
BGameSound::_Reserved_BGameSound_39(int32 arg, ...)
|
|
|
|
{
|
|
|
|
return B_ERROR;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
status_t
|
|
|
|
BGameSound::_Reserved_BGameSound_40(int32 arg, ...)
|
|
|
|
{
|
|
|
|
return B_ERROR;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
status_t
|
|
|
|
BGameSound::_Reserved_BGameSound_41(int32 arg, ...)
|
|
|
|
{
|
|
|
|
return B_ERROR;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
status_t
|
|
|
|
BGameSound::_Reserved_BGameSound_42(int32 arg, ...)
|
|
|
|
{
|
|
|
|
return B_ERROR;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
status_t
|
|
|
|
BGameSound::_Reserved_BGameSound_43(int32 arg, ...)
|
|
|
|
{
|
|
|
|
return B_ERROR;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
status_t
|
|
|
|
BGameSound::_Reserved_BGameSound_44(int32 arg, ...)
|
|
|
|
{
|
|
|
|
return B_ERROR;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
status_t
|
|
|
|
BGameSound::_Reserved_BGameSound_45(int32 arg, ...)
|
|
|
|
{
|
|
|
|
return B_ERROR;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
status_t
|
|
|
|
BGameSound::_Reserved_BGameSound_46(int32 arg, ...)
|
|
|
|
{
|
|
|
|
return B_ERROR;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
status_t
|
|
|
|
BGameSound::_Reserved_BGameSound_47(int32 arg, ...)
|
|
|
|
{
|
|
|
|
return B_ERROR;
|
|
|
|
}
|