如何在delphi中从内存播放mp3文件? [英] How to Play mp3 file from memory in delphi?

查看:200
本文介绍了如何在delphi中从内存播放mp3文件?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用InternetReadFile从Internet将mp3文件下载到内存中.这很好用,我可以将文件转储到磁盘上然后播放,但是我想播放文件而不将其转储到磁盘上.

I am downloading a mp3 file from the internet to memory using InternetReadFile. This works great, I can dump the file on disk and then play it, but I want to play the file without dumping it on disk.

我是否可以使用一个库来实现此功能?一些有关如何使用该库的文档也将很有用.

Is there a library i can use to achieve this functionality ? Some docs on how to use the library would be useful too.

先谢谢了.

推荐答案

您可以使用 BASS Delphi音频库

另一方面,在 3D Buzz网站上搜索"MP3".他们提供了非常不错的视频教程系列,可指导您使用此库在Delphi中创建自己的MP3播放器.

On the other side, search for "MP3" on the 3D Buzz site. They have a very good series of video tutorials that walk you through the creation of your own MP3 player in Delphi using this library.

这篇关于如何在delphi中从内存播放mp3文件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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