Skip to content

Commit a08d9e6

Browse files
committed
audiocore: Add MP3File using Adafruit_MP3 library
1 parent a484a93 commit a08d9e6

28 files changed

+997
-26
lines changed

.gitmodules

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,3 +102,6 @@
102102
[submodule "ports/cxd56/spresense-exported-sdk"]
103103
path = ports/cxd56/spresense-exported-sdk
104104
url = https://github.com/sonydevworld/spresense-exported-sdk.git
105+
[submodule "lib/mp3"]
106+
path = lib/mp3
107+
url = https://github.com/adafruit/Adafruit_MP3

lib/mp3

Submodule mp3 added at 2a3cc78

locale/ID.po

Lines changed: 16 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ msgid ""
88
msgstr ""
99
"Project-Id-Version: PACKAGE VERSION\n"
1010
"Report-Msgid-Bugs-To: \n"
11-
"POT-Creation-Date: 2019-12-06 13:25-0600\n"
11+
"POT-Creation-Date: 2019-12-10 13:55-0600\n"
1212
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
1313
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
1414
"Language-Team: LANGUAGE <LL@li.org>\n"
@@ -496,11 +496,21 @@ msgstr ""
496496
msgid "Could not initialize UART"
497497
msgstr "Tidak dapat menginisialisasi UART"
498498

499+
#: shared-module/audiomp3/MP3File.c
500+
msgid "Couldn't allocate decoder"
501+
msgstr ""
502+
499503
#: shared-module/audiocore/WaveFile.c shared-module/audiomixer/Mixer.c
504+
#: shared-module/audiomp3/MP3File.c
500505
msgid "Couldn't allocate first buffer"
501506
msgstr ""
502507

508+
#: shared-module/audiomp3/MP3File.c
509+
msgid "Couldn't allocate input buffer"
510+
msgstr ""
511+
503512
#: shared-module/audiocore/WaveFile.c shared-module/audiomixer/Mixer.c
513+
#: shared-module/audiomp3/MP3File.c
504514
msgid "Couldn't allocate second buffer"
505515
msgstr ""
506516

@@ -613,6 +623,10 @@ msgstr ""
613623
msgid "Failed to connect: timeout"
614624
msgstr ""
615625

626+
#: shared-module/audiomp3/MP3File.c
627+
msgid "Failed to parse MP3 file"
628+
msgstr ""
629+
616630
#: ports/nrf/sd_mutex.c
617631
#, fuzzy, c-format
618632
msgid "Failed to release mutex, err 0x%04x"
@@ -1779,7 +1793,7 @@ msgstr "argumen keyword ekstra telah diberikan"
17791793
msgid "extra positional arguments given"
17801794
msgstr "argumen posisi ekstra telah diberikan"
17811795

1782-
#: shared-bindings/audiocore/WaveFile.c
1796+
#: shared-bindings/audiocore/WaveFile.c shared-bindings/audiomp3/MP3File.c
17831797
#: shared-bindings/displayio/OnDiskBitmap.c
17841798
msgid "file must be a file opened in byte mode"
17851799
msgstr ""

locale/circuitpython.pot

Lines changed: 16 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ msgid ""
88
msgstr ""
99
"Project-Id-Version: PACKAGE VERSION\n"
1010
"Report-Msgid-Bugs-To: \n"
11-
"POT-Creation-Date: 2019-12-06 13:25-0600\n"
11+
"POT-Creation-Date: 2019-12-10 13:55-0600\n"
1212
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
1313
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
1414
"Language-Team: LANGUAGE <LL@li.org>\n"
@@ -486,11 +486,21 @@ msgstr ""
486486
msgid "Could not initialize UART"
487487
msgstr ""
488488

489+
#: shared-module/audiomp3/MP3File.c
490+
msgid "Couldn't allocate decoder"
491+
msgstr ""
492+
489493
#: shared-module/audiocore/WaveFile.c shared-module/audiomixer/Mixer.c
494+
#: shared-module/audiomp3/MP3File.c
490495
msgid "Couldn't allocate first buffer"
491496
msgstr ""
492497

498+
#: shared-module/audiomp3/MP3File.c
499+
msgid "Couldn't allocate input buffer"
500+
msgstr ""
501+
493502
#: shared-module/audiocore/WaveFile.c shared-module/audiomixer/Mixer.c
503+
#: shared-module/audiomp3/MP3File.c
494504
msgid "Couldn't allocate second buffer"
495505
msgstr ""
496506

