提交 d9d33b43 编写于 作者: K Ka Ho Ng

oss-audio: Add en-US translation data file

上级 05c9ddd2
......@@ -34,4 +34,4 @@ target_link_libraries(oss-audio
)
set_target_properties(oss-audio PROPERTIES FOLDER "plugins")
install_obs_plugin(oss-audio)
install_obs_plugin_with_data(oss-audio data)
OSSInput="Audio Input Capture (OSS)"
DSP="DSP"
CustomDSPPath="Custom DSP Path"
SampleRate="Sample rate"
Channels="Channels"
SampleFormat="Sample format"
Default="Default"
Custom="Custom"
......@@ -322,7 +322,7 @@ static void oss_stop_reader(struct oss_input_data *handle)
static const char *oss_getname(void *unused)
{
UNUSED_PARAMETER(unused);
return obs_module_text("OSS Input");
return obs_module_text("OSSInput");
}
/**
......@@ -630,16 +630,18 @@ static obs_properties_t *oss_properties(void *unused)
OBS_COMBO_TYPE_LIST,
OBS_COMBO_FORMAT_STRING);
obs_property_list_add_string(devices, "Default", OSS_DSP_DEFAULT);
obs_property_list_add_string(devices, "Custom", OBS_PATH_DSP_CUSTOM);
obs_property_list_add_string(devices, obs_module_text("Default"),
OSS_DSP_DEFAULT);
obs_property_list_add_string(devices, obs_module_text("Custom"),
OBS_PATH_DSP_CUSTOM);
obs_property_set_modified_callback(devices, oss_on_devices_changed);
obs_properties_add_text(props, OBS_PROPS_CUSTOM_DSP,
obs_module_text("Custom DSP Path"),
obs_module_text("CustomDSPPath"),
OBS_TEXT_DEFAULT);
rate = obs_properties_add_list(props, OBS_PROPS_RATE,
obs_module_text("Sample rate"),
obs_module_text("SampleRate"),
OBS_COMBO_TYPE_LIST,
OBS_COMBO_FORMAT_INT);
channels = obs_properties_add_list(props, OBS_PROPS_CHANNELS,
......@@ -649,7 +651,7 @@ static obs_properties_t *oss_properties(void *unused)
oss_fill_device_info(rate, channels, OSS_DSP_DEFAULT);
sample_fmt = obs_properties_add_list(props, OBS_PROPS_SAMPLE_FMT,
obs_module_text("Sample format"),
obs_module_text("SampleFormat"),
OBS_COMBO_TYPE_LIST,
OBS_COMBO_FORMAT_INT);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册