mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-03-06 02:22:56 +00:00
FS-3942
This commit is contained in:
parent
803d25c45c
commit
c9261be6d1
@ -87,7 +87,7 @@ static switch_status_t play_group(switch_say_method_t method, switch_say_gender_
|
|||||||
if (a) {
|
if (a) {
|
||||||
/*german nominativ for "one" in numbers like 21, 171, 4591 is flexed("ein" instead of "eins"), 2-9 are not*/
|
/*german nominativ for "one" in numbers like 21, 171, 4591 is flexed("ein" instead of "eins"), 2-9 are not*/
|
||||||
if ( a == 1 ) {
|
if ( a == 1 ) {
|
||||||
say_file("digits/s-%d.wav");
|
say_file("digits/s-1.wav");
|
||||||
} else {
|
} else {
|
||||||
say_file("digits/%d.wav", a);
|
say_file("digits/%d.wav", a);
|
||||||
}
|
}
|
||||||
@ -98,7 +98,7 @@ static switch_status_t play_group(switch_say_method_t method, switch_say_gender_
|
|||||||
if (b > 1) {
|
if (b > 1) {
|
||||||
/*german nominativ for "one" in numbers like 21, 171, 4591 is flexed, 2-9 are not*/
|
/*german nominativ for "one" in numbers like 21, 171, 4591 is flexed, 2-9 are not*/
|
||||||
if ( c == 1 ) {
|
if ( c == 1 ) {
|
||||||
say_file("digits/s-%d.wav");
|
say_file("digits/s-1.wav");
|
||||||
} else {
|
} else {
|
||||||
say_file("digits/%d.wav", c);
|
say_file("digits/%d.wav", c);
|
||||||
}
|
}
|
||||||
@ -127,7 +127,7 @@ static switch_status_t play_group(switch_say_method_t method, switch_say_gender_
|
|||||||
if ( b == 0 && c == 1 && gender == SSG_FEMININE ) {
|
if ( b == 0 && c == 1 && gender == SSG_FEMININE ) {
|
||||||
say_file("digits/%d_f.wav", c);
|
say_file("digits/%d_f.wav", c);
|
||||||
} else if ( b == 0 && c == 1 && what ) {
|
} else if ( b == 0 && c == 1 && what ) {
|
||||||
say_file("digits/s-%d.wav");
|
say_file("digits/s-1.wav");
|
||||||
} else {
|
} else {
|
||||||
say_file("digits/%d.wav", c);
|
say_file("digits/%d.wav", c);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user