Ajout option --ice_buffer
This commit is contained in:
parent
812ad5c6b2
commit
ddafd5c1e9
@ -61,8 +61,8 @@ def push_ogg(ogg_file):
|
|||||||
new_buff = ogg.read(args.ice_buffer)
|
new_buff = ogg.read(args.ice_buffer)
|
||||||
total += len(cur_buff)
|
total += len(cur_buff)
|
||||||
if len(cur_buff) == 0:
|
if len(cur_buff) == 0:
|
||||||
print(" - Tampon vide => Fin du fichier")
|
print("- Tampon vide => Fin du fichier")
|
||||||
print(" - Nombre d'octets envoyés: {}".format(total))
|
print("- Nombre d'octets envoyés: {}".format(total))
|
||||||
break
|
break
|
||||||
if args.debug:
|
if args.debug:
|
||||||
print("- Envoi de {} octets".format(args.ice_buffer))
|
print("- Envoi de {} octets".format(args.ice_buffer))
|
||||||
|
Loading…
Reference in New Issue
Block a user