Update of /cvsroot/playerstage/code/player/client_libs/libplayerc++
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv27192/libplayerc++
Modified Files:
audioproxy.cc playerc++.h
Log Message:
Updates to audio interface.
Index: playerc++.h
===================================================================
RCS file:
/cvsroot/playerstage/code/player/client_libs/libplayerc++/playerc++.h,v
retrieving revision 1.79
retrieving revision 1.80
diff -C2 -d -r1.79 -r1.80
*** playerc++.h 2 Feb 2007 14:32:56 -0000 1.79
--- playerc++.h 12 Feb 2007 01:29:42 -0000 1.80
***************
*** 282,286 ****
/** @brief Request to record new sample */
! void RecordSample(int aIndex);
/** @brief Request mixer channel data
--- 282,286 ----
/** @brief Request to record new sample */
! void RecordSample(int aIndex, uint32_t aLength);
/** @brief Request mixer channel data
***************
*** 1066,1070 ****
/// Number of points in scan
uint GetCount() const { return GetVar(mDevice->scan_count); };
!
/// Max range for the latest set of data (meters)
double GetMaxRange() const { return GetVar(mDevice->max_range); };
--- 1066,1070 ----
/// Number of points in scan
uint GetCount() const { return GetVar(mDevice->scan_count); };
!
/// Max range for the latest set of data (meters)
double GetMaxRange() const { return GetVar(mDevice->max_range); };
***************
*** 2170,2179 ****
/// set the 3D pose of an object in the simulator, identified by the
/// std::string. Returns 0 on success, else a non-zero error code.
! void SetPose3d(char* identifier, double x, double y, double z,
double roll, double pitch, double yaw);
/// get the 3D pose of an object in the simulator, identified by the
/// std::string Returns 0 on success, else a non-zero error code.
! void GetPose3d(char* identifier, double& x, double& y, double& z,
double& roll, double& pitch, double& yaw, double& time);
};
--- 2170,2179 ----
/// set the 3D pose of an object in the simulator, identified by the
/// std::string. Returns 0 on success, else a non-zero error code.
! void SetPose3d(char* identifier, double x, double y, double z,
double roll, double pitch, double yaw);
/// get the 3D pose of an object in the simulator, identified by the
/// std::string Returns 0 on success, else a non-zero error code.
! void GetPose3d(char* identifier, double& x, double& y, double& z,
double& roll, double& pitch, double& yaw, double& time);
};
Index: audioproxy.cc
===================================================================
RCS file:
/cvsroot/playerstage/code/player/client_libs/libplayerc++/audioproxy.cc,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -d -r1.5 -r1.6
*** audioproxy.cc 24 Aug 2006 00:25:14 -0000 1.5
--- audioproxy.cc 12 Feb 2007 01:29:42 -0000 1.6
***************
*** 206,213 ****
/** @brief Request to record new sample */
! void AudioProxy::RecordSample(int aIndex)
{
scoped_lock_t lock(mPc->mMutex);
! int ret = playerc_audio_sample_rec(mDevice, aIndex);
if (ret == -2)
--- 206,213 ----
/** @brief Request to record new sample */
! void AudioProxy::RecordSample(int aIndex, uint32_t aLength)
{
scoped_lock_t lock(mPc->mMutex);
! int ret = playerc_audio_sample_rec(mDevice, aIndex, aLength);
if (ret == -2)
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Playerstage-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/playerstage-commit