PDA

View Full Version : Want Control Audio


ydlin
02-02-2006, 06:33 PM
Q1 : I Want Control MPeg1 Audio Use MPeg1 Audio Filter's Cannel
I Try MPeg1 audio Channel 1 Is Melody
MPeg1 audio Channel 2 Is Stereo
MPeg1 audio Channel Both Is Left Melody + Right Voice
I want control it !

Q2 : I Want Control AVI DIVX Audio Use Filter's Cannel

I Try AVI Divx Audio Channel 1 Is Stereo
AVI Divx Audio Channel 2 Is Melody
I want control it !

z
02-02-2006, 11:10 PM
Refer to the following screenshot:

ydlin
02-03-2006, 12:32 AM
I Want use SDK Msg Command Control It !


Can you Open it Command MSG and Params,

Thanks !

z
02-03-2006, 12:46 AM
Check the "x:\The KMPlayer\sdk\remocon" folder.

ps. If it's not enough to help yourself, let me know it.
By the way, what do you want to do exactly?

Do you want to control L/R channels by Remote Controller?

ydlin
02-03-2006, 01:16 AM
I want Set Volume

use

Windows.SendMessage(lh_KMPlayerHandle, WM_WA_IPC, IPC_SETVOLUME, StrToZInt(as_Parameter));

it's not work , can you tech me ? thanks !

ydlin
02-03-2006, 01:23 AM
I Want use KMPlayer do my KaraOKe Player

I am a Database Programer !

I Want to Write PC KaraOKe System to My Ownere use in home !

KaraOKe System it's Point is Audio,
so i want use KMPlayer enhance Audio Control !

KMPlayer is My seed Good Player, It's Vaer Good, I Like it !

ydlin
02-03-2006, 01:32 AM
Q: Do you want to control L/R channels by Remote Controller?

Ans : yes, i want control Any Channel, Stereo , Left/Right Chanel

AVI Divx Channel use Filter's channel 1, channel 2

I Use WinLIRC to do Remote Control My KaraOKe System, then I Send Msg to KMPLayer Control Player , so combine together it's will be Good KaraOKE system !

ydlin
02-03-2006, 01:40 AM
WA_IPC.pas

IPC_SETVOLUME = 122;
(* (requires Winamp 2.0+)
** SendMessage(hwnd_winamp,WM_WA_IPC,volume,IPC_SETVO LUME);


It's Run OK, Thanks !

ydlin
02-03-2006, 04:54 PM
Q3 what command i can set Audio -> Stream Selection -> Both
=> Set Select True ?

thanks !

kyh96403
02-04-2006, 09:49 AM
Sorry.
Filter menu is not part of KMPlayer.
So you use popup FilterMenu and then arrow key simulation.
KMP's remon SDK have KMPlayer's Skin command.
To popup FilterMenu, you can use PostMessage or SendMessage(KMPHandle, WM_SKINBTNMESSAGE, cFilterMenu, 0);
SDK/Remoncon/Main.pas have WM_SKINBTNMESSAGE and cFilterMenu and many KMPlayer's menu function's ID.