File tree Expand file tree Collapse file tree 1 file changed +24
-2
lines changed
src/interactions/resources Expand file tree Collapse file tree 1 file changed +24
-2
lines changed Original file line number Diff line number Diff line change @@ -171,6 +171,11 @@ export type Annotation = URLCitation | FileCitation | PlaceCitation;
171171export interface AudioContent {
172172 type : 'audio' ;
173173
174+ /**
175+ * The number of audio channels.
176+ */
177+ channels ?: number ;
178+
174179 /**
175180 * The audio content.
176181 */
@@ -187,7 +192,13 @@ export interface AudioContent {
187192 | 'audio/ogg'
188193 | 'audio/flac'
189194 | 'audio/mpeg'
190- | 'audio/m4a' ;
195+ | 'audio/m4a'
196+ | 'audio/l16' ;
197+
198+ /**
199+ * The sample rate of the audio.
200+ */
201+ rate ?: number ;
191202
192203 /**
193204 * The URI of the audio.
@@ -355,6 +366,11 @@ export namespace ContentDelta {
355366 export interface Audio {
356367 type : 'audio' ;
357368
369+ /**
370+ * The number of audio channels.
371+ */
372+ channels ?: number ;
373+
358374 data ?: string ;
359375
360376 mime_type ?:
@@ -365,7 +381,13 @@ export namespace ContentDelta {
365381 | 'audio/ogg'
366382 | 'audio/flac'
367383 | 'audio/mpeg'
368- | 'audio/m4a' ;
384+ | 'audio/m4a'
385+ | 'audio/l16' ;
386+
387+ /**
388+ * The sample rate of the audio.
389+ */
390+ rate ?: number ;
369391
370392 uri ?: string ;
371393 }
You can’t perform that action at this time.
0 commit comments