@@ -602,6 +612,10 @@ msgstr ""
602612
msgid "Failed to connect: timeout"
603613
msgstr ""
604614

615+
#: shared-module/audiomp3/MP3File.c
616+
msgid "Failed to parse MP3 file"
617+
msgstr ""
618+
605619
#: ports/nrf/sd_mutex.c
606620
#, c-format
607621
msgid "Failed to release mutex, err 0x%04x"
@@ -1749,7 +1763,7 @@ msgstr ""
17491763
msgid "extra positional arguments given"
17501764
msgstr ""
17511765

1752-
#: shared-bindings/audiocore/WaveFile.c
1766+
#: shared-bindings/audiocore/WaveFile.c shared-bindings/audiomp3/MP3File.c
17531767
#: shared-bindings/displayio/OnDiskBitmap.c
17541768
msgid "file must be a file opened in byte mode"
17551769
msgstr ""

locale/de_DE.po

Lines changed: 16 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ msgid ""
77
msgstr ""
88
"Project-Id-Version: \n"
99
"Report-Msgid-Bugs-To: \n"
10-
"POT-Creation-Date: 2019-12-06 13:25-0600\n"
10+
"POT-Creation-Date: 2019-12-10 13:55-0600\n"
1111
"PO-Revision-Date: 2018-07-27 11:55-0700\n"
1212
"Last-Translator: Pascal Deneaux\n"
1313
"Language-Team: Sebastian Plamauer, Pascal Deneaux\n"
@@ -490,11 +490,21 @@ msgstr "Beschädigter raw code"
490490
msgid "Could not initialize UART"
491491
msgstr "Konnte UART nicht initialisieren"
492492

493+
#: shared-module/audiomp3/MP3File.c
494+
msgid "Couldn't allocate decoder"
495+
msgstr ""
496+
493497
#: shared-module/audiocore/WaveFile.c shared-module/audiomixer/Mixer.c
498+
#: shared-module/audiomp3/MP3File.c
494499
msgid "Couldn't allocate first buffer"
495500
msgstr "Konnte first buffer nicht zuteilen"
496501

502+
#: shared-module/audiomp3/MP3File.c
503+
msgid "Couldn't allocate input buffer"
504+
msgstr ""
505+
497506
#: shared-module/audiocore/WaveFile.c shared-module/audiomixer/Mixer.c
507+
#: shared-module/audiomp3/MP3File.c
498508
msgid "Couldn't allocate second buffer"
499509
msgstr "Konnte second buffer nicht zuteilen"
500510

@@ -606,6 +616,10 @@ msgstr ""
606616
msgid "Failed to connect: timeout"
607617
msgstr "Verbindung nicht erfolgreich: timeout"
608618

619+
#: shared-module/audiomp3/MP3File.c
620+
msgid "Failed to parse MP3 file"
621+
msgstr ""
622+
609623
#: ports/nrf/sd_mutex.c
610624
#, c-format
611625
msgid "Failed to release mutex, err 0x%04x"
@@ -1798,7 +1812,7 @@ msgstr "Es wurden zusätzliche Keyword-Argumente angegeben"
17981812
msgid "extra positional arguments given"
17991813
msgstr "Es wurden zusätzliche Argumente ohne Keyword angegeben"
18001814

1801-
#: shared-bindings/audiocore/WaveFile.c
1815+
#: shared-bindings/audiocore/WaveFile.c shared-bindings/audiomp3/MP3File.c
18021816
#: shared-bindings/displayio/OnDiskBitmap.c
18031817
msgid "file must be a file opened in byte mode"
18041818
msgstr "Die Datei muss eine im Byte-Modus geöffnete Datei sein"

locale/en_US.po

Lines changed: 16 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ msgid ""
77
msgstr ""
88
"Project-Id-Version: \n"
99
"Report-Msgid-Bugs-To: \n"
10-
"POT-Creation-Date: 2019-12-06 13:25-0600\n"
10+
"POT-Creation-Date: 2019-12-10 13:55-0600\n"
1111
"PO-Revision-Date: 2018-07-27 11:55-0700\n"
1212
"Last-Translator: \n"
1313
"Language-Team: \n"
@@ -486,11 +486,21 @@ msgstr ""
486486
msgid "Could not initialize UART"
487487
msgstr ""
488488

489+
#: shared-module/audiomp3/MP3File.c
490+
msgid "Couldn't allocate decoder"
491+
msgstr ""
492+
489493
#: shared-module/audiocore/WaveFile.c shared-module/audiomixer/Mixer.c
494+
#: shared-module/audiomp3/MP3File.c
490495
msgid "Couldn't allocate first buffer"
491496
msgstr ""
492497

