Fix reference to Stream.finishStreamWithMetadata

This commit is contained in:
Reuben Morais 2020-05-06 12:03:50 +02:00
parent e6e3cc539b
commit b0e0972b78
2 changed files with 2 additions and 2 deletions

View File

@ -177,7 +177,7 @@ export function FreeModel(model: Model): void;
/**
* Free memory allocated for metadata information.
*
* @param metadata Object containing metadata as returned by :js:func:`Model.sttWithMetadata` or :js:func:`Model.finishStreamWithMetadata`
* @param metadata Object containing metadata as returned by :js:func:`Model.sttWithMetadata` or :js:func:`Stream.finishStreamWithMetadata`
*/
export function FreeMetadata(metadata: Metadata): void;

View File

@ -230,7 +230,7 @@ function FreeModel(model) {
/**
* Free memory allocated for metadata information.
*
* @param {object} metadata Object containing metadata as returned by :js:func:`Model.sttWithMetadata` or :js:func:`Model.finishStreamWithMetadata`
* @param {object} metadata Object containing metadata as returned by :js:func:`Model.sttWithMetadata` or :js:func:`Stream.finishStreamWithMetadata`
*/
function FreeMetadata(metadata) {
return binding.FreeMetadata(metadata);