FS-5807 contd

This commit is contained in:
Anthony Minessale
2013-09-20 23:34:57 +05:00
parent 235a7c5683
commit 8084c28d62
5 changed files with 48 additions and 11 deletions
+3 -1
View File
@@ -310,7 +310,7 @@ struct switch_file_handle {
/*! the current native samplerate */
uint32_t native_rate;
/*! the number of channels */
uint8_t channels;
uint32_t channels;
/*! integer representation of the format */
unsigned int format;
/*! integer representation of the sections */
@@ -353,6 +353,8 @@ struct switch_file_handle {
const char *prefix;
int max_samples;
switch_event_t *params;
uint32_t cur_channels;
uint32_t cur_samplerate;
};
/*! \brief Abstract interface to an asr module */
+2 -1
View File
@@ -1581,7 +1581,8 @@ typedef enum {
SWITCH_FILE_BUFFER_DONE = (1 << 14),
SWITCH_FILE_WRITE_APPEND = (1 << 15),
SWITCH_FILE_WRITE_OVER = (1 << 16),
SWITCH_FILE_NOMUX = (1 << 17)
SWITCH_FILE_NOMUX = (1 << 17),
SWITCH_FILE_BREAK_ON_CHANGE = (1 << 18)
} switch_file_flag_enum_t;
typedef uint32_t switch_file_flag_t;