mirror of
https://github.com/obsproject/obs-studio.git
synced 2026-09-24 23:31:36 +08:00
libobs: Mark parameter as constant if not modifying
This commit is contained in:
+1
-1
@@ -1050,7 +1050,7 @@ static void handle_ts_jump(obs_source_t *source, uint64_t expected,
|
||||
}
|
||||
|
||||
static void source_signal_audio_data(obs_source_t *source,
|
||||
struct audio_data *in, bool muted)
|
||||
const struct audio_data *in, bool muted)
|
||||
{
|
||||
pthread_mutex_lock(&source->audio_cb_mutex);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user