Skip to content

Commit

Permalink
拡張編集使用時に映像と音声の長さが異なる場合には、警告を出して一時中断し、処理を継続するか判断してもらうよう変更。
Browse files Browse the repository at this point in the history
  • Loading branch information
rigaya committed Jun 22, 2024
1 parent 2a7c058 commit cb29c34
Show file tree
Hide file tree
Showing 12 changed files with 165 additions and 23 deletions.
16 changes: 15 additions & 1 deletion NVEnc/NVEnc.en.lng
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,21 @@ AUO_ERR_VIDENC_VERSION4=Version of exe file
AUO_ERR_AFS_GET_FRAME=Failed to get frame from Aviutl.
AUO_ERR_OPEN_WAVFILE=Failed to open wav file.
AUO_ERR_NO_WAVFILE=Could not find wav file. Audio encoding has failed.
AUO_ERR_AUDIO_LENGTH_DIFFERENT1=Audio length seems to differ from video length.
AUO_ERR_AUDIO_LENGTH_EXEDIT1=Audio track in exedit and Aviutl might be conflicting.
AUO_ERR_AUDIO_LENGTH_EXEDIT2=In order to make audio from exedit active again, please abort output and
AUO_ERR_AUDIO_LENGTH_EXEDIT3=try switching scene in exedit, and retry output again.
AUO_ERR_AUDIO_LENGTH_EXEDIT4= (For example, switch scene to and from like "Root" �� "Scene1" �� "Root").
AUO_ERR_AUDIO_LENGTH_EXEDIT5=However when audio samplerate in exedit is different from the original audio,
AUO_ERR_AUDIO_LENGTH_EXEDIT6=this problem may not be solved.
AUO_ERR_AUDIO_LENGTH_EXEDIT7=Please note that audio track should be read only in exedit when using exedit.\n
AUO_ERR_AUDIO_LENGTH_ZERO1=There is no audio data to be written (Audio length is zero).\n
AUO_ERR_AUDIO_LENGTH_ZERO2=If you do not intentionally output audio, please check "No audio" in the "Audio compression" box
AUO_ERR_AUDIO_LENGTH_ZERO3=at the bottom of the output file dialog of the plugin output.
AUO_ERR_AUDIO_LENGTH_PROMPT_YESNO1=Will you abort output?
AUO_ERR_AUDIO_LENGTH_PROMPT_YESNO2=[ Yes ] ... Abort output
AUO_ERR_AUDIO_LENGTH_PROMPT_YESNO3=[ No ] ... Ignore warning and continue output
AUO_ERR_AUDIO_LENGTH_DIFFERENT1=Audio length seems to differ from video length. (%.1f�� > %.1f��)
AUO_ERR_AUDIO_LENGTH_DIFFERENT1_2=Audio length seems to differ from video length.
AUO_ERR_AUDIO_LENGTH_DIFFERENT2=Video: %d:%02d:%02d.%03d, Audio: %d:%02d:%02d.%03d
AUO_ERR_AUDIO_LENGTH_DIFFERENT3=Audio length has been adjusted to match video length.
AUO_ERR_AUDIO_LENGTH_DIFFERENT4=Audio track in exedit and Aviutl might be conflicting.
Expand Down
16 changes: 15 additions & 1 deletion NVEnc/NVEnc.ja.lng
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,21 @@ AUO_ERR_VIDENC_VERSION4=実行ファイルのバージョン
AUO_ERR_AFS_GET_FRAME=Aviutlからのフレーム読み込みに失敗しました。
AUO_ERR_OPEN_WAVFILE=wavファイルのオープンに失敗しました。
AUO_ERR_NO_WAVFILE=wavファイルがみつかりません。音声エンコードに失敗しました。
AUO_ERR_AUDIO_LENGTH_DIFFERENT1=音声の長さが映像の長さと異なるようです。
AUO_ERR_AUDIO_LENGTH_EXEDIT1=拡張編集の音声トラックとAviutl本体の音声トラックが競合していて、
AUO_ERR_AUDIO_LENGTH_EXEDIT2=拡張編集側で編集した音声が出力されず、意図した音声出力ができない可能性が高いです。
AUO_ERR_AUDIO_LENGTH_EXEDIT3=一度出力を中断し、適当に拡張編集でシーン切り替えを一度行って戻した後、再出力することで改善する場合があります。
AUO_ERR_AUDIO_LENGTH_EXEDIT4=(例えば拡張編集のシーンを Root → Scene1 → Root のように切り替えて戻す)
AUO_ERR_AUDIO_LENGTH_EXEDIT5=ただ、拡張編集側の音声のサンプリングレートとAviutl本体側の音声のサンプリングレートが異なる場合には、
AUO_ERR_AUDIO_LENGTH_EXEDIT6=これで解決できない場合もあります。
AUO_ERR_AUDIO_LENGTH_EXEDIT7=拡張編集使用時には、Aviutl本体の音声トラック読み込みを使用しないようご注意ください。\n
AUO_ERR_AUDIO_LENGTH_ZERO1=音声データが存在しないため、エンコードを行えません。(長さが0です)\n
AUO_ERR_AUDIO_LENGTH_ZERO2=意図的に音声の出力を行わない場合には、プラグイン出力の出力ファイル名を指定する画面の下部にある
AUO_ERR_AUDIO_LENGTH_ZERO3=「オーディオ圧縮」欄にて、「音声無し」にチェックを入れて出力しなおしてください。
AUO_ERR_AUDIO_LENGTH_PROMPT_YESNO1=出力を中断しますか?
AUO_ERR_AUDIO_LENGTH_PROMPT_YESNO2=[ はい  ] ... 出力を中断する (推奨)
AUO_ERR_AUDIO_LENGTH_PROMPT_YESNO3=[ いいえ ] ... 警告を無視して出力を継続する
AUO_ERR_AUDIO_LENGTH_DIFFERENT1=音声の長さが映像の長さと異なるようです。(%.1f% > %.1f%)
AUO_ERR_AUDIO_LENGTH_DIFFERENT1_2=音声の長さが映像の長さと異なるようです。
AUO_ERR_AUDIO_LENGTH_DIFFERENT2=映像: %d:%02d:%02d.%03d, 音声: %d:%02d:%02d.%03d
AUO_ERR_AUDIO_LENGTH_DIFFERENT3=音声の長さが映像の長さに一致するよう、自動的に調整しました。
AUO_ERR_AUDIO_LENGTH_DIFFERENT4=拡張編集の音声トラックとAviutl本体の音声トラックが競合している可能性があります。
Expand Down
16 changes: 15 additions & 1 deletion NVEnc/NVEnc.zh.lng
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,21 @@ AUO_ERR_VIDENC_VERSION4=可执行文件版本
AUO_ERR_AFS_GET_FRAME=无法从Aviutl中读取到帧。
AUO_ERR_OPEN_WAVFILE=无法打开wav文件。
AUO_ERR_NO_WAVFILE=找不到wav文件。音频编码失败。
AUO_ERR_AUDIO_LENGTH_DIFFERENT1=音频长度与视频长度不匹配。
AUO_ERR_AUDIO_LENGTH_EXEDIT1=扩展编辑端音轨和Aviutl本体端音轨可能存在冲突,
AUO_ERR_AUDIO_LENGTH_EXEDIT2=扩展编辑端编辑的音频很可能无法导出,目标音频也可能无法按预期导出。
AUO_ERR_AUDIO_LENGTH_EXEDIT3=中断导出,适当地切换一次扩展编辑次合成,然后重新导出,或许能改善这种问题。
AUO_ERR_AUDIO_LENGTH_EXEDIT4= (例如,在扩展编辑端进行如下切换:主合成 → 次合成 1 → 主合成)。
AUO_ERR_AUDIO_LENGTH_EXEDIT5=但如果扩展编辑端与Aviutl本体端的音频采样率不同,
AUO_ERR_AUDIO_LENGTH_EXEDIT6=该问题不一定能够解决。
AUO_ERR_AUDIO_LENGTH_EXEDIT7=请注意,不要在使用扩展编辑时,同时使用Aviutl本体自带的音轨读取功能。\n
AUO_ERR_AUDIO_LENGTH_ZERO1=音频数据不存在,无法编码。(长度为0)\n
AUO_ERR_AUDIO_LENGTH_ZERO2=若不想导出音频,请在勾选屏幕底部“音频压缩”栏右侧的“禁用音频”
AUO_ERR_AUDIO_LENGTH_ZERO3=,以指定插件导出的导出文件名,然后重新导出。
AUO_ERR_AUDIO_LENGTH_PROMPT_YESNO1=是否中止导出?
AUO_ERR_AUDIO_LENGTH_PROMPT_YESNO2=[ 是 ] ... 中止导出
AUO_ERR_AUDIO_LENGTH_PROMPT_YESNO3=[ 否 ] ... 忽略警告,继续导出。
AUO_ERR_AUDIO_LENGTH_DIFFERENT1=音频长度与视频长度不匹配。 (%.1f% > %.1f%)
AUO_ERR_AUDIO_LENGTH_DIFFERENT1_2=音频长度与视频长度不匹配。
AUO_ERR_AUDIO_LENGTH_DIFFERENT2=视频: %d:%02d:%02d.%03d, 音频: %d:%02d:%02d.%03d
AUO_ERR_AUDIO_LENGTH_DIFFERENT3=将自动调整音频长度以匹配视频长度。
AUO_ERR_AUDIO_LENGTH_DIFFERENT4=扩展编辑音轨和Aviutl本体音轨可能存在冲突。
Expand Down
46 changes: 41 additions & 5 deletions NVEnc/encode/auo_audio.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -118,14 +118,42 @@ void auo_faw_check(CONF_AUDIO *aud, const OUTPUT_INFO *oip, PRM_ENC *pe, const g
}
}

