8000 Merge pull request #2127 from jepler/nrf-i2s · adafruit/circuitpython@89fed70 · GitHub
[go: up one dir, main page]

Skip to content

Commit 89fed70

Browse files
authored
Merge pull request #2127 from jepler/nrf-i2s
nrf: Add i2s audio output
2 parents 9d95cc7 + 7b9dfc9 commit 89fed70

File tree

17 files changed

+372
-22
lines changed

17 files changed

+372
-22
lines changed

locale/ID.po

Lines changed: 5 additions & 1 deletion
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-08-29 22:16-0500\n"
11+
"POT-Creation-Date: 2019-09-08 17:30-0500\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"
@@ -516,6 +516,10 @@ msgstr "Tidak bisa menyesuaikan data ke dalam paket advertisment"
516516
msgid "Destination capacity is smaller than destination_length."
517517
msgstr ""
518518

519+
#: ports/nrf/common-hal/audiobusio/I2SOut.c
520+
msgid "Device in use"
521+
msgstr ""
522+
519523
#: shared-bindings/displayio/Display.c
520524
msgid "Display must have a 16 bit colorspace."
521525
msgstr ""

locale/circuitpython.pot

Lines changed: 5 additions & 1 deletion
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-08-29 22:16-0500\n"
11+
"POT-Creation-Date: 2019-09-08 17:30-0500\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"
@@ -505,6 +505,10 @@ msgstr ""
505505
msgid "Destination capacity is smaller than destination_length."
506506
msgstr ""
507507

508+
#: ports/nrf/common-hal/audiobusio/I2SOut.c
509+
msgid "Device in use"
510+
msgstr ""
511+
508512
#: shared-bindings/displayio/Display.c
509513
msgid "Display must have a 16 bit colorspace."
510514
msgstr ""

locale/de_DE.po

Lines changed: 5 additions & 1 deletion
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-08-29 22:16-0500\n"
10+
"POT-Creation-Date: 2019-09-08 17:30-0500\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"
@@ -509,6 +509,10 @@ msgstr "Zu vielen Daten für das advertisement packet"
509509
msgid "Destination capacity is smaller than destination_length."
510510
msgstr "Die Zielkapazität ist kleiner als destination_length."
511511

512+
#: ports/nrf/common-hal/audiobusio/I2SOut.c
513+
msgid "Device in use"
514+
msgstr ""
515+
512516
#: shared-bindings/displayio/Display.c
513517
msgid "Display must have a 16 bit colorspace."
514518
msgstr ""

locale/en_US.po

Lines changed: 5 additions & 1 deletion
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-08-29 22:16-0500\n"
10+
"POT-Creation-Date: 2019-09-08 17:30-0500\n"
1111
"PO-Revision-Date: 2018-07-27 11:55-0700\n"
1212
"Last-Translator: \n"
1313
"Language-Team: \n"
@@ -505,6 +505,10 @@ msgstr ""
505505
msgid "Destination capacity is smaller than destination_length."
506506
msgstr ""
507507

508+
#: ports/nrf/common-hal/audiobusio/I2SOut.c
509+
msgid "Device in use"
510+
msgstr ""
511+
508512
#: shared-bindings/displayio/Display.c
509513
msgid "Display must have a 16 bit colorspace."
510514
msgstr ""

locale/en_x_pirate.po

Lines changed: 5 additions & 1 deletion
Original fi F438 le 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-08-29 22:16-0500\n"
10+
"POT-Creation-Date: 2019-09-08 17:30-0500\n"
1111
"PO-Revision-Date: 2018-07-27 11:55-0700\n"
1212
"Last-Translator: \n"
1313
"Language-Team: @sommersoft, @MrCertainly\n"
@@ -509,6 +509,10 @@ msgstr ""
509509
msgid "Destination capacity is smaller than destination_length."
510510
msgstr ""
511511

512+
#: ports/nrf/common-hal/audiobusio/I2SOut.c
513+
msgid "Device in use"
514+
msgstr ""
515+
512516
#: shared-bindings/displayio/Display.c
513517
msgid "Display must have a 16 bit colorspace."
514518
msgstr ""

locale/es.po

Lines changed: 5 additions & 1 deletion
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-08-29 22:16-0500\n"
10+
"POT-Creation-Date: 2019-09-08 17:30-0500\n"
1111
"PO-Revision-Date: 2018-08-24 22:56-0500\n"
1212
"Last-Translator: \n"
1313
"Language-Team: \n"
@@ -513,6 +513,10 @@ msgstr "Data es muy grande para el paquete de advertisement."
513513
msgid "Destination capacity is smaller than destination_length."
514514
msgstr "Capacidad de destino es mas pequeña que destination_length."
515515

516+
#: ports/nrf/common-hal/audiobusio/I2SOut.c
517+
msgid "Device in use"
518+
msgstr ""
519+
516520
#: shared-bindings/displayio/Display.c
517521
msgid "Display must have a 16 bit colorspace."
518522
msgstr ""

locale/fil.po

Lines changed: 5 additions & 1 deletion
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-08-29 22:16-0500\n"
10+
"POT-Creation-Date: 2019-09-08 17:30-0500\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"
@@ -517,6 +517,10 @@ msgid "Destination capacity is smaller than destination_length."
517517
msgstr ""
518518
"Ang kapasidad ng destinasyon ay mas maliit kaysa sa destination_length."
519519

520+
#: ports/nrf/common-hal/audiobusio/I2SOut.c
521+
msgid "Device in use"
522+
msgstr ""
523+
520524
#: shared-bindings/displayio/Display.c
521525
msgid "Display must have a 16 bit colorspace."
522526
msgstr ""

