Commit Graph

43 Commits

Author SHA1 Message Date
Paul A. Patience c0964a17b4 Fixed a forgotten FAR, a typo, and an incorrect bit-field definition. 2015-08-10 14:45:40 -04:00
Gregory Nutt 855e40ee7d Make some file section headers more consistent with standard 2015-04-08 07:25:06 -06:00
Gregory Nutt 9aca0c1c84 Rename kumalloc to kumm_malloc and kuzalloc to kumm_zalloc for consistency with other naming 2014-08-31 16:24:24 -06:00
Gregory Nutt b305f9186a WM8904 interface enable method now returns the previous interrupt state 2014-08-04 14:52:59 -06:00
Gregory Nutt 72b739fbcb WM8904: Add logic to analyze BCLK setup 2014-08-03 17:11:38 -06:00
Gregory Nutt 36f8e23c12 WM8904 driver: Fix wm8904_dump_registers macro: Wrong number of parameters. 2014-08-02 14:28:30 -06:00
Gregory Nutt a2d6c0c2b4 WM8904: Add logic to program the FLL to achieve the bitrate 2014-08-02 12:40:57 -06:00
Gregory Nutt f4bc0ad99a WM8904: Add an option to control WM8904 register dumping 2014-08-02 06:52:42 -06:00
Gregory Nutt 1f2428c087 WM8904: Ad the MCLK frequency to the interface definition. The WM8904 driver needs to know this frequency in order to configure the FLL to generate the correct bitrate 2014-08-01 18:37:56 -06:00
Gregory Nutt e59bb45b33 Add debug logic to dump WM8904 registers 2014-08-01 18:07:20 -06:00
Gregory Nutt e214382264 Audio: Change how the end of the audio stream is detected by the leaf audio component. This used by be done by looking for the first partial buffer. That does not work with the in-place sub-sampling performed by the PCM decoder: That always reduces the size of the buffer so that all buffers only partially filled by the time they get to the leaf. Now, a flag is set in the audio buffer flags set to indicate the final buffer in the stream. 2014-07-31 16:36:09 -06:00
Gregory Nutt b7227f0088 Cosmetic changes, mostly to comments 2014-07-29 12:49:40 -06:00
Gregory Nutt f235f95e52 Misc bugfixes while integrating fast forward by sub-sampling 2014-07-27 19:32:07 -06:00
Gregory Nutt 0cc9b06eca Add definitions to support fast forward and rewind configuration 2014-07-27 12:25:40 -06:00
Gregory Nutt 123efe6e23 Move subsampling rate definitions from nxplayer.h to audio.h 2014-07-27 11:05:25 -06:00
Gregory Nutt 22f8503d0a Convert ac_format and ac_controls to unions to make access a little cleaner 2014-07-24 10:21:04 -06:00
Gregory Nutt dba43a9c75 Audio: Get rid of the decoder->driver IOCTLs that I added a couple of commits back; Use existing configure method 2014-07-24 09:56:39 -06:00
Gregory Nutt ca779ece55 Audio: Add hooks for fast-forward and rewind needed by CMediaPlayer; add hooks for equalizer settings needed by the WM8904 2014-07-24 08:28:10 -06:00
Gregory Nutt 72133f5d95 Add ioctls so that PCM decoder can configure the driver bitrate, num channels, and sample width 2014-07-23 12:21:04 -06:00
Gregory Nutt ca7d7c34ce Audio: Add a NULL audio device that can be used to simply unit-level testing of audio decoders 2014-07-23 10:12:32 -06:00
Gregory Nutt cfa76b5278 Flesh out a few more PCM methods, still incomplete. Re-vision PCM structure definition 2014-07-22 19:23:05 -06:00
Gregory Nutt d7a9633dcd Rename pcm_decode.h to pcm.h since it will hold more than just decoding definitions. Fix some porting errors like idbg should auddbg, etc. Add wav file header and a few low-level wav utilities. 2014-07-22 15:54:56 -06:00
Gregory Nutt a4dcd690bb Add new framework for the PCM decoder. It is now a 'front end' for lower-level drivers like the WM8904 that performs the PCM decoding from end 2014-07-22 11:54:13 -06:00
Gregory Nutt 8548c64915 Remove WM8904 driver unused paramters, clean-up comments, remove some kruft in capability reporting 2014-07-22 11:47:27 -06:00
Gregory Nutt 4f6625380b The WM8904 audio driver is mostly code complete and ready to begin initial testing 2014-07-19 18:52:58 -06:00
Gregory Nutt 6d9f9e37bf SAMA5D4-EK: Add WM8904 initialization logic 2014-07-19 11:58:53 -06:00
Gregory Nutt 89ed7ab558 WM8904: Add initialization logic 2014-07-19 10:20:19 -06:00
Gregory Nutt 3b8c4a399d Framework for a WM8904 audio driver. The initial driver check-in is simply Ken Pettit's VS1053 driver forced to compile with only WM8904 definitions 2014-07-18 15:35:12 -06:00
Gregory Nutt 1ff0536c7f WM8904: Add header file support for this forcoming driver 2014-07-18 13:28:51 -06:00
Gregory Nutt 3a1324741a More trailing whilespace removal 2014-04-13 14:32:20 -06:00
Gregory Nutt 2dec8fbf58 Various fixes from initial attempts to integrate the SAMA5 SSC/I2C driver with the I2C character driver loopback test 2013-11-11 15:18:57 -06:00
Gregory Nutt 390378bfcf Remove unused apb_prepare function 2013-11-11 08:14:56 -06:00
Gregory Nutt 64a7e96f1f I2S simplifed audio buffer queuing 2013-11-10 14:51:33 -06:00
Gregory Nutt f5c82c0df9 Add an I2S character driver. This driver is only intended to support I2S testing and is inappropriate for use with real I2S devices 2013-11-10 10:24:09 -06:00
Gregory Nutt ac120d60c3 SAMA5 I2S: Driver is code complete, untested and subject to some rethinking 2013-11-09 13:08:20 -06:00
Gregory Nutt abdd0c637c SAMA5 I2S: Improved I2S buffering 2013-11-08 16:09:20 -06:00
Gregory Nutt 4214dc9ce9 SAMA5 SSC: Add framework (only) for a forthcoming SSC-based I2S driver 2013-11-07 12:26:53 -06:00
Gregory Nutt 143c8042b8 Initial I2S interface defintion 2013-11-07 09:39:46 -06:00
Gregory Nutt de234b3a89 Add for audio sub-format in audion system. From Ken Pettit 2013-10-28 12:11:52 -06:00
Gregory Nutt 5fe465749f Updated VS1053 audio driver from Ken Pettit 2013-10-27 08:00:16 -06:00
Gregory Nutt 8048001c5e Updated audio subsystem from Ken Pettit 2013-10-27 07:44:53 -06:00
Gregory Nutt 09faaccc02 Created new directories to hold SPI-related files 2013-07-01 08:11:54 -06:00
Gregory Nutt afa905fc15 Audio subystem update from Ken Pettit. Plus moved some header files 2013-05-21 13:13:05 -06:00