(ALSA QNX) Fixed sound

This commit is contained in:
twinaphex 2014-05-25 21:18:21 +02:00
parent 23afdda745
commit 1c9d7fa261

View File

@ -246,7 +246,7 @@ static ssize_t alsa_qsa_write(void *data, const void *buf, size_t size)
if (alsa->buffer_ptr >= alsa->buf_size)
{
snd_pcm_sframes_t frames = snd_pcm_write(alsa->pcm, alsa->buffer, avail_write);
snd_pcm_sframes_t frames = snd_pcm_write(alsa->pcm, alsa->buffer[alsa->buffer_index], alsa->buf_size);
#if 0
bool original_verbosity = g_extern.verbose;