locale/fr.po

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ msgid ""
88
msgstr ""
99
"Project-Id-Version: 0.1\n"
1010
"Report-Msgid-Bugs-To: \n"
11-
"POT-Creation-Date: 2019-08-29 22:16-0500\n"
11+
"POT-Creation-Date: 2019-09-08 17:30-0500\n"
1212
"PO-Revision-Date: 2019-04-14 20:05+0100\n"
1313
"Last-Translator: Pierrick Couturier <arofarn@arofarn.info>\n"
1414
"Language-Team: fr\n"
@@ -521,6 +521,10 @@ msgstr "Données trop volumineuses pour un paquet de diffusion"
521521
msgid "Destination capacity is smaller than destination_length."
522522
msgstr "La capacité de destination est plus petite que 'destination_length'."
523523

524+
#: ports/nrf/common-hal/audiobusio/I2SOut.c
525+
msgid "Device in use"
526+
msgstr ""
527+
524528
#: shared-bindings/displayio/Display.c
525529
msgid "Display must have a 16 bit colorspace."
526530
msgstr ""

locale/it_IT.po

Lines changed: 5 additions & 1 deletion
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-08-29 22:16-0500\n"
11+
"POT-Creation-Date: 2019-09-08 17:30-0500\n"
1212
"PO-Revision-Date: 2018-10-02 16:27+0200\n"
1313
"Last-Translator: Enrico Paganin <enrico.paganin@mail.com>\n"
1414
"Language-Team: \n"
@@ -517,6 +517,10 @@ msgstr "Impossibile inserire dati nel pacchetto di advertisement."
517517
msgid "Destination capacity is smaller than destination_length."
518518
msgstr "La capacità di destinazione è più piccola di destination_length."
519519

520+
#: ports/nrf/common-hal/audiobusio/I2SOut.c
521+
msgid "Device in use"
522+
msgstr ""
523+
520524
#: shared-bindings/displayio/Display.c
521525
msgid "Display must have a 16 bit colorspace."
522526
msgstr ""

locale/pl.po

Lines changed: 5 additions & 1 deletion
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-08-29 22:16-0500\n"
10+
"POT-Creation-Date: 2019-09-08 17:30-0500\n"
1111
"PO-Revision-Date: 2019-03-19 18:37-0700\n"
1212
"Last-Translator: Radomir Dopieralski <circuitpython@sheep.art.pl>\n"
1313
"Language-Team: pl\n"
@@ -508,6 +508,10 @@ msgstr "Zbyt dużo danych pakietu rozgłoszeniowego"
508508
msgid "Destination capacity is smaller than destination_length."
509509
msgstr "Pojemność celu mniejsza od destination_length."
510510

511+
#: ports/nrf/common-hal/audiobusio/I2SOut.c
512+
msgid "Device in use"
513+
msgstr ""
514+
511515
#: shared-bindings/displayio/Display.c
512516
msgid "Display must have a 16 bit colorspace."
513517
msgstr ""

locale/pt_BR.po

Lines changed: 5 additions & 1 deletion
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-08-29 22:16-0500\n"
11+
"POT-Creation-Date: 2019-09-08 17:30-0500\n"
1212
"PO-Revision-Date: 2018-10-02 21:14-0000\n"
1313
"Last-Translator: \n"
1414
"Language-Team: \n"
@@ -512,6 +512,10 @@ msgstr "Não é possível ajustar dados no pacote de anúncios."
512512
msgid "Destination capacity is smaller than destination_length."
513513
msgstr ""
514514

515+
#: ports/nrf/common-hal/audiobusio/I2SOut.c
516+
msgid "Device in use"
517+
msgstr ""
518+
515519
#: shared-bindings/displayio/Display.c
516520
msgid "Display must have a 16 bit colorspace."
517521
msgstr ""

locale/zh_Latn_pinyin.po

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ msgid ""
77
msgstr ""
88
"Project-Id-Version: circuitpython-cn\n"
99
"Report-Msgid-Bugs-To: \n"
10-
"POT-Creation-Date: 2019-08-29 22:16-0500\n"
10+
"POT-Creation-Date: 2019-09-08 17:30-0500\n"
1111
"PO-Revision-Date: 2019-04-13 10:10-0700\n"
1212
"Last-Translator: hexthat\n"
1313
"Language-Team: Chinese Hanyu Pinyin\n"
@@ -509,6 +509,10 @@ msgstr "Guǎnggào bāo de shùjù tài dà"
509509
msgid "Destination capacity is smaller than destination_length."
510510
msgstr "Mùbiāo róngliàng xiǎoyú mùdì de_chángdù."
511511

512+
#: ports/nrf/common-hal/audiobusio/I2SOut.c
513+
msgid "Device in use"
514+
msgstr ""
515+
512516
#: shared-bindings/displayio/Display.c
513517
msgid "Display must have a 16 bit colorspace."
514518
msgstr "Xiǎnshì bìxū jùyǒu 16 wèi yánsè kōngjiān."

ports/nrf/background.c

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,10 @@
3333
#include "shared-module/displayio/__init__.h"
3434
#endif
3535

36+
#if CIRCUITPY_AUDIOBUSIO
37+
#include "common-hal/audiobusio/I2SOut.h"
38+
#endif
39+
3640
#if CIRCUITPY_AUDIOPWMIO
3741
#include "common-hal/audiopwmio/PWMAudioOut.h"
3842
#endif
@@ -54,6 +58,10 @@ void run_background_tasks(void) {
5458
#if CIRCUITPY_AUDIOPWMIO
5559
audiopwmout_background();
5660
#endif
61+
#if CIRCUITPY_AUDIOBUSIO
62+
i2s_background();
63+
#endif
64+
5765

5866
#if CIRCUITPY_DISPLAYIO
5967
displayio_background();

0 commit comments

Comments
 (0)
0