使用Mmsystem播放wav文件的特定部分 [英] play certain part of wav file using Mmsystem

查看:80
本文介绍了使用Mmsystem播放wav文件的特定部分的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

亲爱的所有人

我可以使用Mmsystem播放wave文件的某个部分(从某个秒到另一个),如果不能,那么我可以指导我如何执行此操作.

dear all

can i play certain part of a wave file (from certain second to another one) using Mmsystem, if not can you guide me how to do this.

推荐答案

是的,您可以-尽管MMSystem不会加载文件,但请搜索适当的时间,然后播放指定的时间.

除非我弄错了,否则您需要自己执行这些有趣的任务.

一个很好的起点是查尔斯·普雷兹(Charles Pretzold)的书或以下链接:
Yes, you can - though MMSystem doesn''t load the file, seek to the appropriate time and then play for the specified period.

You''ll need to perform these fun tasks yourself unless I''m mistaken.

An excellent place to start would be either Charles Pretzold''s book, or the following link: Playing Audio in Windows using waveOut Interface[^]

You''ll need to read-up on the WaveFormateEx structure, and other assorted goodies.
All the best!


这篇关于使用Mmsystem播放wav文件的特定部分的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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