diff options
Diffstat (limited to 'apps/codecs.h')
-rw-r--r-- | apps/codecs.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/apps/codecs.h b/apps/codecs.h index 3d7ead159e..6710afdc8e 100644 --- a/apps/codecs.h +++ b/apps/codecs.h | |||
@@ -90,12 +90,12 @@ | |||
90 | #define CODEC_ENC_MAGIC 0x52454E43 /* RENC */ | 90 | #define CODEC_ENC_MAGIC 0x52454E43 /* RENC */ |
91 | 91 | ||
92 | /* increase this every time the api struct changes */ | 92 | /* increase this every time the api struct changes */ |
93 | #define CODEC_API_VERSION 14 | 93 | #define CODEC_API_VERSION 15 |
94 | 94 | ||
95 | /* update this to latest version if a change to the api struct breaks | 95 | /* update this to latest version if a change to the api struct breaks |
96 | backwards compatibility (and please take the opportunity to sort in any | 96 | backwards compatibility (and please take the opportunity to sort in any |
97 | new function which are "waiting" at the end of the function table) */ | 97 | new function which are "waiting" at the end of the function table) */ |
98 | #define CODEC_MIN_API_VERSION 14 | 98 | #define CODEC_MIN_API_VERSION 15 |
99 | 99 | ||
100 | /* codec return codes */ | 100 | /* codec return codes */ |
101 | enum codec_status { | 101 | enum codec_status { |
@@ -303,6 +303,7 @@ struct codec_api { | |||
303 | #endif | 303 | #endif |
304 | 304 | ||
305 | #if defined(HAVE_RECORDING) && !defined(SIMULATOR) | 305 | #if defined(HAVE_RECORDING) && !defined(SIMULATOR) |
306 | volatile bool stop_encoder; | ||
306 | volatile int enc_codec_loaded; /* <0=error, 0=pending, >0=ok */ | 307 | volatile int enc_codec_loaded; /* <0=error, 0=pending, >0=ok */ |
307 | void (*enc_get_inputs)(struct enc_inputs *inputs); | 308 | void (*enc_get_inputs)(struct enc_inputs *inputs); |
308 | void (*enc_set_parameters)(struct enc_parameters *params); | 309 | void (*enc_set_parameters)(struct enc_parameters *params); |