summaryrefslogtreecommitdiff
path: root/src/libpiano/piano.c
diff options
context:
space:
mode:
authorLars-Dominik Braun <lars@6xq.net>2012-05-02 17:21:46 +0200
committerLars-Dominik Braun <lars@6xq.net>2012-05-02 17:21:46 +0200
commit951d6206f2837d5985899c5b974690e0076b68c5 (patch)
tree94f1371346a6d0d0df2b5372569e8d4c4f41b008 /src/libpiano/piano.c
parent524289828bffe46f465dbd574d5f30e3c1ee2f62 (diff)
downloadpianobar-951d6206f2837d5985899c5b974690e0076b68c5.tar.gz
pianobar-951d6206f2837d5985899c5b974690e0076b68c5.tar.bz2
pianobar-951d6206f2837d5985899c5b974690e0076b68c5.zip
piano: Audio format support
Ask Pandora for audio format requested by user. Closes #244.
Diffstat (limited to 'src/libpiano/piano.c')
-rw-r--r--src/libpiano/piano.c25
1 files changed, 0 insertions, 25 deletions
diff --git a/src/libpiano/piano.c b/src/libpiano/piano.c
index bd8847b..9f4d7ec 100644
--- a/src/libpiano/piano.c
+++ b/src/libpiano/piano.c
@@ -206,31 +206,6 @@ void PianoDestroyRequest (PianoRequest_t *req) {
memset (req, 0, sizeof (*req));
}
-/* convert audio format id to string that can be used in xml requests
- * @param format id
- * @return constant string
- */
-static const char *PianoAudioFormatToString (PianoAudioFormat_t format) {
- switch (format) {
- case PIANO_AF_AACPLUS:
- return "aacplus";
- break;
-
- case PIANO_AF_MP3:
- return "mp3";
- break;
-
- case PIANO_AF_MP3_HI:
- return "mp3-hifi";
- break;
-
- default:
- return NULL;
- break;
- }
-}
-
-
/* get station from list by id
* @param search here
* @param search for this