void check_audio_length(OUTPUT_INFO *oip) {
int message_check_audio_length() {
std::wstring mes = g_auo_mes.get(AUO_ERR_AUDIO_LENGTH_DIFFERENT1_2) + std::wstring(L"\n\n");
mes += g_auo_mes.get(AUO_ERR_AUDIO_LENGTH_EXEDIT1);
mes += g_auo_mes.get(AUO_ERR_AUDIO_LENGTH_EXEDIT2) + std::wstring(L"\n\n");
mes += g_auo_mes.get(AUO_ERR_AUDIO_LENGTH_EXEDIT3);
mes += g_auo_mes.get(AUO_ERR_AUDIO_LENGTH_EXEDIT4) + std::wstring(L"\n\n");
mes += g_auo_mes.get(AUO_ERR_AUDIO_LENGTH_EXEDIT5);
mes += g_auo_mes.get(AUO_ERR_AUDIO_LENGTH_EXEDIT6) + std::wstring(L"\n\n");
mes += g_auo_mes.get(AUO_ERR_AUDIO_LENGTH_PROMPT_YESNO1) + std::wstring(L"\n");
mes += g_auo_mes.get(AUO_ERR_AUDIO_LENGTH_PROMPT_YESNO2) + std::wstring(L"\n");
mes += g_auo_mes.get(AUO_ERR_AUDIO_LENGTH_PROMPT_YESNO3) + std::wstring(L"\n");
return MessageBox(NULL, wstring_to_string(mes).c_str(), AUO_NAME, MB_ICONERROR | MB_YESNO) == IDYES ? 1 : 0;
}

int check_audio_length(OUTPUT_INFO *oip, double av_length_threshold) {
if ((oip->flag & OUTPUT_INFO_FLAG_AUDIO) == 0) {
return 0;
}
const double video_length = oip->n * (double)oip->scale / oip->rate;
const double audio_length = oip->audio_n / (double)oip->audio_rate;
if (video_length <= 1.0) { // 1秒未満はチェックしない
return;
return 0;
}
if (oip->audio_n == 0) {
const BOOL exedit_is_used = check_if_exedit_is_used();
error_audio_length_zero(exedit_is_used);
if (oip->flag & OUTPUT_INFO_FLAG_BATCH) { // バッチ出力時は即エラー終了
return 1;
}
return message_check_audio_length();
}
av_length_threshold = std::abs(av_length_threshold);
av_length_threshold = std::max(1e-4, av_length_threshold);

const double audio_ratio = audio_length / video_length;
if (!check_range(audio_ratio, 0.95, 1.05)) { // 5%以上 差がある場合
if (!check_range(audio_ratio, std::max(1.0 - av_length_threshold, 0.0), 1.0 + av_length_threshold)) {
const BOOL exedit_is_used = check_if_exedit_is_used();
int selected_audio_rate = 0;
if (exedit_is_used
Expand All @@ -144,11 +172,19 @@ void check_audio_length(OUTPUT_INFO *oip) {
}
if (selected_audio_rate != 0) {
oip->audio_n = (int)div_round((int64_t)oip->audio_n * (int64_t)oip->audio_rate, (int64_t)selected_audio_rate);
info_audio_length_changed(video_length, audio_length, exedit_is_used);
info_audio_length_changed(video_length, audio_length, exedit_is_used, av_length_threshold);
} else { // 5%以上差がある場合
warning_audio_length(video_length, audio_length, exedit_is_used);
error_audio_length(video_length, audio_length, exedit_is_used, av_length_threshold);
// 拡張編集使用時には、意図しない出力である可能性が高く、エラー終了させる
if (exedit_is_used) {
if (oip->flag & OUTPUT_INFO_FLAG_BATCH) { // バッチ出力時は即エラー終了
return 1;
}
return message_check_audio_length();
}
}
}
return 0;
}

static void build_wave_header(BYTE *head, const int audio_ch, const int audio_rate, BOOL use_8bit, int sample_n) {
Expand Down
2 changes: 1 addition & 1 deletion NVEnc/encode/auo_audio.h
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
void *get_audio_data(const OUTPUT_INFO *oip, PRM_ENC *pe, int start, int length, int *readed);

void auo_faw_check(CONF_AUDIO *aud, const OUTPUT_INFO *oip, PRM_ENC *pe, const guiEx_settings *ex_stg);
void check_audio_length(OUTPUT_INFO *oip);
int check_audio_length(OUTPUT_INFO *oip, double av_length_threshold);

AUO_RESULT audio_output(CONF_GUIEX *conf, const OUTPUT_INFO *oip, PRM_ENC *pe, const SYSTEM_DATA *sys_dat); //音声処理を実行
AUO_RESULT audio_output_parallel(CONF_GUIEX *conf, const OUTPUT_INFO *oip, PRM_ENC *pe, const SYSTEM_DATA *sys_dat);
Expand Down
4 changes: 3 additions & 1 deletion NVEnc/encode/auo_encode.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -552,7 +552,9 @@ BOOL check_output(CONF_GUIEX *conf, OUTPUT_INFO *oip, const PRM_ENC *pe, guiEx_s
//音声エンコーダ
if (oip->flag & OUTPUT_INFO_FLAG_AUDIO) {
//音声長さチェック
check_audio_length(oip);
if (check_audio_length(oip, exstg->s_local.av_length_threshold)) {
check = FALSE;
}

if (conf->aud.use_internal) {
CONF_AUDIO_BASE *cnf_aud = &conf->aud.in;
Expand Down
50 changes: 39 additions & 11 deletions NVEnc/frm/auo_error.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -390,7 +390,23 @@ void error_no_wavefile() {
write_log_auo_line(LOG_ERROR, g_auo_mes.get(AUO_ERR_NO_WAVFILE));
}

static void message_audio_length_different(const double video_length, const double audio_length, const BOOL exedit_is_used, const BOOL audio_length_changed) {

void error_audio_length_zero(const BOOL exedit_is_used) {
write_log_auo_line(LOG_ERROR, g_auo_mes.get(AUO_ERR_AUDIO_LENGTH_ZERO1));
if (exedit_is_used) {
write_log_auo_line(LOG_ERROR, g_auo_mes.get(AUO_ERR_AUDIO_LENGTH_EXEDIT1));
write_log_auo_line(LOG_ERROR, g_auo_mes.get(AUO_ERR_AUDIO_LENGTH_EXEDIT2));
write_log_auo_line(LOG_ERROR, g_auo_mes.get(AUO_ERR_AUDIO_LENGTH_EXEDIT3));
write_log_auo_line(LOG_ERROR, g_auo_mes.get(AUO_ERR_AUDIO_LENGTH_EXEDIT4));
write_log_auo_line(LOG_ERROR, g_auo_mes.get(AUO_ERR_AUDIO_LENGTH_EXEDIT5));
write_log_auo_line(LOG_ERROR, g_auo_mes.get(AUO_ERR_AUDIO_LENGTH_EXEDIT6));
write_log_auo_line(LOG_ERROR, g_auo_mes.get(AUO_ERR_AUDIO_LENGTH_EXEDIT7));
}
write_log_auo_line(LOG_WARNING, g_auo_mes.get(AUO_ERR_AUDIO_LENGTH_ZERO2));
write_log_auo_line(LOG_WARNING, g_auo_mes.get(AUO_ERR_AUDIO_LENGTH_ZERO3));
}

static void message_audio_length_different(const double video_length, const double audio_length, const BOOL exedit_is_used, const double av_length_threshold, const BOOL audio_length_changed) {
const int vid_h = (int)(video_length / 3600);
const int vid_m = (int)(video_length - vid_h * 3600) / 60;
const int vid_s = (int)(video_length - vid_h * 3600 - vid_m * 60);
Expand All @@ -401,24 +417,36 @@ static void message_audio_length_different(const double video_length, const doub
const int aud_s = (int)(audio_length - aud_h * 3600 - aud_m * 60);
const int aud_ms = std::min((int)((audio_length - (double)(aud_h * 3600 + aud_m * 60 + aud_s)) * 1000.0), 999);

const double diff_ratio = std::abs(1.0 - (audio_length / video_length));

if (audio_length_changed) {
write_log_auo_line( LOG_INFO, g_auo_mes.get(AUO_ERR_AUDIO_LENGTH_DIFFERENT1));
write_log_auo_line_fmt(LOG_INFO, g_auo_mes.get(AUO_ERR_AUDIO_LENGTH_DIFFERENT1), diff_ratio * 100.0, av_length_threshold * 100.0);
write_log_auo_line_fmt(LOG_INFO, g_auo_mes.get(AUO_ERR_AUDIO_LENGTH_DIFFERENT2),
vid_h, vid_m, vid_s, vid_ms,
aud_h, aud_m, aud_s, aud_ms);
write_log_auo_line(LOG_INFO, g_auo_mes.get(AUO_ERR_AUDIO_LENGTH_DIFFERENT3));
if (exedit_is_used) {
write_log_auo_line(LOG_INFO, g_auo_mes.get(AUO_ERR_AUDIO_LENGTH_DIFFERENT4));
write_log_auo_line(LOG_INFO, g_auo_mes.get(AUO_ERR_AUDIO_LENGTH_DIFFERENT5));
write_log_auo_line(LOG_INFO, g_auo_mes.get(AUO_ERR_AUDIO_LENGTH_EXEDIT1));
write_log_auo_line(LOG_INFO, g_auo_mes.get(AUO_ERR_AUDIO_LENGTH_EXEDIT2));
write_log_auo_line(LOG_INFO, g_auo_mes.get(AUO_ERR_AUDIO_LENGTH_EXEDIT3));
write_log_auo_line(LOG_INFO, g_auo_mes.get(AUO_ERR_AUDIO_LENGTH_EXEDIT4));
write_log_auo_line(LOG_INFO, g_auo_mes.get(AUO_ERR_AUDIO_LENGTH_EXEDIT5));
write_log_auo_line(LOG_INFO, g_auo_mes.get(AUO_ERR_AUDIO_LENGTH_EXEDIT6));
write_log_auo_line(LOG_INFO, g_auo_mes.get(AUO_ERR_AUDIO_LENGTH_EXEDIT7));
}
} else {
write_log_auo_line( LOG_WARNING, g_auo_mes.get(AUO_ERR_AUDIO_LENGTH_DIFFERENT1));
write_log_auo_line_fmt(LOG_WARNING, g_auo_mes.get(AUO_ERR_AUDIO_LENGTH_DIFFERENT1), diff_ratio * 100.0, av_length_threshold * 100.0);
write_log_auo_line_fmt(LOG_WARNING, g_auo_mes.get(AUO_ERR_AUDIO_LENGTH_DIFFERENT2),
vid_h, vid_m, vid_s, vid_ms,
aud_h, aud_m, aud_s, aud_ms);
if (exedit_is_used) {
write_log_auo_line(LOG_WARNING, g_auo_mes.get(AUO_ERR_AUDIO_LENGTH_DIFFERENT4));
write_log_auo_line(LOG_WARNING, g_auo_mes.get(AUO_ERR_AUDIO_LENGTH_DIFFERENT5));
write_log_auo_line(LOG_ERROR, g_auo_mes.get(AUO_ERR_AUDIO_LENGTH_EXEDIT1));
write_log_auo_line(LOG_ERROR, g_auo_mes.get(AUO_ERR_AUDIO_LENGTH_EXEDIT2));
write_log_auo_line(LOG_ERROR, g_auo_mes.get(AUO_ERR_AUDIO_LENGTH_EXEDIT3));
write_log_auo_line(LOG_ERROR, g_auo_mes.get(AUO_ERR_AUDIO_LENGTH_EXEDIT4));
write_log_auo_line(LOG_ERROR, g_auo_mes.get(AUO_ERR_AUDIO_LENGTH_EXEDIT5));
write_log_auo_line(LOG_ERROR, g_auo_mes.get(AUO_ERR_AUDIO_LENGTH_EXEDIT6));
write_log_auo_line(LOG_ERROR, g_auo_mes.get(AUO_ERR_AUDIO_LENGTH_EXEDIT7));
} else {
write_log_auo_line(LOG_WARNING, g_auo_mes.get(AUO_ERR_AUDIO_LENGTH_DIFFERENT6));
write_log_auo_line(LOG_WARNING, g_auo_mes.get(AUO_ERR_AUDIO_LENGTH_DIFFERENT7));
Expand All @@ -428,12 +456,12 @@ static void message_audio_length_different(const double video_length, const doub
}
}

void info_audio_length_changed(const double video_length, const double audio_length, const BOOL exedit_is_used) {
message_audio_length_different(video_length, audio_length, exedit_is_used, TRUE);
void info_audio_length_changed(const double video_length, const double audio_length, const BOOL exedit_is_used, const double av_length_threshold) {
message_audio_length_different(video_length, audio_length, exedit_is_used, av_length_threshold, TRUE);
}

void warning_audio_length(const double video_length, const double audio_length, const BOOL exedit_is_used) {
message_audio_length_different(video_length, audio_length, exedit_is_used, FALSE);
void error_audio_length(const double video_length, const double audio_length, const BOOL exedit_is_used, const double av_length_threshold) {
message_audio_length_different(video_length, audio_length, exedit_is_used, av_length_threshold, FALSE);
}

void error_audenc_failed(const wchar_t *name, const char *args) {
Expand Down
5 changes: 3 additions & 2 deletions NVEnc/frm/auo_error.h
Original file line number Diff line number Diff line change
Expand Up @@ -78,8 +78,9 @@ void error_video_get_conv_func();
void warning_auto_qpfile_failed();
void warning_auo_tcfile_failed();
void error_open_wavfile();
void info_audio_length_changed(const double video_length, const double audio_length, const BOOL exedit_is_used);
void warning_audio_length(const double video_length, const double audio_length, const BOOL exedit_is_used);
void error_audio_length_zero(const BOOL exedit_is_used);
void info_audio_length_changed(const double video_length, const double audio_length, const BOOL exedit_is_used, const double av_length_threshold);
void error_audio_length(const double video_length, const double audio_length, const BOOL exedit_is_used, const double av_length_threshold);

void error_malloc_pixel_data();
void error_malloc_tc();
Expand Down
14 changes: 14 additions & 0 deletions NVEnc/frm/auo_mes.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,21 @@ static const char * AUO_MES_ID_NAME_STR[] = {
"AUO_ERR_AFS_GET_FRAME",
"AUO_ERR_OPEN_WAVFILE",
"AUO_ERR_NO_WAVFILE",
"AUO_ERR_AUDIO_LENGTH_EXEDIT1",
"AUO_ERR_AUDIO_LENGTH_EXEDIT2",
"AUO_ERR_AUDIO_LENGTH_EXEDIT3",
"AUO_ERR_AUDIO_LENGTH_EXEDIT4",
"AUO_ERR_AUDIO_LENGTH_EXEDIT5",
"AUO_ERR_AUDIO_LENGTH_EXEDIT6",
"AUO_ERR_AUDIO_LENGTH_EXEDIT7",
"AUO_ERR_AUDIO_LENGTH_ZERO1",
"AUO_ERR_AUDIO_LENGTH_ZERO2",
"AUO_ERR_AUDIO_LENGTH_ZERO3",
"AUO_ERR_AUDIO_LENGTH_PROMPT_YESNO1",
"AUO_ERR_AUDIO_LENGTH_PROMPT_YESNO2",
"AUO_ERR_AUDIO_LENGTH_PROMPT_YESNO3",
"AUO_ERR_AUDIO_LENGTH_DIFFERENT1",
"AUO_ERR_AUDIO_LENGTH_DIFFERENT1_2",
"AUO_ERR_AUDIO_LENGTH_DIFFERENT2",
"AUO_ERR_AUDIO_LENGTH_DIFFERENT3",
"AUO_ERR_AUDIO_LENGTH_DIFFERENT4",
Expand Down
15 changes: 15 additions & 0 deletions NVEnc/frm/auo_mes.h
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,22 @@ enum AuoMes {
AUO_ERR_OPEN_WAVFILE,
AUO_ERR_NO_WAVFILE,

AUO_ERR_AUDIO_LENGTH_EXEDIT1,
AUO_ERR_AUDIO_LENGTH_EXEDIT2,
AUO_ERR_AUDIO_LENGTH_EXEDIT3,
AUO_ERR_AUDIO_LENGTH_EXEDIT4,
AUO_ERR_AUDIO_LENGTH_EXEDIT5,
AUO_ERR_AUDIO_LENGTH_EXEDIT6,
AUO_ERR_AUDIO_LENGTH_EXEDIT7,
AUO_ERR_AUDIO_LENGTH_ZERO1,
AUO_ERR_AUDIO_LENGTH_ZERO2,
AUO_ERR_AUDIO_LENGTH_ZERO3,
AUO_ERR_AUDIO_LENGTH_PROMPT_YESNO1,
AUO_ERR_AUDIO_LENGTH_PROMPT_YESNO2,
AUO_ERR_AUDIO_LENGTH_PROMPT_YESNO3,

AUO_ERR_AUDIO_LENGTH_DIFFERENT1,
AUO_ERR_AUDIO_LENGTH_DIFFERENT1_2,
AUO_ERR_AUDIO_LENGTH_DIFFERENT2,
AUO_ERR_AUDIO_LENGTH_DIFFERENT3,
AUO_ERR_AUDIO_LENGTH_DIFFERENT4,
Expand Down
Loading

0 comments on commit cb29c34

Please sign in to comment.