fix variable name

This commit is contained in:
jan 2016-07-12 00:11:16 -07:00
parent 681698b7e5
commit 4825365776

View File

@ -83,7 +83,7 @@ def get_audio_channel_count(dll, handle):
def get_sample_rate(dll, handle):
sample_rate = ctypes.c_uint()
res = dll.AAXGetSampleRate(handle, n_channels)
res = dll.AAXGetSampleRate(handle, sample_rate)
if res != 0:
raise Exception('AAXGetSampleRate: {}'.format(res))