audiotrack class in windows 8.1

本文关键字:windows in class audiotrack | 更新日期: 2023-09-27 18:19:25

我目前正在为Windows桌面8.1制作音频流应用程序,我似乎无法弄清楚如何使用audiotrack类它在Windows phone中工作得很好,事实上我有一个使用此代码的Windows phone应用程序,唯一的问题似乎是audiotrack类仅适用于Windows phone

public class Album : INotifyPropertyChanged
  {
    public Album(string ID,string Albumname,string ImageURL,bool free, List<AudioTrack> Playlist)
    {
        ProductId = ID;
        this.AlbumName = Albumname;
        PlayList = Playlist;
        _imagepath = ImageURL;
        Free = free;
    }
    public string ProductId;
    public List<AudioTrack> PlayList;
    public string AlbumName {get;set;}
    public string AlbumTitle

这是我的一些代码,谁能帮助改变这一点,使其在Windows 8.1工作?由于

audiotrack class in windows 8.1

您在代码中所显示的只是数据结构,它并没有传达到现在为止您所尝试的内容。你能把你的问题作为你需要实现的目标,以及你到现在为止所做的努力吗?

顺便说一句,Windows Phone 8.1/Windows 8.1有Media Element控件,允许您在应用程序中播放音频(甚至在后台)。