A class to communicate a USB dac (send:only 48kHz,16bit,2ch , receive:only 48kHz,16bit,1ch). Need "USBHost_AddIso" library.
Dependents: USBHostDac_Audio_in_out
Fork of USBHostDac by
Diff: USBHostDac.h
- Revision:
- 2:4afe26b3d48b
- Parent:
- 1:9ff4cba6524d
--- a/USBHostDac.h Wed Sep 30 06:04:31 2015 +0000
+++ b/USBHostDac.h Wed Sep 30 06:08:15 2015 +0000
@@ -33,7 +33,7 @@
#define USBDAC_
/**
- * A class to communicate a USB dac (only 48kHz,16bit,2ch)
+ * A class to communicate a USB dac (send:only 48kHz,16bit,2ch , receive:only 48kHz,16bit,1ch)
*/
class USBHostDac : public IUSBEnumerator {
public:
@@ -63,7 +63,7 @@
bool connected();
/**
- * Data send : It's sent by the 1536byte unit.
+ * Data send : only 48kHz,16bit,2ch. It's sent by the 1536byte unit.
*
* @param buf pointer on a buffer which will be written
* @param len length of the transfer
@@ -74,7 +74,7 @@
uint32_t send(uint8_t* buf, uint32_t len, bool flush = true);
/**
- * Data receive
+ * Data receive : only 48kHz,16bit,1ch
*
* @param buf pointer on a buffer which will be read
* @param len length of the transfer
