New issue
Advanced search Search tips

Issue 696362 link

Starred by 1 user

Issue metadata

Status: Fixed
Owner: ----
Closed: Mar 2017
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Mac
Pri: 3
Type: Bug



Sign in to add a comment

Sound from external soundcard not playing

Reported by alexandr...@gmail.com, Feb 26 2017

Issue description

Chrome Version       : 58.0.3023.0
OS Version: OS X 10.12.3
URLs (if applicable) :
Other browsers tested:
  Add OK or FAIL after other browsers where you have tested this issue:
     Chrome 56.0.2924.87 (64-bit): OK

What steps will reproduce the problem?
1. Install Chrome Canary on Mac OS (First install in this case)
2. Play some sound content (youtube / soundcloud etc.)
3. Connect external Soundcard (in this case Scarlett Focusrite 2i4)

What is the expected result?

Sound continues to play through speakers connected to external soundcard.

What happens instead of that?

Sound plays fine through internal speakers until external soundcard is connected. Then all Chrome Canary sounds stop (streams do not pause though). All other sound sources continue to run fine (example iTunes). Issue not present in normal Chrome. 

Please provide any additional information below. Attach a screenshot if
possible.

UserAgentString: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3023.0 Safari/537.36



 
Labels: Needs-Triage-M58
Labels: TE-Hardware-Dependency
Labels: Hotlist-ConOps
Issue can be reproduced with all extensions disabled.
Test URL : https://www.youtube.com/watch?v=3NPxqXMZq7o&spfreload=10
Chrome://media-internals attached

Forum : https://productforums.google.com/forum/#!msg/chrome/a3mfGM06WFs/zIx8X8GIAQAJ
media-internals (1).txt
9.7 KB View Download

Comment 4 by a...@chromium.org, Feb 28 2017

Components: Internals>Media
Can you try the latest Chrome Dev or Canary? I believe this is resolved now.
Issue still present in Version 58.0.3026.0 canary (64-bit)
Can you report the contents of chrome://media-internals for audio streams and controllers?
Output Controllers:

channel_layout: STEREO
channels: 2
component_id: 5
component_type: 1
device_id: default
device_type: pcm_low_latency
effects: NO_EFFECTS
frames_per_buffer: 1024
owner_id: 51
render_process_id: 27
sample_rate: 48000
status: started
web_contents_title: Moderat - Bad Kingdom - YouTube

Output Streams:

channel_layout: STEREO
channels: 2
component_id: 28
component_type: 2
device_id: AppleUSBAudioEngine:Focusrite:Scarlett 2i4 USB:fd120000:2,1
device_type: fake
effects: NO_EFFECTS
frames_per_buffer: 1024
owner_id: 0
sample_rate: 48000
status: started
volume: 1

Can you follow the directions here and post the results from media_unittests2.zip ?

https://storage.googleapis.com/dalecurtis/media_unittests_2.zip
https://bugs.chromium.org/p/chromium/issues/detail?id=671308#c55

