>From: Tim Hardisty <t...@hardisty.co.uk> > >Hi all, > >I am investigating but someone may have seen this already? > > >When I try and play it with NXplayer, it fails while trying to enqueue >the buffer and behaves as if the file is not open (EBADF)
After comparing audio_null.c to (for example) cs43l22.c I have made some changes to audio_null.c and it now seems to behave but I don't know if it will come back to bite me. There is now a check like this: if (priv->mq.f_inode != NULL) before attempting to file_mq_send() This seems to be to avoid enqueuing data before play has actually started (according to the comment). Does that make sense and/or ring any bells with anyone?