Lame-enc DLL version 1.16(Lame engine version 3.87) Programmers Manual

本文档介绍了Lame-enc DLL v1.16程序员手册,该库基于Lame引擎v3.87,适用于MP3编码。手册涵盖DLL接口使用、配置结构、编码流程、错误处理、类型定义和结构体详情。提供了一个兼容未来版本的接口,并警告可能涉及MP3软件专利。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

 

Lame-enc DLL
version 1.16
(Lame engine version 3.87)
Programmers Manual

The lame_enc.dll and this manual is copyright by Albert L Faber
Originally the the DLL interface is modeled after the BladeEnc DLL interface
which is copyrighted by Tord Jansson and Jukka Poikolainen
This document and the DLL interface may be distributed freely
as long as no modifications are made to neither one of them.

 

Homepage: http://www.cdex.n3.net
E-mail: mailto: cdex@softwarecenter.net

 

 

 

Distribution

People and companies  who wants to distribute lame_enc.dll with their commercial products are free to do so as far as I'm concerned, but should be aware that lame_enc.dll might infringe certain MP3 related software patents held by Fraunhofer IIS in certain countries.


 

Disclaimer

lame_enc.dll and this manual is distributed 'as is' with no warranty of any kind. The Author is not to be held responsible for the result of any use or misuse of this product.
 
 

Current Bugs and Limitations

Although the interface is designed to be able to handle multiple parallel streams it can't be done yet due to limitations in the engine, only one stream is allowed.
 

Future Compatibility

This interface should be compatible with all future versions of lame_enc.DLL without any need to recompile your programs. You should therefore not check the version number upon start and prevent users from running your program with a later version of lame_enc.DLL.
 


--------------------------------------------------------------------------------

How to use the DLL

1. Fill in a BE_CONFIG structure and send it to beInitStream(). Make sure that BE_ERR_SUCCESSFUL is returned.

2. Reserve at least the amount of memory returned in dwBufferSize as your output buffer.

3. Call beEncodeChunk() until you've encoded everything you want.

4. Call beDeinitStream() to make sure that all encoded data is flushed out before closing the stream.

5. Close the stream using beCloseStream()

6. And optionally call the beWriteVBRHeader() functions, to insert a Xing MP3 Header

A handy feature is the available Lame_enc.dll debug option, which will dump the important lame internal settings to a text file.
 

 

Re

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值