diff options
Diffstat (limited to 'res/stasis_recording/stored.c')
-rw-r--r-- | res/stasis_recording/stored.c | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/res/stasis_recording/stored.c b/res/stasis_recording/stored.c index acabb65bb..50232c427 100644 --- a/res/stasis_recording/stored.c +++ b/res/stasis_recording/stored.c @@ -62,6 +62,24 @@ const char *stasis_app_stored_recording_get_file( return recording->file; } +const char *stasis_app_stored_recording_get_filename( + struct stasis_app_stored_recording *recording) +{ + if (!recording) { + return NULL; + } + return recording->file_with_ext; +} + +const char *stasis_app_stored_recording_get_extension( + struct stasis_app_stored_recording *recording) +{ + if (!recording) { + return NULL; + } + return recording->format; +} + /*! * \brief Split a path into directory and file, resolving canonical directory. * |