From 76360496491c8b5323b6655362a2193e36b3d774 Mon Sep 17 00:00:00 2001 From: "Carlos J. Puga Medina" Date: Tue, 7 Aug 2018 13:56:28 +0000 Subject: www/chromium: Update to 68.0.3440.84 Changelog: https://chromium.googlesource.com/chromium/src/+log/67.0.3396.87..68.0.3440.84?pretty=fuller&n=10000 At the moment pkg-message says that in order to work around the hanging tabs problem the user may wish to run the following commands: # [ -d ~{user}/.cache/chromium ] || mkdir ~{user}/.cache/chromium # echo "md $(echo ~{user})/.cache/chromium mfs rw,late,-w{user}:{group},-s300m 2 0" >> /etc/fstab # mount ~{user}/.cache/chromium Add fix-hanging-tabs.sh script to the DATADIR [1], which simplifies the process to just running /usr/local/share/chromium/fix-hanging-tabs.sh $user $group PR: 230264 [1] Submitted by: 0mp [1] MFH: 2018Q3 Security: http://vuxml.freebsd.org/freebsd/b9c525d9-9198-11e8-beba-080027ef1a23.html --- www/chromium/files/audio_manager_openbsd.cc | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'www/chromium/files/audio_manager_openbsd.cc') diff --git a/www/chromium/files/audio_manager_openbsd.cc b/www/chromium/files/audio_manager_openbsd.cc index 1b021dd0833a..ee293b9d3791 100644 --- a/www/chromium/files/audio_manager_openbsd.cc +++ b/www/chromium/files/audio_manager_openbsd.cc @@ -73,7 +73,7 @@ AudioParameters AudioManagerOpenBSD::GetInputStreamParameters( return AudioParameters( AudioParameters::AUDIO_PCM_LOW_LATENCY, CHANNEL_LAYOUT_STEREO, - kDefaultSampleRate, 16, buffer_size); + kDefaultSampleRate, buffer_size); } AudioManagerOpenBSD::AudioManagerOpenBSD(std::unique_ptr audio_thread, @@ -130,10 +130,8 @@ AudioParameters AudioManagerOpenBSD::GetPreferredOutputStreamParameters( ChannelLayout channel_layout = CHANNEL_LAYOUT_STEREO; int sample_rate = kDefaultSampleRate; int buffer_size = kDefaultOutputBufferSize; - int bits_per_sample = 16; if (input_params.IsValid()) { sample_rate = input_params.sample_rate(); - bits_per_sample = input_params.bits_per_sample(); channel_layout = input_params.channel_layout(); buffer_size = std::min(buffer_size, input_params.frames_per_buffer()); } @@ -144,7 +142,7 @@ AudioParameters AudioManagerOpenBSD::GetPreferredOutputStreamParameters( return AudioParameters( AudioParameters::AUDIO_PCM_LOW_LATENCY, channel_layout, - sample_rate, bits_per_sample, buffer_size); + sample_rate, buffer_size); } AudioInputStream* AudioManagerOpenBSD::MakeInputStream( -- cgit v1.2.3