"Audio Players" are defined as any media player explicitly designed to play audio files, with limited or no support for video playback. You have to design an audio player with basic functionalities.
- Select current directory: When your application starts it must prompt the user to set a directory. Your audio player can only load/access the audio files present in current directory
- Change current directory: User can change the current directory. in that case your existing play list (if any) will be destroyed.
- Create a new play list: If user selects option to create a new playlist, your program should ask the user to create an empty play list.
- Insert an Audio File in play list: If user wants to insert an audio file to his play list, he can choose it from current directory ONLY. Your application should insert the audio file at end of existing linked list.
- Delete an Audio from play list: User may delete any audio file from playlist. Audio file shouldn’t be deleted from directory.
- Shuffle Playlist: Play list gets shuffled in random order once user selects shuffle option.
- Play the play list: Should play all audio files from start to end present in play list created by user.
Note: An instance of Audio player can ONLY hold 5 play lists. Each playlist can be identified from its name and its directory. A playlist can ONLY hold songs from same directory.
You have to reuse your templated linked list ADT to implement the solution
Supplement:
Help Video for playing audio file in C++
To access files in directory using C++ you may use following help links
Download dirent master from github


0 Comments