source: mainline/uspace/drv/audio/sb16/dsp.c

Revision Log Mode:


Legend:

Added
Modified
Copied or renamed
Diff Rev Age Author Log Message
(edit) @b7fd2a0   7 years zarevucky.jiri Use errno_t in all uspace and kernel code. Change type of every … lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @d5c1051   7 years zarevucky.jiri "Obviously harmless" error handling tweaks. lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @c19a5a59   7 years zarevucky.jiri Return value from hw_res_dma_channel_remain separately from error code. lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @53a309e   7 years jiri Must not explicitly close DDF-provided parent session. lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @d15797d   7 years jiri Remove unnecessary references to devman. lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @05b59393   7 years zarevucky.jiri Fix a couple of benign clang warnings. No change in semantics. lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @f9b2cb4c   9 years martin unify interface API * introduce new interfaces * unify location … lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @bf9cb2f   11 years martin complete the desired API semantics of physmem_map() and … lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @4a90582   11 years martin allocate the DMA buffer with proper alignment this finally unbreaks … lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @8442d10   11 years martin improve the API of physmem_map(), dmamem_map() and … lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @f7b36bc   11 years jano.vesely sb16: Send 'terminated' events on immediate stop. lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @fda3bd9   11 years jano.vesely sb16: Start event exchange even for not fragment based playback/capture lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @5b8e08e   11 years jano.vesely sb16: Include state information in spurious interrupt warning. lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @d337f74   11 years jano.vesely sb16: Change state before reporting 'terminated' events lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @537620a8   11 years jano.vesely sb16: Use 64KB buffers. This fixes occasional audio glitches in hound … lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @365f259   12 years jano.vesely sb16: Use arrays_size macro. lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @03362fbd   12 years jano.vesely Merge mainline changes. Conflict resulting from bool.h → stdbool.h … lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @e1534533   12 years jano.vesely sb16: Use 60KB buffer. There seems to be some problems with 64KB. lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @f3fb83a   12 years jano.vesely sb16: Minor fixes. Remove event interval from debug messages, … lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @37367f7   12 years jano.vesely sb16: Report capability name instead of number. Return ENOTSUP for … lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @f2a92b0   12 years jano.vesely sb16: Merge DSP_STOPPED and DSP_READY. lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @5eed99d   12 years jano.vesely sb16: Remove sb_ prefix from helper functions. lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @92b638c   12 years jano.vesely audio, sb16: Add and implement API for playback/capture with or … lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @74c7164   12 years jano.vesely sb16: Use full size buffer lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @03d6e0d   12 years jano.vesely sb16: Add names for new states. lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @daed689   12 years jano.vesely sb16: Report termination after the action has actually terminated. lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @0387b92   12 years jano.vesely ab16: Improve event reporting, and state checking. lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @6f57933   12 years jano.vesely sb16: Fix session cleanup. lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @fb6c98f   12 years jano.vesely sb16: Improve state management and use it to reject invalid requests. lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @018ab50   12 years jano.vesely audio: Move event callback into separate API calls. lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @1ba95ba   12 years jano.vesely sb16: Implement and enable buffer position capability. lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @d86c9736   12 years jano.vesely Rename record → capture. lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @ad42844   12 years jano.vesely sb16: Use more helper functions instead of duplicating code. lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @d758301   12 years jano.vesely sb16: Check for buffer availability in playback/record. Only check … lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @d2765ab3   12 years jano.vesely sb16: Use format test function to validate input parameters. lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @ff396ea   12 years jano.vesely sb16: Interval of 0 frames disables interrupts reporting. Don't use … lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @f0241bda   12 years jano.vesely sb16: Implement capabilities query. lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @c5cbc1b7   12 years jano.vesely sb16: Use dmamem_map_anonymous to map sound buffer. It will be … lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @b7c080c   12 years jano.vesely sb16: Implement test_format call. lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @57e8b3b   12 years jano.vesely Add frame count to event report. This enables applications to detect … lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @b497018   12 years jano.vesely Drop id parameter from audio_pcm interface. Independent buffer should … lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @1240bb9   12 years jano.vesely Use named audio events. audio/sb16: dsp uses more detailed status … lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @346643c   12 years jano.vesely audio: Use enum for sample format. lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @68d1313   12 years jano.vesely drv/audio/sb16: Fix debug comment mismatch. lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @a3ab774   12 years jano.vesely libdrv/audio,drv/audio/sb16: Update and implement recording interface. … lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @9b3d999   12 years jano.vesely drv/auid/sb16: Refactor debug output. lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @2afae0e   12 years jano.vesely drv/audio/sb16: Fix debug output. lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @bb4c141c   12 years jano.vesely drv/audio/sb16: minor debug changes. lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @e941bf8   12 years jano.vesely audio/sb16: Remove optical separators. lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @124f9bd   12 years jano.vesely audio/sb16: Remove newlines from debug messages. lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @7ca22e5   12 years jano.vesely drv/audio/sb16: Accept event session and send USER_METHOD on playback … lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @00006e0   12 years jano.vesely audio: Allow client to specify buffer size. lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @c17c872c   13 years jano.vesely sb16, dsp: Remove internal playback functions. External playback … lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @43dec08   13 years jano.vesely sb16, dsp: Add external buffer manipulation. lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @84d6c39   13 years jano.vesely sb16: Drop support for 8bit format for now. Looks like 8bit playback … lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @5c62b5f   13 years jano.vesely sb16: Use void* for playback data. lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @ed3f8d5   13 years jano.vesely sb16: Rework AUTO_DMA_MODE lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @413225d   13 years jano.vesely sb16: Ack interrupts in irq pseudocode. lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @1269160   13 years jano.vesely sb16: Add TODO lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @c885a21   13 years jano.vesely sb16: Switch to new ISA bus provided DMA controller access. lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @0ea8f83   13 years jano.vesely sb16: DMA buffer uses separate memory area. lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @751d17a2   13 years jano.vesely sb16: Play 'beep' sound on startup. Reove debug statements from … lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @6233c4e   13 years jano.vesely sb16: Prettify debug output. Add mode to string conversion. lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @0b4f060   13 years jano.vesely sb16: Fix sample counts. Add barriers. DSP takes count in samples not … lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @7785e951   13 years jano.vesely sb16: Merge dma_setup_channel and dma prepare_channel. lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @ac149d5   13 years jano.vesely sb16: Fixes. Fixes crash on initial data copy. Fill the entire buffer … lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @5984107   13 years jano.vesely sb16: Add non-automode alternative. lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @962ef67   13 years jano.vesely sb16: Fix offset by one, zero device buffer. lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @dce7e41   13 years jano.vesely sb16: Implement playback. Use 16bit dma transfers for now. lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @f14e6ea   13 years jano.vesely sb16: Add interrupt handler. Set buffer alignment to something that … lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @7257eea6   13 years jano.vesely sb16: Setup both channels (8/16 bit) to the same buffer and set … lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @01aef43   13 years jano.vesely sb16: Add lazy buffer initialization. lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @84dec070   13 years jano.vesely sb16: Add skeleton driver for 8237 DMA controller. lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @0f2e7c1   13 years jano.vesely sb16: Add pseudo DMA malloc. lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @bf38143   13 years jano.vesely sb16: Use new sb_dsp_t structure. lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @a4a4e47   13 years jano.vesely sb16: Simplify direct mode sound IO. (Follow hw design guide) lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(add) @763444e   13 years jano.vesely sb16: Implement direct mode digital sound I/O. lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
Note: See TracRevisionLog for help on using the revision log.