Skip to content

Commit 2787668

Browse files
authored
Merge pull request Azure#8 from yulin-li/yulin/formats-typo
fix typo in audio formats
2 parents d727ddf + dec3d49 commit 2787668

2 files changed

Lines changed: 22 additions & 22 deletions

File tree

specification/ai/data-plane/VoiceLive/custom.tsp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -291,10 +291,10 @@ union OutputAudioFormat {
291291
pcm16: "pcm16",
292292

293293
/** 16-bit PCM audio format at 8kHz sampling rate */
294-
pcm16_8000hz: "pcm16-8000hz",
294+
pcm16_8000hz: "pcm16_8000hz",
295295

296296
/** 16-bit PCM audio format at 16kHz sampling rate */
297-
pcm16_16000hz: "pcm16-16000hz",
297+
pcm16_16000hz: "pcm16_16000hz",
298298

299299
/** G.711 μ-law (mu-law) audio format at 8kHz sampling rate */
300300
g711_ulaw: "g711_ulaw",

specification/ai/data-plane/VoiceLive/stable/2025-10-01/GeneratedSystemEvents.json

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1988,8 +1988,8 @@
19881988
"description": "Output audio format types supported.",
19891989
"enum": [
19901990
"pcm16",
1991-
"pcm16-8000hz",
1992-
"pcm16-16000hz",
1991+
"pcm16_8000hz",
1992+
"pcm16_16000hz",
19931993
"g711_ulaw",
19941994
"g711_alaw"
19951995
],
@@ -2004,12 +2004,12 @@
20042004
},
20052005
{
20062006
"name": "pcm16_8000hz",
2007-
"value": "pcm16-8000hz",
2007+
"value": "pcm16_8000hz",
20082008
"description": "16-bit PCM audio format at 8kHz sampling rate"
20092009
},
20102010
{
20112011
"name": "pcm16_16000hz",
2012-
"value": "pcm16-16000hz",
2012+
"value": "pcm16_16000hz",
20132013
"description": "16-bit PCM audio format at 16kHz sampling rate"
20142014
},
20152015
{
@@ -2245,8 +2245,8 @@
22452245
"default": "pcm16",
22462246
"enum": [
22472247
"pcm16",
2248-
"pcm16-8000hz",
2249-
"pcm16-16000hz",
2248+
"pcm16_8000hz",
2249+
"pcm16_16000hz",
22502250
"g711_ulaw",
22512251
"g711_alaw"
22522252
],
@@ -2261,12 +2261,12 @@
22612261
},
22622262
{
22632263
"name": "pcm16_8000hz",
2264-
"value": "pcm16-8000hz",
2264+
"value": "pcm16_8000hz",
22652265
"description": "16-bit PCM audio format at 8kHz sampling rate"
22662266
},
22672267
{
22682268
"name": "pcm16_16000hz",
2269-
"value": "pcm16-16000hz",
2269+
"value": "pcm16_16000hz",
22702270
"description": "16-bit PCM audio format at 16kHz sampling rate"
22712271
},
22722272
{
@@ -2403,8 +2403,8 @@
24032403
"default": "pcm16",
24042404
"enum": [
24052405
"pcm16",
2406-
"pcm16-8000hz",
2407-
"pcm16-16000hz",
2406+
"pcm16_8000hz",
2407+
"pcm16_16000hz",
24082408
"g711_ulaw",
24092409
"g711_alaw"
24102410
],
@@ -2419,12 +2419,12 @@
24192419
},
24202420
{
24212421
"name": "pcm16_8000hz",
2422-
"value": "pcm16-8000hz",
2422+
"value": "pcm16_8000hz",
24232423
"description": "16-bit PCM audio format at 8kHz sampling rate"
24242424
},
24252425
{
24262426
"name": "pcm16_16000hz",
2427-
"value": "pcm16-16000hz",
2427+
"value": "pcm16_16000hz",
24282428
"description": "16-bit PCM audio format at 16kHz sampling rate"
24292429
},
24302430
{
@@ -2539,8 +2539,8 @@
25392539
"default": "pcm16",
25402540
"enum": [
25412541
"pcm16",
2542-
"pcm16-8000hz",
2543-
"pcm16-16000hz",
2542+
"pcm16_8000hz",
2543+
"pcm16_16000hz",
25442544
"g711_ulaw",
25452545
"g711_alaw"
25462546
],
@@ -2555,12 +2555,12 @@
25552555
},
25562556
{
25572557
"name": "pcm16_8000hz",
2558-
"value": "pcm16-8000hz",
2558+
"value": "pcm16_8000hz",
25592559
"description": "16-bit PCM audio format at 8kHz sampling rate"
25602560
},
25612561
{
25622562
"name": "pcm16_16000hz",
2563-
"value": "pcm16-16000hz",
2563+
"value": "pcm16_16000hz",
25642564
"description": "16-bit PCM audio format at 16kHz sampling rate"
25652565
},
25662566
{
@@ -2971,8 +2971,8 @@
29712971
"default": "pcm16",
29722972
"enum": [
29732973
"pcm16",
2974-
"pcm16-8000hz",
2975-
"pcm16-16000hz",
2974+
"pcm16_8000hz",
2975+
"pcm16_16000hz",
29762976
"g711_ulaw",
29772977
"g711_alaw"
29782978
],
@@ -2987,12 +2987,12 @@
29872987
},
29882988
{
29892989
"name": "pcm16_8000hz",
2990-
"value": "pcm16-8000hz",
2990+
"value": "pcm16_8000hz",
29912991
"description": "16-bit PCM audio format at 8kHz sampling rate"
29922992
},
29932993
{
29942994
"name": "pcm16_16000hz",
2995-
"value": "pcm16-16000hz",
2995+
"value": "pcm16_16000hz",
29962996
"description": "16-bit PCM audio format at 16kHz sampling rate"
29972997
},
29982998
{

0 commit comments

Comments
 (0)