I'm wanting to write a simple media player application for a game my friends and I play. Heres what I'm wanting to do.
Add a bunch of mp3 files to a list view control. That listview will be our playlist. When I press the start button I want the program to enumerate the list and play the song for 60 seconds then change to the next one. (If you're in college you may have guessed the game )
So here the first few roadblocks.
1) Managed Directsound cannot playback mp3s. I need a library of some sort that can playback mp3s, preferrably a managed one as I've never done any c++
2) I need to figure out a way to go down this list correctly. Ive made a class for my song files with a FileInfo object and a few other instance variables. I was thinking that when a file gets added to my program, it goes into a List<Song> object but I'm not entirely sure how to keep the listview and this object in sync.
So far those are my first few problems. I'm sure ill have more later. This is more of a learning exercise than anything.
Add a bunch of mp3 files to a list view control. That listview will be our playlist. When I press the start button I want the program to enumerate the list and play the song for 60 seconds then change to the next one. (If you're in college you may have guessed the game )
So here the first few roadblocks.
1) Managed Directsound cannot playback mp3s. I need a library of some sort that can playback mp3s, preferrably a managed one as I've never done any c++
2) I need to figure out a way to go down this list correctly. Ive made a class for my song files with a FileInfo object and a few other instance variables. I was thinking that when a file gets added to my program, it goes into a List<Song> object but I'm not entirely sure how to keep the listview and this object in sync.
So far those are my first few problems. I'm sure ill have more later. This is more of a learning exercise than anything.