498+
#: shared-module/audiomp3/MP3File.c
499+
msgid "Couldn't allocate input buffer"
500+
msgstr ""
501+
493502
#: shared-module/audiocore/WaveFile.c shared-module/audiomixer/Mixer.c
503+
#: shared-module/audiomp3/MP3File.c
494504
msgid "Couldn't allocate second buffer"
495505
msgstr ""
496506

@@ -602,6 +612,10 @@ msgstr ""
602612
msgid "Failed to connect: timeout"
603613
msgstr ""
604614

615+
#: shared-module/audiomp3/MP3File.c
616+
msgid "Failed to parse MP3 file"
617+
msgstr ""
618+
605619
#: ports/nrf/sd_mutex.c
606620
#, c-format
607621
msgid "Failed to release mutex, err 0x%04x"
@@ -1749,7 +1763,7 @@ msgstr ""
17491763
msgid "extra positional arguments given"
17501764
msgstr ""
17511765

1752-
#: shared-bindings/audiocore/WaveFile.c
1766+
#: shared-bindings/audiocore/WaveFile.c shared-bindings/audiomp3/MP3File.c
17531767
#: shared-bindings/displayio/OnDiskBitmap.c
17541768
msgid "file must be a file opened in byte mode"
17551769
msgstr ""

locale/en_x_pirate.po

Lines changed: 16 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ msgid ""
77
msgstr ""
88
"Project-Id-Version: \n"
99
"Report-Msgid-Bugs-To: \n"
10-
"POT-Creation-Date: 2019-12-06 13:25-0600\n"
10+
"POT-Creation-Date: 2019-12-10 13:55-0600\n"
1111
"PO-Revision-Date: 2018-07-27 11:55-0700\n"
1212
"Last-Translator: \n"
1313
"Language-Team: @sommersoft, @MrCertainly\n"
@@ -490,11 +490,21 @@ msgstr ""
490490
msgid "Could not initialize UART"
491491
msgstr ""
492492

493+
#: shared-module/audiomp3/MP3File.c
494+
msgid "Couldn't allocate decoder"
495+
msgstr ""
496+
493497
#: shared-module/audiocore/WaveFile.c shared-module/audiomixer/Mixer.c
498+
#: shared-module/audiomp3/MP3File.c
494499
msgid "Couldn't allocate first buffer"
495500
msgstr ""
496501

502+
#: shared-module/audiomp3/MP3File.c
503+
msgid "Couldn't allocate input buffer"
504+
msgstr ""
505+
497506
#: shared-module/audiocore/WaveFile.c shared-module/audiomixer/Mixer.c
507+
#: shared-module/audiomp3/MP3File.c
498508
msgid "Couldn't allocate second buffer"
499509
msgstr ""
500510

@@ -606,6 +616,10 @@ msgstr ""
606616
msgid "Failed to connect: timeout"
607617
msgstr ""
608618

619+
#: shared-module/audiomp3/MP3File.c
620+
msgid "Failed to parse MP3 file"
621+
msgstr ""
622+
609623
#: ports/nrf/sd_mutex.c
610624
#, c-format
611625
msgid "Failed to release mutex, err 0x%04x"
@@ -1753,7 +1767,7 @@ msgstr ""
17531767
msgid "extra positional arguments given"
17541768
msgstr ""
17551769

1756-
#: shared-bindings/audiocore/WaveFile.c
1770+
#: shared-bindings/audiocore/WaveFile.c shared-bindings/audiomp3/MP3File.c
17571771
#: shared-bindings/displayio/OnDiskBitmap.c
17581772
msgid "file must be a file opened in byte mode"
17591773
msgstr ""

locale/es.po

Lines changed: 16 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ msgid ""
77
msgstr ""
88
"Project-Id-Version: \n"
99
"Report-Msgid-Bugs-To: \n"
10-
"POT-Creation-Date: 2019-12-06 13:25-0600\n"
10+
"POT-Creation-Date: 2019-12-10 13:55-0600\n"
1111
"PO-Revision-Date: 2018-08-24 22:56-0500\n"
1212
"Last-Translator: \n"
1313
"Language-Team: \n"
@@ -494,11 +494,21 @@ msgstr ""
494494
msgid "Could not initialize UART"
495495
msgstr "No se puede inicializar la UART"
496496

