linguini1 commented on issue #19309: URL: https://github.com/apache/nuttx/issues/19309#issuecomment-4898856680
Okay so I also found that the i2schar driver casts the ioctl `arg` parameter to the unsigned return types which I fixed. So things need to be adjusted there. Also, the i2schar driver seems to think that passing a data width of '0 bits' to `i2s_txdatawidth` should cause the lower-half driver to return the currently set data width. This is not at all what the upper-half driver asks for in the signature; it asks for data width * sample rate. And many things (like the rp2040 lowerhalf) will trigger an assertion if the bit parameter is passed as 0. So it looks like the whole I2S driver stuff is a mess? Is there anyone who has worked with I2S audio who can weigh in? -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
