Fix typo in previous. carl-v4
authorCarl Hetherington <cth@carlh.net>
Thu, 10 Jan 2019 01:23:55 +0000 (01:23 +0000)
committerCarl Hetherington <cth@carlh.net>
Thu, 10 Jan 2019 01:23:55 +0000 (01:23 +0000)
RtAudio.cpp

index 561ed2a66ae11a8356785ba00c534d489cb5ded0..9b527ef6e085b0fb0cc4602922d56f4132512291 100644 (file)
@@ -8668,7 +8668,7 @@ bool RtApiPulse::probeDeviceOpen( unsigned int device, StreamMode mode,
       map.map[6] = PA_CHANNEL_POSITION_SIDE_LEFT;\r
     }\r
     if (channels > 7) {\r
-      map.map[6] = PA_CHANNEL_POSITION_SIDE_RIGHT;\r
+      map.map[7] = PA_CHANNEL_POSITION_SIDE_RIGHT;\r
     }\r
 \r
     pah->s_play = pa_simple_new( NULL, streamName.c_str(), PA_STREAM_PLAYBACK, NULL, "Playback", &ss, &map, NULL, &error );\r