mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-05-29 00:32:29 +00:00
Do code cleanup use duff device linenoise i/o
This commit is contained in:
parent
6ff46ca373
commit
2f56ebfe78
79 changed files with 1393 additions and 1484 deletions
|
@ -857,8 +857,8 @@ static void OpenVideo(void) {
|
|||
plm_set_video_decode_callback(plm_, OnVideo, NULL);
|
||||
plm_set_audio_decode_callback(plm_, OnAudio, NULL);
|
||||
plm_set_loop(plm_, false);
|
||||
int64toarray_radix10((chans_ = 2), chansstr_);
|
||||
int64toarray_radix10((srate_ = plm_get_samplerate(plm_)), sratestr_);
|
||||
FormatInt64(chansstr_, (chans_ = 2));
|
||||
FormatInt64(sratestr_, (srate_ = plm_get_samplerate(plm_)));
|
||||
if (plm_get_num_audio_streams(plm_) && OpenSpeaker()) {
|
||||
plm_set_audio_enabled(plm_, true, 0);
|
||||
} else {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue