~ubuntu-branches/ubuntu/precise/linux-ti-omap4/precise

« back to all changes in this revision

Viewing changes to sound/pci/ca0106/ca0106.h

  • Committer: Bazaar Package Importer
  • Author(s): Paolo Pisati
  • Date: 2011-06-29 15:23:51 UTC
  • mfrom: (26.1.1 natty-proposed)
  • Revision ID: james.westby@ubuntu.com-20110629152351-xs96tm303d95rpbk
Tags: 3.0.0-1200.2
* Rebased against 3.0.0-6.7
* BSP from TI based on 3.0.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
51
51
 *    Add support for mute control on SB Live 24bit (cards w/ SPI DAC)
52
52
 *
53
53
 *
54
 
 *  This code was initally based on code from ALSA's emu10k1x.c which is:
 
54
 *  This code was initially based on code from ALSA's emu10k1x.c which is:
55
55
 *  Copyright (c) by Francisco Moraes <fmoraes@nc.rr.com>
56
56
 *
57
57
 *   This program is free software; you can redistribute it and/or modify
175
175
/* CA0106 pointer-offset register set, accessed through the PTR and DATA registers                     */
176
176
/********************************************************************************************************/
177
177
                                                                                                                           
178
 
/* Initally all registers from 0x00 to 0x3f have zero contents. */
 
178
/* Initially all registers from 0x00 to 0x3f have zero contents. */
179
179
#define PLAYBACK_LIST_ADDR      0x00            /* Base DMA address of a list of pointers to each period/size */
180
180
                                                /* One list entry: 4 bytes for DMA address, 
181
181
                                                 * 4 bytes for period_size << 16.
223
223
 * The jack has 4 poles. I will call 1 - Tip, 2 - Next to 1, 3 - Next to 2, 4 - Next to 3
224
224
 * For Analogue: 1 -> Center Speaker, 2 -> Sub Woofer, 3 -> Ground, 4 -> Ground
225
225
 * For Digital: 1 -> Front SPDIF, 2 -> Rear SPDIF, 3 -> Center/Subwoofer SPDIF, 4 -> Ground.
226
 
 * Standard 4 pole Video A/V cable with RCA outputs: 1 -> White, 2 -> Yellow, 3 -> Sheild on all three, 4 -> Red.
 
226
 * Standard 4 pole Video A/V cable with RCA outputs: 1 -> White, 2 -> Yellow, 3 -> Shield on all three, 4 -> Red.
227
227
 * So, from this you can see that you cannot use a Standard 4 pole Video A/V cable with the SB Audigy LS card.
228
228
 */
229
229
/* The Front SPDIF PCM gets mixed with samples from the AC97 codec, so can only work for Stereo PCM and not AC3/DTS