audio, smileys fixes
This commit is contained in:
parent
b9cbf809b5
commit
55f13cbfd1
6 changed files with 9 additions and 9 deletions
|
|
@ -280,9 +280,9 @@ def callback_audio(toxav, friend_number, samples, audio_samples_per_channel, aud
|
|||
"""
|
||||
New audio chunk
|
||||
"""
|
||||
# print audio_samples_per_channel, audio_channels_count, rate
|
||||
# print(audio_samples_per_channel, audio_channels_count, rate)
|
||||
Profile.get_instance().call.chunk(
|
||||
''.join(chr(x) for x in samples[:audio_samples_per_channel * 2 * audio_channels_count]),
|
||||
bytes(samples[:audio_samples_per_channel * 2 * audio_channels_count]),
|
||||
audio_channels_count,
|
||||
rate)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue