Searched refs:bits_per_sample (Results 1 – 10 of 10) sorted by relevance
| /system/uapp/audio/ |
| A D | wav-sink.cpp | 52 case AUDIO_SAMPLE_FORMAT_8BIT: wav_hdr.bits_per_sample = 8; break; in SetFormat() 53 case AUDIO_SAMPLE_FORMAT_16BIT: wav_hdr.bits_per_sample = 16; break; in SetFormat() 54 case AUDIO_SAMPLE_FORMAT_24BIT_PACKED: wav_hdr.bits_per_sample = 24; break; in SetFormat() 61 case AUDIO_SAMPLE_FORMAT_32BIT: wav_hdr.bits_per_sample = 32; break; in SetFormat() 68 wav_hdr.frame_size = static_cast<uint16_t>((wav_hdr.bits_per_sample >> 3u) * in SetFormat()
|
| A D | wav-common.h | 46 uint16_t bits_per_sample; member 57 bits_per_sample = htole16(bits_per_sample); in FixupEndian()
|
| A D | wav-source.cpp | 74 switch (wav_info.bits_per_sample) { in Initialize() 78 printf("Unsupported bits per sample (%hu)\n", wav_info.bits_per_sample); in Initialize()
|
| A D | audio.cpp | 272 uint32_t bits_per_sample = DEFAULT_BITS_PER_SAMPLE; in main() local 287 { .name = "-b", .tag = "bits/sample", .val = &bits_per_sample }, in main() 376 switch (bits_per_sample) { in main() 383 printf("Unsupported number of bits per sample (%u)\n", bits_per_sample); in main()
|
| /system/dev/lib/amlogic/ |
| A D | aml-tdm-audio.cpp | 186 uint8_t bits_per_slot, uint8_t bits_per_sample, in ConfigTdmOutSlot() argument 192 reg = (bits_per_sample << 8) | (frddr_ch_ << 24); in ConfigTdmOutSlot() 193 if (bits_per_sample <= 8) { in ConfigTdmOutSlot() 196 } else if (bits_per_sample <= 16) { in ConfigTdmOutSlot()
|
| /system/ulib/intel-hda/include/intel-hda/utils/ |
| A D | nhlt.h | 54 uint16_t bits_per_sample; member
|
| /system/dev/display/vim-display/ |
| A D | vim-spdif-audio-stream.cpp | 130 uint32_t bits_per_sample; in ChangeFormat() local 132 case AUDIO_SAMPLE_FORMAT_16BIT: bits_per_sample = 16; break; in ChangeFormat() 134 case AUDIO_SAMPLE_FORMAT_24BIT_IN32: bits_per_sample = 24; break; in ChangeFormat() 147 req.frames_per_second, bits_per_sample); in ChangeFormat()
|
| A D | vim-display.h | 158 uint32_t bits_per_sample);
|
| A D | vim-display.cpp | 834 uint32_t bits_per_sample) { in vim2_display_configure_audio_mode() argument 837 if ((N > 0xFFFFF) || (CTS > 0xFFFFF) || (bits_per_sample < 16) || (bits_per_sample > 24)) { in vim2_display_configure_audio_mode() 847 hdmitx_writereg(display, HDMITX_DWC_AUD_SPDIF1, bits_per_sample); in vim2_display_configure_audio_mode() 892 switch (bits_per_sample) { in vim2_display_configure_audio_mode()
|
| /system/dev/lib/amlogic/include/soc/aml-common/ |
| A D | aml-tdm-audio.h | 39 uint8_t bits_per_sample, uint8_t mix_mask);
|
Completed in 824 milliseconds