Browse Source

added mute_PCM() - sets or unsets VALID in VUCP (and adjusts PARITY)

f
dds
Frank 9 years ago
parent
commit
ae7251c9ab
1 changed files with 3 additions and 3 deletions
  1. +3
    -3
      output_spdif.h

+ 3
- 3
output_spdif.h View File

friend class AudioInputSPDIF; friend class AudioInputSPDIF;
static void mute_PCM(const bool mute); static void mute_PCM(const bool mute);
protected: protected:
AudioOutputSPDIF(int dummy): AudioStream(2, inputQueueArray) {}
AudioOutputSPDIF(int dummy): AudioStream(2, inputQueueArray) {}
static void config_SPDIF(void); static void config_SPDIF(void);
static audio_block_t *block_left_1st; static audio_block_t *block_left_1st;
static audio_block_t *block_right_1st; static audio_block_t *block_right_1st;
static bool update_responsibility; static bool update_responsibility;
static DMAChannel dma; static DMAChannel dma;
static void isr(void);
static void isr(void);
private: private:
static uint32_t vucp; static uint32_t vucp;
static audio_block_t *block_left_2nd; static audio_block_t *block_left_2nd;
static audio_block_t *block_right_2nd; static audio_block_t *block_right_2nd;
static uint16_t block_left_offset; static uint16_t block_left_offset;
static uint16_t block_right_offset; static uint16_t block_right_offset;
audio_block_t *inputQueueArray[2];
audio_block_t *inputQueueArray[2];
}; };





Loading…
Cancel
Save