Hi again!

I "disabled" audio from Pygame by

import os
os.putenv('SDL_AUDIODRIVER', 'dummy')
os.putenv('SDL_AUDIODEV', '/dev/null')

which worked. Thanks for help!

How, however, could I ensure something like this not happening when I
launch another program who would like access to my default sound driver?

Regards,
Tarjei

tir. 24. mar. 2020 kl. 21:49 skrev Tarjei Bærland <[email protected]
>:

>
> tir. 24. mar. 2020 kl. 21:40 skrev Ted Park <[email protected]>:
>
>> Hi,
>>
>> If you only need mic audio, grab hardware device exclusively or make sure
>> pygame doesn’t touch the same card/device.
>>
>> Regards,
>> Ted Park
>>
>>
>
> With the risk of sounding ignorant ... how would I "grab hardware device
> exclusively"?
>
> I can't with my limiting googling capabilities find out how to not enable
> the sound mixer in pygame.
>
> However, the "glitch" persists even after completely closing the python
> process.
>
> Regards,
> Tarjei
>
_______________________________________________
ffmpeg-user mailing list
[email protected]
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[email protected] with subject "unsubscribe".

Reply via email to