基于qt,msvc2017-64bits,ffmpeg.opengl的播放器
chenshijun
2020-12-03 9e8804424408db79fcdb229a016ac87952e4e0f6
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
/**
 * Ò¶º£»Ô
 * QQȺ121376426
 * http://blog.yundiantech.com/
 */
 
#ifndef PCMVOLUMECONTROL_H
#define PCMVOLUMECONTROL_H
 
class PcmVolumeControl
{
public:
    PcmVolumeControl();
 
    ///bufΪÐèÒªµ÷½ÚÒôÁ¿µÄÒôƵÊý¾Ý¿éÊ×µØÖ·Ö¸Õ룬sizeΪ³¤¶È£¬uRepeatÎªÖØ¸´´ÎÊý£¬Í¨³£ÉèΪ1£¬volΪÔöÒæ±¶Êý,¿ÉÒÔСÓÚ1
    static void RaiseVolume(char* buf, int size, int uRepeat, double vol);
 
};
 
 
 
 
#endif // PCMVOLUMECONTROL_H