Y
yjlds
Unregistered / Unconfirmed
GUEST, unregistred user!
我用下面的函数处理神龙的播放dvd歌的声道切换问题,对一般的dvd歌,是可以切换的,可有些则不行。这可能是dvd有的有七八个音轨的,正常的在2、3轨,但有些歌的原伴唱是在其它轨中切换的,如下程序只用到了二三轨,而没有找出在音轨在哪里。希高手能帮助解决:
function FMPSetDVDAudio(hStream: Byte;
Value: DWORD): DWORD;
begin
if Value = 0 then
Result:= FMPGroup(hStream,FMPF_INDEX or FMPF_SELECT, 3 )
else
Result:= FMPGroup(hStream,FMPF_INDEX or FMPF_SELECT, 2 );
end;
function FMPSetDVDAudio(hStream: Byte;
Value: DWORD): DWORD;
begin
if Value = 0 then
Result:= FMPGroup(hStream,FMPF_INDEX or FMPF_SELECT, 3 )
else
Result:= FMPGroup(hStream,FMPF_INDEX or FMPF_SELECT, 2 );
end;