mirror of
https://github.com/owntone/owntone-server.git
synced 2025-01-14 00:05:03 -05:00
Remove debug messages producing compiler warnings
This commit is contained in:
parent
b819fd800d
commit
76fc9d8936
@ -178,7 +178,6 @@ laudio_alsa_write(uint8_t *buf, uint64_t rtptime)
|
||||
struct pcm_packet *pkt;
|
||||
snd_pcm_sframes_t nsamp;
|
||||
int ret;
|
||||
snd_pcm_sframes_t delay;
|
||||
|
||||
pkt = (struct pcm_packet *)malloc(sizeof(struct pcm_packet));
|
||||
if (!pkt)
|
||||
@ -224,18 +223,6 @@ laudio_alsa_write(uint8_t *buf, uint64_t rtptime)
|
||||
|
||||
pkt = pcm_pkt_head;
|
||||
|
||||
ret = snd_pcm_delay(hdl, &delay);
|
||||
DPRINTF(E_SPAM, L_LAUDIO, "Current delay %" PRIu64 "\n", delay);
|
||||
snd_pcm_state_t pcmstate = snd_pcm_state(hdl);
|
||||
if (pcmstate == SND_PCM_STATE_RUNNING)
|
||||
{
|
||||
DPRINTF(E_SPAM, L_LAUDIO, "PCM-state == RUNNING\n");
|
||||
}
|
||||
else if (pcmstate == SND_PCM_STATE_PREPARED)
|
||||
{
|
||||
DPRINTF(E_SPAM, L_LAUDIO, "PCM-state == PREPARED\n");
|
||||
}
|
||||
|
||||
while (pkt)
|
||||
{
|
||||
if (pcm_recovery)
|
||||
|
Loading…
Reference in New Issue
Block a user