Number of channels of current audio track
Posted: 28 Jul 2015 14:23
I have some application:
How can i get number of channels of the current audiotrack (mono, stereo, quadro, ...)?
Code: Select all
const char *params[] = {
"--ignore-config",
};
vlcInstance = libvlc_new(sizeof(params) / sizeof(params[0]), params);
player = libvlc_media_player_new(vlcInstance);
libvlc_media_t* media = libvlc_media_new_path(vlcInstance, (const char*)ccName);
libvlc_media_player_set_media(player, media);
// and so on...