mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-07-23 12:42:02 +00:00
fix sample goodies
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1525 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
@@ -432,6 +432,12 @@ SWITCH_DECLARE(switch_status_t) switch_core_session_queue_event(switch_core_sess
|
||||
*/
|
||||
SWITCH_DECLARE(switch_status_t) switch_core_session_read_frame(switch_core_session_t *session, switch_frame_t **frame, int timeout, int stream_id);
|
||||
|
||||
/*!
|
||||
\brief Reset the buffers and resampler on a session
|
||||
\param session the session to reset
|
||||
*/
|
||||
SWITCH_DECLARE(void) switch_core_session_reset(switch_core_session_t *session);
|
||||
|
||||
/*!
|
||||
\brief Write a frame to a session
|
||||
\param session the session to write to
|
||||
|
||||
@@ -229,7 +229,8 @@ typedef enum {
|
||||
SWITCH_STATUS_GENERR - A general Error
|
||||
SWITCH_STATUS_INUSE - An indication that requested resource is in use
|
||||
SWITCH_STATUS_BREAK - A non-fatal break of an operation
|
||||
SWITCH_STATUS_SOCKERR - A socket error
|
||||
SWITCH_STATUS_SOCKERR - A socket error
|
||||
SWITCH_STATUS_MORE_DATA - Need More Data
|
||||
</pre>
|
||||
*/
|
||||
typedef enum {
|
||||
@@ -245,7 +246,8 @@ typedef enum {
|
||||
SWITCH_STATUS_GENERR,
|
||||
SWITCH_STATUS_INUSE,
|
||||
SWITCH_STATUS_BREAK,
|
||||
SWITCH_STATUS_SOCKERR
|
||||
SWITCH_STATUS_SOCKERR,
|
||||
SWITCH_STATUS_MORE_DATA
|
||||
} switch_status_t;
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user