Skip to content

Commit 14ca3dc

Browse files
authored
Merge pull request adafruit#852 from adafruit/jerryneedell-patch-1
fix doc error in audioOut.c
2 parents ebeb323 + 1d9bcc5 commit 14ca3dc

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

shared-bindings/audioio/AudioOut.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,8 @@
8080
//| speaker_enable = digitalio.DigitalInOut(board.SPEAKER_ENABLE)
8181
//| speaker_enable.switch_to_output(value=True)
8282
//|
83-
//| wav = audioio.WaveFile("cplay-5.1-16bit-16khz.wav")
83+
//| data = open("cplay-5.1-16bit-16khz.wav", "rb")
84+
//| wav = audioio.WaveFile(data)
8485
//| a = audioio.AudioOut(board.A0)
8586
//|
8687
//| print("playing")

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