am_vr_playback_record.cc
来自「Motorola synergy audio component」· CC 代码 · 共 71 行
CC
71 行
/*----------------------------------------------------------------------------//// (c) Copyright Motorola 1997, All rights reserved.// Motorola Confidential Proprietary// Contains Confidential Proprietary information of Motorola, Inc.// Reverse engineering is prohibited.// The copyright notice does not imply publication.////----------------------------------------------------------------------------//------------------------------ DESCRIPTION ---------------------------------//// This file defines AM_VR_Playback_Record class.////----------------------------------------------------------------------------//---------------------------- REVISION HISTORY ------------------------------//// Date Author Reference Number// ======== ======== ================// 00-08-09 mtaraba CR - CSGce55882// Eliminate file gsm.h from audio manager//// 97.05.29 slam PR - CSGce10240////---------------------------------------------------------------------------- *///------------------------------- INCLUDES -----------------------------------#include <audio/AM_VR_Playback_Record.H>#include <audio/am_globals.h>#include <string.h>//-------------------------------- CODE --------------------------------------// class constructorAM_VR_Playback_Record :: AM_VR_Playback_Record ( AM_VR_PLAYBACK_RECORD *playback_record_ptr) { voice_tag_ptr = playback_record_ptr; clear();}// Function to clear voice tag recordvoidAM_VR_Playback_Record :: clear ( void ){ voice_tag_ptr->voice_tag_count = 0; memset( voice_tag_ptr->voice_tag_array, 0, sizeof( voice_tag_ptr->voice_tag_array ) );} // Function to save voice tag datavoidAM_VR_Playback_Record :: save( UINT16 voice_tag_count, TD_VR_VOICE_TAG *tag_array ){ UINT16 i; voice_tag_ptr->voice_tag_count = voice_tag_count; for( i = 0; i < voice_tag_count; i++ ) voice_tag_ptr->voice_tag_array[ i ] = tag_array[ i ];}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?