Remove debug messages producing compiler warnings

This commit is contained in:
ejurgensen 2015-04-18 23:10:01 +02:00
parent b819fd800d
commit 76fc9d8936
1 changed files with 0 additions and 13 deletions

View File

@ -178,7 +178,6 @@ laudio_alsa_write(uint8_t *buf, uint64_t rtptime)
struct pcm_packet *pkt; struct pcm_packet *pkt;
snd_pcm_sframes_t nsamp; snd_pcm_sframes_t nsamp;
int ret; int ret;
snd_pcm_sframes_t delay;
pkt = (struct pcm_packet *)malloc(sizeof(struct pcm_packet)); pkt = (struct pcm_packet *)malloc(sizeof(struct pcm_packet));
if (!pkt) if (!pkt)
@ -224,18 +223,6 @@ laudio_alsa_write(uint8_t *buf, uint64_t rtptime)
pkt = pcm_pkt_head; 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) while (pkt)
{ {
if (pcm_recovery) if (pcm_recovery)