|
21 | 21 |
|
22 | 22 | #include "gpio.h" |
23 | 23 | #include "i2c_device.h" |
24 | | -#include "i2s_device.h" |
25 | 24 | #include "pwm.h" |
26 | 25 | #include "spi_device.h" |
27 | 26 | #include "uart_device.h" |
@@ -127,36 +126,9 @@ int APeripheralManagerClient_openUartDevice( |
127 | 126 | const char* name, |
128 | 127 | AUartDevice** dev); |
129 | 128 |
|
130 | | -/// Returns the list of I2S buses. |
131 | | -/// This does not take ownership into account. |
132 | | -/// The list must be freed by the caller. |
133 | | -/// @param client Pointer to the APeripheralManagerClient struct. |
134 | | -/// @param num_i2s_buses Output pointer to the number of elements in the list. |
135 | | -/// @return The list of I2S buses. |
136 | | -char** APeripheralManagerClient_listI2sDevices( |
137 | | - const APeripheralManagerClient* client, int* num_i2s_buses); |
138 | | - |
139 | | -/// Opens an I2S device and takes ownership of it. |
140 | | -/// @param client Pointer to the APeripheralManagerClient struct. |
141 | | -/// @param name Name of the I2S device. |
142 | | -/// @param encoding Device pcm encoding. |
143 | | -/// @param channels Number of channels. |
144 | | -/// @param rate Device rate in Hz. |
145 | | -/// @param flags Specify device supporting input, output or both. |
146 | | -/// @param dev Output pointer to the AI2sDevice struct. Empty on error. |
147 | | -/// @return 0 on success, errno on error |
148 | | -int APeripheralManagerClient_openI2sDevice( |
149 | | - const APeripheralManagerClient* client, |
150 | | - const char* name, |
151 | | - AI2sEncoding encoding, |
152 | | - int channels, |
153 | | - int rate, |
154 | | - int flags, |
155 | | - AI2sDevice** dev); |
156 | | - |
157 | 129 | /// Creates a new client. |
158 | 130 | /// @return A pointer to the created client. nullptr on errors. |
159 | | -APeripheralManagerClient* APeripheralManagerClient_new(); |
| 131 | +APeripheralManagerClient* APeripheralManagerClient_new(void); |
160 | 132 |
|
161 | 133 | /// Destroys the peripheral manager client. |
162 | 134 | /// @param client Pointer to the APeripheralManagerClient struct. |
|
0 commit comments