在VB.Net中查询有关AXMediaPlayer的信息 [英] Query regarding AXMediaPlayer in VB.Net

查看:100
本文介绍了在VB.Net中查询有关AXMediaPlayer的信息的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在VB.Net中使用AXMediaPlayer播放".wav"文件.

它采用的默认时间格式为秒".
但是出于某些特定目的,我使用样本"作为时间格式.

在VB6的早期版本中,MMControl具有其属性,您可以通过设置其属性来进行更改,例如:MMControl.TimeFormat = 9(用于示例).

现在在VB.Net中,我正面临着这个问题.

请告诉我如何在VB.net的AXMediaPayer中将默认时间格式从秒"更改为样本".

关于

I am playing ".wav" file using AXMediaPlayer in VB.Net.

The default time format taken by it is in "seconds".
However for some specific purpose I have used "samples" as time format.

Earlier in VB6, MMControl was having its property and you can change it by setting its property like: MMControl.TimeFormat=9 (for samples).

Now in VB.Net I am facing this problem.

Please tell me how to change default time format from "seconds" to "samples" in AXMediaPayer in VB.net.

Regards

推荐答案

您不能.在WPF中,您甚至都无法询问播放器是否在玩.就像每个新框架一样,控件变得更加无用.
You can''t. And in WPF, you can''t even ask if the player is playing. It''s like with every new framework, the control becomes more useless.


这篇关于在VB.Net中查询有关AXMediaPlayer的信息的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