From 371678e8de5280924f49e24dd282be9ad5390c73 Mon Sep 17 00:00:00 2001 From: Adrian Sampson Date: Wed, 5 Nov 2014 09:38:09 -0800 Subject: [PATCH] framerate, framecount, channels (#8) --- docs/api.rst | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/docs/api.rst b/docs/api.rst index 5a7e032..a508516 100644 --- a/docs/api.rst +++ b/docs/api.rst @@ -227,9 +227,12 @@ These optional fields reflect audio metadata: * ``type``, string: The MIME type of the associated audio file. * ``length``, float: The duration of the audio in seconds. -* ``samplerate``, integer: The number of samples per second in the audio. -* ``samplecount``, integer: The total number of samples (frames) in the audio. - (The exact length can be calculated from the sample rate and sample count.) +* ``framerate``, integer: The number of frames per second in the audio. +* ``framecount``, integer: The total number of frames in the audio. + (The exact length can be calculated as the product of the frame rate and + frame count.) +* ``channels``, integer: The number of audio channels. (A frame consists of one + sample per channel.) * ``bitrate``, integer: The number of bits per second in the encoding. * ``bitdepth``, integer: The number of bits per sample.