Ver código fonte

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

dds
Frank 9 anos atrás
pai
commit
85afca0a5a
1 arquivos alterados com 5 adições e 3 exclusões
  1. +5
    -3
      output_spdif.h

+ 5
- 3
output_spdif.h Ver arquivo

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



Carregando…
Cancelar
Salvar