2009-12-05 16:34:39 +03:00
|
|
|
/*
|
|
|
|
* Copyright 2002, Marcus Overhagen. All Rights Reserved.
|
|
|
|
* Distributed under the terms of the MIT License.
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
|
|
#include "OldBufferStreamManager.h"
|
|
|
|
|
|
|
|
#include <debug.h>
|
|
|
|
|
2002-07-09 16:24:59 +04:00
|
|
|
|
|
|
|
/*************************************************************
|
|
|
|
* public BBufferStreamManager
|
|
|
|
*************************************************************/
|
|
|
|
|
|
|
|
BBufferStreamManager::BBufferStreamManager(char *name)
|
|
|
|
{
|
|
|
|
UNIMPLEMENTED();
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
BBufferStreamManager::~BBufferStreamManager()
|
|
|
|
{
|
|
|
|
UNIMPLEMENTED();
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
char *
|
|
|
|
BBufferStreamManager::Name() const
|
|
|
|
{
|
|
|
|
UNIMPLEMENTED();
|
|
|
|
return NULL;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
BBufferStream *
|
|
|
|
BBufferStreamManager::Stream() const
|
|
|
|
{
|
|
|
|
UNIMPLEMENTED();
|
|
|
|
return NULL;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
int32
|
|
|
|
BBufferStreamManager::BufferCount() const
|
|
|
|
{
|
|
|
|
UNIMPLEMENTED();
|
|
|
|
|
2002-07-12 18:01:44 +04:00
|
|
|
return 0;
|
2002-07-09 16:24:59 +04:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
void
|
|
|
|
BBufferStreamManager::SetBufferCount(int32 count)
|
|
|
|
{
|
|
|
|
UNIMPLEMENTED();
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
int32
|
|
|
|
BBufferStreamManager::BufferSize() const
|
|
|
|
{
|
|
|
|
UNIMPLEMENTED();
|
|
|
|
|
2002-07-12 18:01:44 +04:00
|
|
|
return 0;
|
2002-07-09 16:24:59 +04:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
void
|
|
|
|
BBufferStreamManager::SetBufferSize(int32 bytes)
|
|
|
|
{
|
|
|
|
UNIMPLEMENTED();
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
bigtime_t
|
|
|
|
BBufferStreamManager::BufferDelay() const
|
|
|
|
{
|
|
|
|
UNIMPLEMENTED();
|
|
|
|
|
2002-07-12 18:01:44 +04:00
|
|
|
return 0;
|
2002-07-09 16:24:59 +04:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
void
|
|
|
|
BBufferStreamManager::SetBufferDelay(bigtime_t usecs)
|
|
|
|
{
|
|
|
|
UNIMPLEMENTED();
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
bigtime_t
|
|
|
|
BBufferStreamManager::Timeout() const
|
|
|
|
{
|
|
|
|
UNIMPLEMENTED();
|
|
|
|
|
2002-07-12 18:01:44 +04:00
|
|
|
return 0;
|
2002-07-09 16:24:59 +04:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
void
|
|
|
|
BBufferStreamManager::SetTimeout(bigtime_t usecs)
|
|
|
|
{
|
|
|
|
UNIMPLEMENTED();
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
stream_state
|
|
|
|
BBufferStreamManager::Start()
|
|
|
|
{
|
|
|
|
UNIMPLEMENTED();
|
|
|
|
|
2002-07-12 18:01:44 +04:00
|
|
|
return B_IDLE;
|
2002-07-09 16:24:59 +04:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
stream_state
|
|
|
|
BBufferStreamManager::Stop()
|
|
|
|
{
|
|
|
|
UNIMPLEMENTED();
|
|
|
|
|
2002-07-12 18:01:44 +04:00
|
|
|
return B_IDLE;
|
2002-07-09 16:24:59 +04:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
stream_state
|
|
|
|
BBufferStreamManager::Abort()
|
|
|
|
{
|
|
|
|
UNIMPLEMENTED();
|
|
|
|
|
2002-07-12 18:01:44 +04:00
|
|
|
return B_IDLE;
|
2002-07-09 16:24:59 +04:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
stream_state
|
|
|
|
BBufferStreamManager::State() const
|
|
|
|
{
|
|
|
|
UNIMPLEMENTED();
|
|
|
|
|
2002-07-12 18:01:44 +04:00
|
|
|
return B_IDLE;
|
2002-07-09 16:24:59 +04:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
port_id
|
|
|
|
BBufferStreamManager::NotificationPort() const
|
|
|
|
{
|
|
|
|
UNIMPLEMENTED();
|
|
|
|
|
2002-07-12 18:01:44 +04:00
|
|
|
return 0;
|
2002-07-09 16:24:59 +04:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
void
|
|
|
|
BBufferStreamManager::SetNotificationPort(port_id port)
|
|
|
|
{
|
|
|
|
UNIMPLEMENTED();
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
bool
|
|
|
|
BBufferStreamManager::Lock()
|
|
|
|
{
|
|
|
|
UNIMPLEMENTED();
|
|
|
|
|
2002-07-12 18:01:44 +04:00
|
|
|
return false;
|
2002-07-09 16:24:59 +04:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
void
|
|
|
|
BBufferStreamManager::Unlock()
|
|
|
|
{
|
|
|
|
UNIMPLEMENTED();
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
status_t
|
|
|
|
BBufferStreamManager::Subscribe(BBufferStream *stream)
|
|
|
|
{
|
|
|
|
UNIMPLEMENTED();
|
|
|
|
|
2002-07-12 18:01:44 +04:00
|
|
|
return B_ERROR;
|
2002-07-09 16:24:59 +04:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
status_t
|
|
|
|
BBufferStreamManager::Unsubscribe()
|
|
|
|
{
|
|
|
|
UNIMPLEMENTED();
|
|
|
|
|
2002-07-12 18:01:44 +04:00
|
|
|
return B_ERROR;
|
2002-07-09 16:24:59 +04:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
subscriber_id
|
|
|
|
BBufferStreamManager::ID() const
|
|
|
|
{
|
|
|
|
UNIMPLEMENTED();
|
|
|
|
|
2002-07-12 18:01:44 +04:00
|
|
|
return 0;
|
2002-07-09 16:24:59 +04:00
|
|
|
}
|
|
|
|
|
|
|
|
/*************************************************************
|
|
|
|
* protected BBufferStreamManager
|
|
|
|
*************************************************************/
|
|
|
|
|
|
|
|
void
|
|
|
|
BBufferStreamManager::StartProcessing()
|
|
|
|
{
|
|
|
|
UNIMPLEMENTED();
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
void
|
|
|
|
BBufferStreamManager::StopProcessing()
|
|
|
|
{
|
|
|
|
UNIMPLEMENTED();
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
status_t
|
|
|
|
BBufferStreamManager::_ProcessingThread(void *arg)
|
|
|
|
{
|
|
|
|
UNIMPLEMENTED();
|
|
|
|
|
2002-07-12 18:01:44 +04:00
|
|
|
return B_ERROR;
|
2002-07-09 16:24:59 +04:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
void
|
|
|
|
BBufferStreamManager::ProcessingThread()
|
|
|
|
{
|
|
|
|
UNIMPLEMENTED();
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
void
|
|
|
|
BBufferStreamManager::SetState(stream_state newState)
|
|
|
|
{
|
|
|
|
UNIMPLEMENTED();
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
bigtime_t
|
|
|
|
BBufferStreamManager::SnoozeUntil(bigtime_t sys_time)
|
|
|
|
{
|
|
|
|
UNIMPLEMENTED();
|
|
|
|
|
2002-07-12 18:01:44 +04:00
|
|
|
return 0;
|
2002-07-09 16:24:59 +04:00
|
|
|
}
|
|
|
|
|
|
|
|
/*************************************************************
|
|
|
|
* private BBufferStreamManager
|
|
|
|
*************************************************************/
|
|
|
|
|
|
|
|
void
|
|
|
|
BBufferStreamManager::_ReservedBufferStreamManager1()
|
|
|
|
{
|
|
|
|
UNIMPLEMENTED();
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
void
|
|
|
|
BBufferStreamManager::_ReservedBufferStreamManager2()
|
|
|
|
{
|
|
|
|
UNIMPLEMENTED();
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
void
|
|
|
|
BBufferStreamManager::_ReservedBufferStreamManager3()
|
|
|
|
{
|
|
|
|
UNIMPLEMENTED();
|
|
|
|
}
|
|
|
|
|
|
|
|
|