497+
#: shared-module/audiomp3/MP3File.c
498+
msgid "Couldn't allocate decoder"
499+
msgstr ""
500+
497501
#: shared-module/audiocore/WaveFile.c shared-module/audiomixer/Mixer.c
502+
#: shared-module/audiomp3/MP3File.c
498503
msgid "Couldn't allocate first buffer"
499504
msgstr "No se pudo asignar el primer buffer"
500505

506+
#: shared-module/audiomp3/MP3File.c
507+
msgid "Couldn't allocate input buffer"
508+
msgstr ""
509+
501510
#: shared-module/audiocore/WaveFile.c shared-module/audiomixer/Mixer.c
511+
#: shared-module/audiomp3/MP3File.c
502512
msgid "Couldn't allocate second buffer"
503513
msgstr "No se pudo asignar el segundo buffer"
504514

@@ -610,6 +620,10 @@ msgstr ""
610620
msgid "Failed to connect: timeout"
611621
msgstr ""
612622

623+
#: shared-module/audiomp3/MP3File.c
624+
msgid "Failed to parse MP3 file"
625+
msgstr ""
626+
613627
#: ports/nrf/sd_mutex.c
614628
#, c-format
615629
msgid "Failed to release mutex, err 0x%04x"
@@ -1802,7 +1816,7 @@ msgstr "argumento(s) por palabra clave adicionales fueron dados"
18021816
msgid "extra positional arguments given"
18031817
msgstr "argumento posicional adicional dado"
18041818

1805-
#: shared-bindings/audiocore/WaveFile.c
1819+
#: shared-bindings/audiocore/WaveFile.c shared-bindings/audiomp3/MP3File.c
18061820
#: shared-bindings/displayio/OnDiskBitmap.c
18071821
msgid "file must be a file opened in byte mode"
18081822
msgstr "el archivo deberia ser una archivo abierto en modo byte"

locale/fil.po

Lines changed: 16 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ msgid ""
77
msgstr ""
88
"Project-Id-Version: \n"
99
"Report-Msgid-Bugs-To: \n"
10-
"POT-Creation-Date: 2019-12-06 13:25-0600\n"
10+
"POT-Creation-Date: 2019-12-10 13:55-0600\n"
1111
"PO-Revision-Date: 2018-12-20 22:15-0800\n"
1212
"Last-Translator: Timothy <me@timothygarcia.ca>\n"
1313
"Language-Team: fil\n"
@@ -495,11 +495,21 @@ msgstr ""
495495
msgid "Could not initialize UART"
496496
msgstr "Hindi ma-initialize ang UART"
497497

498+
#: shared-module/audiomp3/MP3File.c
499+
msgid "Couldn't allocate decoder"
500+
msgstr ""
501+
498502
#: shared-module/audiocore/WaveFile.c shared-module/audiomixer/Mixer.c
503+
#: shared-module/audiomp3/MP3File.c
499504
msgid "Couldn't allocate first buffer"
500505
msgstr "Hindi ma-iallocate ang first buffer"
501506

507+
#: shared-module/audiomp3/MP3File.c
508+
msgid "Couldn't allocate input buffer"
509+
msgstr ""
510+
502511
#: shared-module/audiocore/WaveFile.c shared-module/audiomixer/Mixer.c
512+
#: shared-module/audiomp3/MP3File.c
503513
msgid "Couldn't allocate second buffer"
504514
msgstr "Hindi ma-iallocate ang second buffer"
505515

@@ -616,6 +626,10 @@ msgstr ""
616626
msgid "Failed to connect: timeout"
617627
msgstr ""
618628

629+
#: shared-module/audiomp3/MP3File.c
630+
msgid "Failed to parse MP3 file"
631+
msgstr ""
632+
619633
#: ports/nrf/sd_mutex.c
620634
#, fuzzy, c-format
621635
msgid "Failed to release mutex, err 0x%04x"
@@ -1810,7 +1824,7 @@ msgstr "dagdag na keyword argument na ibinigay"
18101824
msgid "extra positional arguments given"
18111825
msgstr "dagdag na positional argument na ibinigay"
18121826

1813-
#: shared-bindings/audiocore/WaveFile.c
1827+
#: shared-bindings/audiocore/WaveFile.c shared-bindings/audiomp3/MP3File.c
18141828
#: shared-bindings/displayio/OnDiskBitmap.c
18151829
msgid "file must be a file opened in byte mode"
18161830
msgstr "file ay dapat buksan sa byte mode"

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy