summaryrefslogtreecommitdiff
path: root/src/libpiano
diff options
context:
space:
mode:
Diffstat (limited to 'src/libpiano')
-rw-r--r--src/libpiano/piano.h3
-rw-r--r--src/libpiano/request.c4
2 files changed, 6 insertions, 1 deletions
diff --git a/src/libpiano/piano.h b/src/libpiano/piano.h
index c8c01db..249061b 100644
--- a/src/libpiano/piano.h
+++ b/src/libpiano/piano.h
@@ -65,7 +65,8 @@ typedef enum {
PIANO_AF_UNKNOWN = 0,
PIANO_AF_AACPLUS = 1,
PIANO_AF_MP3 = 2,
- PIANO_AF_MP3_HI = 3
+ PIANO_AF_MP3_HI = 3,
+ PIANO_AF_AACPLUS_LO = 4,
} PianoAudioFormat_t;
typedef struct PianoSong {
diff --git a/src/libpiano/request.c b/src/libpiano/request.c
index 427cc2d..2e17872 100644
--- a/src/libpiano/request.c
+++ b/src/libpiano/request.c
@@ -42,6 +42,10 @@ THE SOFTWARE.
*/
static const char *PianoAudioFormatToString (PianoAudioFormat_t format) {
switch (format) {
+ case PIANO_AF_AACPLUS_LO:
+ return "HTTP_32_AACPLUS";
+ break;
+
case PIANO_AF_AACPLUS:
return "HTTP_64_AACPLUS";
break;