IMPORTANT DEBUGGING NOTE: batches of tests are run inside their
own process. For debugging a test inside a debugger, use the
--gtest_filter=<your_test_name> flag along with
--single-process-tests.
Using sharding settings from environment. This is shard 0/1
Using 1 parallel jobs.
[83459:775:0228/235409.401118:212075900817269:ERROR:icu_util.cc(137)] icudtl.dat not found in bundle
[83459:775:0228/235409.401278:212075900956832:ERROR:icu_util.cc(173)] Invalid file descriptor to ICU data received.
Note: Google Test filter = MacAudioInputTest.AudioOutputTest
[==========] Running 1 test from 1 test case.
[----------] Global test environment set-up.
[----------] 1 test from MacAudioInputTest
[ RUN      ] MacAudioInputTest.AudioOutputTest
[83459:775:0228/235409.592152:212076091891836:ERROR:audio_manager_mac.cc(335)] Output total channels: 4
[83459:775:0228/235409.592509:212076092246649:ERROR:audio_manager_mac.cc(523)] Counting! 4
[83459:775:0228/235409.592539:212076092276213:ERROR:audio_manager_mac.cc(526)] ch=0, 4294967295 (unknown)
[83459:775:0228/235409.592559:212076092295768:ERROR:audio_manager_mac.cc(526)] ch=1, 4294967295 (unknown)
[83459:775:0228/235409.592582:212076092319316:ERROR:audio_manager_mac.cc(526)] ch=2, 4294967295 (unknown)
[83459:775:0228/235409.592603:212076092339794:ERROR:audio_manager_mac.cc(526)] ch=3, 4294967295 (unknown)
[83459:775:0228/235409.592621:212076092357230:ERROR:audio_manager_mac.cc(536)] Output channels: 0
[83459:775:0228/235409.592639:212076092375453:ERROR:audio_low_latency_input_mac_unittest.cc(292)] Params: format: 1 channel_layout: 29 channels: 0 sample_rate: 44100 bits_per_sample: 16 frames_per_buffer: 256 effects: 0 mic_positions: 
[83459:775:0228/235409.592923:212076092661751:ERROR:audio_manager_mac.cc(335)] Output total channels: 4
[83459:775:0228/235409.593260:212076092999182:ERROR:audio_manager_mac.cc(523)] Counting! 4
[83459:775:0228/235409.593293:212076093030439:ERROR:audio_manager_mac.cc(526)] ch=0, 4294967295 (unknown)
[83459:775:0228/235409.593314:212076093050707:ERROR:audio_manager_mac.cc(526)] ch=1, 4294967295 (unknown)
[83459:775:0228/235409.593332:212076093068721:ERROR:audio_manager_mac.cc(526)] ch=2, 4294967295 (unknown)
[83459:775:0228/235409.593350:212076093086745:ERROR:audio_manager_mac.cc(526)] ch=3, 4294967295 (unknown)
[83459:775:0228/235409.593368:212076093104117:ERROR:audio_manager_mac.cc(536)] Output channels: 0
[83459:775:0228/235409.593393:212076093129502:ERROR:audio_manager_base.cc(257)] Invalid audio output parameters received; using fake audio path. Channels: 0, Sample Rate: 44100, Bits Per Sample: 16, Frames Per Buffer: 256
[83459:775:0228/235409.593435:212076093171143:ERROR:audio_manager_base.cc(137)] Audio parameters are invalid
../../media/audio/mac/audio_low_latency_input_mac_unittest.cc:297: Failure
Value of: stream->Open()
  Actual: false
Expected: true
[  FAILED  ] MacAudioInputTest.AudioOutputTest (187 ms)
[----------] 1 test from MacAudioInputTest (187 ms total)

[----------] Global test environment tear-down
[==========] 1 test from 1 test case ran. (187 ms total)
[  PASSED  ] 0 tests.
[  FAILED  ] 1 test, listed below:
[  FAILED  ] MacAudioInputTest.AudioOutputTest

 1 FAILED TEST
[83455:9987:0228/235409.619909:212076119656074:ERROR:kill_posix.cc(84)] Unable to terminate process group 83459: No such process
[1/1] MacAudioInputTest.AudioOutputTest (187 ms)
1 test failed:
    MacAudioInputTest.AudioOutputTest (../../media/audio/mac/audio_low_latency_input_mac_unittest.cc:290)
Tests took 0 seconds.
Okay, I think tomorrows canary should fix your issue. You might see what happens on Dev channel. Can you upload a picture of your audio midi setup speaker configuration?
Not sure what to make a picture of. It's just plug and play in Mac. The sound card doesn't need to be installed, nor does it need any drivers. I just connect it and select it in the "Output" section of sound, system preferences. Audio seems to only be sent to channels 1 and 2 of 4 though. 
If you click the configure speakers button you should get the ability to choose how audio data is routed.
Ah now I see, you were referring to the "Audio Midi Setup" Software. I never used that. Here are the images you requested earlier.
Screen Shot 2017-03-01 at 01.50.48.png
77.0 KB View Download
Screen Shot 2017-03-01 at 01.51.06.png
41.2 KB View Download
Latest update did not yet resolve the issue
Issue is now resolved!
Status: Fixed (was: Unconfirmed)

Sign in to add a comment