From c9e23f4e29f08fc53b2306311fa70b1cf4b78b0c Mon Sep 17 00:00:00 2001 From: Lars-Dominik Braun Date: Sun, 1 Feb 2009 13:35:50 +0100 Subject: mp3 playback support Now libfaad and/or libmad are used for playback. There's currently no remaining time displayed for mp3 playback. --- src/ui_act.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'src/ui_act.c') diff --git a/src/ui_act.c b/src/ui_act.c index 5c28672..2ecc9c2 100644 --- a/src/ui_act.c +++ b/src/ui_act.c @@ -44,7 +44,7 @@ THE SOFTWARE. /* helper to _really_ skip a song (unlock mutex, quit player) * @param player handle */ -inline void BarUiDoSkipSong (struct aacPlayer *player) { +inline void BarUiDoSkipSong (struct audioPlayer *player) { player->doQuit = 1; pthread_mutex_unlock (&player->pauseMutex); } @@ -178,6 +178,7 @@ void BarUiActSongInfo (BAR_KS_ARGS) { printf ("Song infos:\n" "album:\t%s\n" "artist:\t%s\n" + "audioFormat:\t%i\n" "audioUrl:\t%s\n" "fileGain:\t%f\n" "focusTraitId:\t%s\n" @@ -188,12 +189,11 @@ void BarUiActSongInfo (BAR_KS_ARGS) { "stationId:\t%s\n" "title:\t%s\n" "userSeed:\t%s\n", - (*curSong)->album, (*curSong)->artist, (*curSong)->audioUrl, - (*curSong)->fileGain, (*curSong)->focusTraitId, - (*curSong)->identity, (*curSong)->matchingSeed, - (*curSong)->musicId, (*curSong)->rating, - (*curSong)->stationId, (*curSong)->title, - (*curSong)->userSeed); + (*curSong)->album, (*curSong)->artist, (*curSong)->audioFormat, + (*curSong)->audioUrl, (*curSong)->fileGain, + (*curSong)->focusTraitId, (*curSong)->identity, + (*curSong)->matchingSeed, (*curSong)->musicId, (*curSong)->rating, + (*curSong)->stationId, (*curSong)->title, (*curSong)->userSeed); } /* rate current song -- cgit v1.2.3