Mercurial > octave-nkf
comparison libinterp/dldfcn/audiodevinfo.cc @ 19599:810cfb00b72b
portaudio_play_callback: Fix stereo playback (bug #43965)
author | Andreas Weber <andy.weber.aw@gmail.com> |
---|---|
date | Mon, 12 Jan 2015 13:29:45 +0100 |
parents | 0d3e67f27d57 |
children | c36c22808d11 |
comparison
equal
deleted
inserted
replaced
19598:c304687571c8 | 19599:810cfb00b72b |
---|---|
652 | 652 |
653 const RowVector sound_l = player->get_left (); | 653 const RowVector sound_l = player->get_left (); |
654 const RowVector sound_r = player->get_right (); | 654 const RowVector sound_r = player->get_right (); |
655 | 655 |
656 const double *pl = sound_l.data (); | 656 const double *pl = sound_l.data (); |
657 const double *pr = sound_l.data (); | 657 const double *pr = sound_r.data (); |
658 | 658 |
659 if (player->get_type () == TYPE_DOUBLE) | 659 if (player->get_type () == TYPE_DOUBLE) |
660 { | 660 { |
661 switch (player->get_nbits ()) | 661 switch (player->get_nbits ()) |
662 { | 662 { |