Calculating RAW Audio Buffer Size

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]


Hi,
I am writing a gstreamer plugin in which i  need to calculate the raw audio 
buffer size for a give sample rate, channels, etc.

for example if i have a mp3 frame with the following parameters:
bitrate: 			320Kbps
sampling rate: 	48000Hz
Channels: 		2

How can i calculate the buffer size that would be required by the output buffer 
to store the raw decoded data for this frame? basically what is the formula 
for this calculation?

Thanks in advance
Regards
~Sameer




[Index of Archives]     [Linux Embedded]     [Linux ARM Kernel]     [Linux for ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux Media]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux