From 720420f0e677008d3c1d9ebae8b20918032dff6b Mon Sep 17 00:00:00 2001 From: Henri Herscher Date: Tue, 6 Dec 2005 17:28:37 +0000 Subject: Added "recording ID" to tape which is the id of a tape before it gets a db ID git-svn-id: https://oreka.svn.sourceforge.net/svnroot/oreka/trunk@95 09dcff7a-b715-0410-9601-b79a96267cd0 --- orkaudio/messages/TapeMsg.cpp | 1 + orkaudio/messages/TapeMsg.h | 2 ++ 2 files changed, 3 insertions(+) (limited to 'orkaudio') diff --git a/orkaudio/messages/TapeMsg.cpp b/orkaudio/messages/TapeMsg.cpp index 86c86b4..4c212d3 100644 --- a/orkaudio/messages/TapeMsg.cpp +++ b/orkaudio/messages/TapeMsg.cpp @@ -28,6 +28,7 @@ void TapeMsg::Define(Serializer* s) { CStdString tapeMessageName(TAPE_MESSAGE_NAME); s->StringValue(OBJECT_TYPE_TAG, tapeMessageName, true); + s->StringValue(REC_ID_PARAM, m_recId, true); s->StringValue(STAGE_PARAM, m_stage, true); s->StringValue(CAPTURE_PORT_PARAM, m_capturePort, true); s->IntValue(TIMESTAMP_PARAM, (int&)m_timestamp, true); diff --git a/orkaudio/messages/TapeMsg.h b/orkaudio/messages/TapeMsg.h index d127c6d..9d0ec3f 100644 --- a/orkaudio/messages/TapeMsg.h +++ b/orkaudio/messages/TapeMsg.h @@ -18,6 +18,7 @@ #include "AudioTape.h" #define TAPE_MESSAGE_NAME "tape" +#define REC_ID_PARAM "recid" #define FILENAME_PARAM "filename" #define STAGE_PARAM "stage" #define LOCALPARTY_PARAM "localparty" @@ -39,6 +40,7 @@ public: ObjectRef NewInstance(); inline ObjectRef Process() {return ObjectRef();}; + CStdString m_recId; CStdString m_stage; time_t m_timestamp; CStdString m_fileName; -- cgit v1.2.3