<p dir="ltr">Label says PiFi DAC+. v2.0</p>
<p dir="ltr">I'll need to look up how to apply the patch. I'm not familiar with how to do it.</p>
<div class="gmail_quote">On Mar 29, 2015 8:41 AM, "Raymond Yau" <<a href="mailto:superquad.vortex2@gmail.com">superquad.vortex2@gmail.com</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><p>><br>
> I'll check HiFiBerry's site and see if I can get it.<br>
></p>
<p><a href="https://www.hifiberry.com/dacplus/" target="_blank">https://www.hifiberry.com/dacplus/</a></p>
<p>What is the label on the black DAC chip ?</p>
<p>Aplay/Arecord output<br>
!!--------------------</p>
<p>APLAY</p>
<p>**** List of PLAYBACK Hardware Devices ****<br>
card 0: sndrpihifiberry [snd_rpi_hifiberry_dacplus], device 0: HiFiBerry DAC HiFi pcm512x-hifi-0 []<br>
Subdevices: 1/1<br>
Subdevice #0: subdevice #0</p>
<p>ARECORD</p>
<p>**** List of CAPTURE Hardware Devices ****</p>
<p>Seem half duplex </p>
<p>Simple mixer control 'PCM',0<br>
Capabilities: volume penum<br>
Playback channels: Front Left - Front Right<br>
Capture channels: Front Left - Front Right<br>
Limits: 0 - 215<br>
Front Left: 172 [80%]<br>
Front Right: 172 [80%]<br>
Simple mixer control 'DSP Program',0<br>
Capabilities: enum<br>
Items: 'FIR interpolation with de-emphasis' 'Low latency IIR with de-emphasis' 'High attenuation with de-emphasis' 'Fixed process flow' 'Ringing-less low latency FIR'<br>
Item0: 'FIR interpolation with de-emphasis'<br>
Simple mixer control 'Playback',0<br>
Capabilities: volume penum<br>
Playback channels: Front Left - Front Right<br>
Capture channels: Front Left - Front Right<br>
Limits: 0 - 1<br>
Front Left: 0 [0%] [-6.00dB]<br>
Front Right: 0 [0%] [-6.00dB]<br>
Simple mixer control 'Playback Boost',0<br>
Capabilities: volume penum<br>
Playback channels: Front Left - Front Right<br>
Capture channels: Front Left - Front Right<br>
Limits: 0 - 1<br>
Front Left: 0 [0%] [0.00dB]<br>
Front Right: 0 [0%] [0.00dB]<br>
Simple mixer control 'Auto Mute',0<br>
Capabilities: pswitch penum<br>
Playback channels: Front Left - Front Right<br>
Mono:<br>
Front Left: Playback [on]<br>
Front Right: Playback [on]<br>
Simple mixer control 'Auto Mute Mono',0<br>
Capabilities: pswitch pswitch-joined penum<br>
Playback channels: Mono<br>
Mono: Playback [on]<br>
Simple mixer control 'Auto Mute Time Left',0<br>
Capabilities: enum<br>
Items: '21ms' '106ms' '213ms' '533ms' '1.07s' '2.13s' '5.33s' '10.66s'<br>
Item0: '21ms'<br>
Simple mixer control 'Auto Mute Time Right',0<br>
Capabilities: enum<br>
Items: '21ms' '106ms' '213ms' '533ms' '1.07s' '2.13s' '5.33s' '10.66s'<br>
Item0: '21ms'<br>
Simple mixer control 'Clock Missing Period',0<br>
Capabilities: enum<br>
Items: '1s' '2s' '3s' '4s' '5s' '6s' '7s' '8s'<br>
Item0: '1s'<br>
Simple mixer control 'Deemphasis',0<br>
Capabilities: pswitch pswitch-joined penum<br>
Playback channels: Mono<br>
Mono: Playback [on]<br>
Simple mixer control 'Digital',0<br>
Capabilities: pswitch penum<br>
Playback channels: Front Left - Front Right<br>
Mono:<br>
Front Left: Playback [on]<br>
Front Right: Playback [on]<br>
Simple mixer control 'Volume Ramp Down Emergency Rate',0<br>
Capabilities: enum<br>
Items: '1 sample/update' '2 samples/update' '4 samples/update' 'Immediate'<br>
Item0: '1 sample/update'<br>
Simple mixer control 'Volume Ramp Down Emergency Step',0<br>
Capabilities: enum<br>
Items: '4dB/step' '2dB/step' '1dB/step' '0.5dB/step'<br>
Item0: '4dB/step'<br>
Simple mixer control 'Volume Ramp Down Rate',0<br>
Capabilities: enum<br>
Items: '1 sample/update' '2 samples/update' '4 samples/update' 'Immediate'<br>
Item0: '1 sample/update'<br>
Simple mixer control 'Volume Ramp Down Step',0<br>
Capabilities: enum<br>
Items: '4dB/step' '2dB/step' '1dB/step' '0.5dB/step'<br>
Item0: '1dB/step'<br>
Simple mixer control 'Volume Ramp Up Rate',0<br>
Capabilities: enum<br>
Items: '1 sample/update' '2 samples/update' '4 samples/update' 'Immediate'<br>
Item0: '1 sample/update'<br>
Simple mixer control 'Volume Ramp Up Step',0<br>
Capabilities: enum<br>
Items: '4dB/step' '2dB/step' '1dB/step' '0.5dB/step'<br>
Item0: '1dB/step'</p>
<p><a href="https://git.kernel.org/cgit/linux/kernel/git/tiwai/sound.git/tree/sound/soc/codecs/pcm512x.c" target="_blank">https://git.kernel.org/cgit/linux/kernel/git/tiwai/sound.git/tree/sound/soc/codecs/pcm512x.c</a></p>
<p>Seem not your dacplus <br></p>
<p>>> diff --git a/src/modules/alsa/alsa-util.c b/src/modules/alsa/alsa-util.c<br>
>> index bb79e71..e36c2a7 100644<br>
>> --- a/src/modules/alsa/alsa-util.c<br>
>> +++ b/src/modules/alsa/alsa-util.c<br>
>> @@ -481,7 +481,7 @@ int pa_alsa_set_sw_params(snd_pcm_t *pcm, snd_pcm_uframes_t avail_min, bool peri<br>
>> return err;<br>
>> }<br>
>> <br>
>> - if ((err = snd_pcm_sw_params_set_start_threshold(pcm, swparams, (snd_pcm_uframes_t) -1)) < 0) {<br>
>> + if ((err = snd_pcm_sw_params_set_start_threshold(pcm, swparams, boundary)) < 0) {<br>
>> pa_log_warn("Unable to set start threshold: %s\n", pa_alsa_strerror(err));<br>
>> return err;<br>
>> }<br>
>></p>
<p>Do this patch fix your problem ?</p>
</blockquote></div>