mirror of
https://github.com/owntone/owntone-server.git
synced 2025-01-14 16:25:03 -05:00
new codectype for wma voice
This commit is contained in:
parent
a9d912e863
commit
15ae458b87
@ -387,6 +387,10 @@ int wma_parse_audio_media(int fd, int size, MP3FILE *pmp3) {
|
|||||||
DPRINTF(E_DBG,L_SCAN,"WMA Codec Type: %02X\n",codec);
|
DPRINTF(E_DBG,L_SCAN,"WMA Codec Type: %02X\n",codec);
|
||||||
|
|
||||||
switch(codec) {
|
switch(codec) {
|
||||||
|
case 0x0A:
|
||||||
|
MAYBEFREE(pmp3->codectype);
|
||||||
|
pmp3->codectype = strdup("wmav"); /* voice */
|
||||||
|
break;
|
||||||
case 0x162:
|
case 0x162:
|
||||||
MAYBEFREE(pmp3->codectype);
|
MAYBEFREE(pmp3->codectype);
|
||||||
pmp3->codectype = strdup("wmap"); /* pro */
|
pmp3->codectype = strdup("wmap"); /* pro */
|
||||||
|
Loading…
Reference in New Issue
Block a user