dr_prefetch_cdda.h

来自「这是DVD中伺服部分的核心代码」· C头文件 代码 · 共 84 行

H
84
字号
/******************************************************************************
*******************************************************************************
**                                                                           **
**  Copyright (c) 2005 Videon Central, Inc.                                  **
**  All rights reserved.                                                     **
**                                                                           **
**  The computer program contained herein contains proprietary information   **
**  which is the property of Videon Central, Inc.  The program may be used   **
**  and/or copied only with the written permission of Videon Central, Inc.   **
**  or in accordance with the terms and conditions stipulated in the         **
**  agreement/contract under which the programs have been supplied.          **
**                                                                           **
*******************************************************************************
******************************************************************************/
/**
 * @file dr_prefetch_cdda.h
 *
 * DR Prefetch Class header file.
 *
 * $Id: dr_prefetch_cdda.h,v 1.2 2007/01/05 02:02:54 rbehe Exp $
 */

#ifndef DR_PREFETCH_CDDA_H
#define DR_PREFETCH_CDDA_H




#include "dr_prefetch.h"





#ifdef __cplusplus
extern "C" {
#endif







/**************************
 *
 * CLASS DRPrefetch_CDDA
 *
 **************************/
class DRPrefetch_CDDA: public DRPrefetch
{
private:
    DR_ERROR dataRetrieve(PLAYCMD playcmd);
    DR_ERROR drSendQData(void);

public:
    DRPrefetch_CDDA()
    {
    }

    ~DRPrefetch_CDDA()
    {
        Stop(TRUE);
    }

    void * operator new( size_t size )
    {
        return ( OS_MemAlloc(size) );
    }

    void operator delete( void * pvPFB )
    {
        OS_MemFree(pvPFB);
    }
};


#ifdef __cplusplus
}
#endif


#endif

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?