Add tool package to separate testsuite binary
[platform/core/multimedia/libmm-streamrecorder.git] / src / include / mm_streamrecorder_recorder.h
index f4f74db..edd4773 100644 (file)
@@ -71,7 +71,7 @@ extern "C" {
  * @param[in]  type            Allocation type of streamrecorder context.
  * @return     This function returns zero on success, or negative value with error code.
  * @remarks
- * @see        _mmstreamrecorder_destroy_pipeline()
+ * @see                _mmstreamrecorder_destroy_pipeline()
  *
  */
 int _mmstreamrecorder_create_pipeline(MMHandleType handle);
@@ -140,55 +140,8 @@ int _mmstreamrecorder_destroy_recorder_pipeline(MMHandleType handle);
 // COMMAND
 int _mmstreamrecorder_video_command(MMHandleType handle, int command);
 
-/**
- * This function creates audio pipeline for audio recording.
- *
- * @param[in]  handle          Handle of streamrecorder.
- * @return     This function returns MM_ERROR_NONE on success, or others on failure.
- * @remarks
- * @see                _mmstreamrecorder_destroy_audio_pipeline()
- *
- */
-int _mmstreamrecorder_create_audio_pipeline(MMHandleType handle);
-
-/**
- * This function destroy audio pipeline.
- *
- * @param[in]  handle          Handle of streamrecorder.
- * @return     void
- * @remarks
- * @see                _mmstreamrecorder_destroy_pipeline()
- *
- */
-void _mmstreamrecorder_destroy_audio_pipeline(MMHandleType handle);
-
-/**
- * This function runs command for audio recording.
- *
- * @param[in]  handle          Handle of streamrecorder.
- * @param[in]  command         audio recording command.
- * @return     This function returns MM_ERROR_NONE on success, or others on failure.
- * @remarks
- * @see
- *
- */
-int _mmstreamrecorder_audio_command(MMHandleType handle, int command);
-
-/**
- * This function handles EOS(end of stream) when audio recording is finished.
- *
- * @param[in]  handle          Handle of streamrecorder.
- * @return     This function returns TRUE on success, or FALSE on failure.
- * @remarks
- * @see
- *
- */
-int _mmstreamrecorder_audio_handle_eos(MMHandleType handle);
-
-int _mmstreamrecorder_create_audiop_with_encodebin(MMHandleType handle);
-
-int _mmstreamrecorder_push_videostream_buffer(MMHandleType handle, unsigned long timestamp, GstBuffer *buffer, int size);
-int _mmstreamrecorder_push_audiostream_buffer(MMHandleType handle, unsigned long timestamp, GstBuffer *buffer, int size);
+int _mmstreamrecorder_push_videostream_buffer(MMHandleType handle, unsigned long long timestamp, GstBuffer *buffer, int size);
+int _mmstreamrecorder_push_audiostream_buffer(MMHandleType handle, unsigned long long timestamp, GstBuffer *buffer, int size);
 
 #ifdef __cplusplus
 }