Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: no sound from emulator #97

Open
lonejack opened this issue Dec 23, 2021 · 1 comment
Open

[Bug]: no sound from emulator #97

lonejack opened this issue Dec 23, 2021 · 1 comment
Labels

Comments

@lonejack
Copy link

What happened?

When i run an emulator no sound is produced

What should have happened?

The application should produces sounds.

Output of snap info $snap_name

name:      android-studio
summary:   The IDE for Android
publisher: Snapcrafters
store-url: https://snapcraft.io/android-studio
contact:   https://github.com/snapcrafters/android-studio/issues
license:   unset
description: |
  Android Studio provides the fastest tools for building apps on every type
  of Android device.
  
  World-class code editing, debugging, performance tooling, a flexible build
  system, and an instant build/deploy system all allow you to focus on
  building unique and high quality apps.
  
  
  This snap is maintained by the Snapcrafters community, and is not necessarily endorsed or
  officially maintained by the upstream developers.
commands:
  - android-studio
snap-id:      VNTeIi51l6cIZ1gaWHwx0PoP7JaCb61c
tracking:     latest/stable
refresh-date: 2021-10-07
channels:
  latest/stable:    2020.3.1.24 2021-10-07 (115) 1GB classic
  latest/candidate: ↑                                
  latest/beta:      ↑                                
  latest/edge:      2020.3.1.25 2021-11-10 (117) 1GB classic
installed:          2020.3.1.24            (115) 1GB classic

Output of snap connections $snap_name

-

Output of snap version

snap    2.52.1
snapd   2.52.1
series  16
ubuntu  18.04
kernel  4.15.0-34-generic

Relevant log output

No response

Teminal output of app

Launching lib/main.dart on sdk gphone x86 in debug mode...
Running Gradle task 'assembleDebug'...
✓  Built build/app/outputs/flutter-apk/app-debug.apk.
W/FlutterActivityAndFragmentDelegate(10773): A splash screen was provided to Flutter, but this is deprecated. See flutter.dev/go/android-splash-migration for migration steps.
Debug service listening on ws://127.0.0.1:44207/Sl2iI3w5CME=/ws
Syncing files to device sdk gphone x86...
I/teamcity_viewe(10773): Waiting for a blocking GC ProfileSaver
W/teamcity_viewe(10773): Accessing hidden method Landroid/media/AudioTrack;->getLatency()I (greylist, reflection, allowed)
I/ExoPlayerImpl(10773): Init ed7e43 [ExoPlayerLib/2.15.0] [generic_x86_arm, sdk_gphone_x86, Google, 30]
I/TetheringManager(10773): registerTetheringEventCallback:com.zteam.teamcity_viewer
I/VideoCapabilities(10773): Unsupported profile 4 for video/mp4v-es
D/CCodec  (10773): allocate(c2.android.mp3.decoder)
I/Codec2Client(10773): Available Codec2 services: "software"
I/CCodec  (10773): Created component [c2.android.mp3.decoder]
D/CCodecConfig(10773): read media type: audio/mpeg
D/ReflectedParamUpdater(10773): extent() != 1 for single value type: algo.buffers.max-count.values
D/ReflectedParamUpdater(10773): extent() != 1 for single value type: output.subscribed-indices.values
D/ReflectedParamUpdater(10773): extent() != 1 for single value type: input.buffers.allocator-ids.values
D/ReflectedParamUpdater(10773): extent() != 1 for single value type: output.buffers.allocator-ids.values
D/ReflectedParamUpdater(10773): extent() != 1 for single value type: algo.buffers.allocator-ids.values
D/ReflectedParamUpdater(10773): extent() != 1 for single value type: output.buffers.pool-ids.values
D/ReflectedParamUpdater(10773): extent() != 1 for single value type: algo.buffers.pool-ids.values
I/CCodecConfig(10773): query failed after returning 7 values (BAD_INDEX)
D/CCodecConfig(10773): c2 config diff is Dict {
D/CCodecConfig(10773):   c2::u32 coded.bitrate.value = 64000
D/CCodecConfig(10773):   c2::u32 input.buffers.max-size.value = 8192
D/CCodecConfig(10773):   c2::u32 input.delay.value = 0
D/CCodecConfig(10773):   string input.media-type.value = "audio/mpeg"
D/CCodecConfig(10773):   string output.media-type.value = "audio/raw"
D/CCodecConfig(10773):   c2::u32 raw.channel-count.value = 2
D/CCodecConfig(10773):   c2::u32 raw.sample-rate.value = 44100
D/CCodecConfig(10773): }
D/CCodec  (10773): [c2.android.mp3.decoder] buffers are bound to CCodec for this session
D/CCodecConfig(10773): no c2 equivalents for flags
D/CCodecConfig(10773): config failed => CORRUPTED
W/Codec2Client(10773): query -- param skipped: index = 1107298332.
D/CCodec  (10773): client requested max input size 4096, which is smaller than what component recommended (8192); overriding with component recommendation.
W/CCodec  (10773): This behavior is subject to change. It is recommended that app developers double check whether the requested max input size is in reasonable range.
D/CCodec  (10773): setup formats input: AMessage(what = 0x00000000) = {
D/CCodec  (10773):   int32_t channel-count = 2
D/CCodec  (10773):   int32_t max-input-size = 8192
D/CCodec  (10773):   string mime = "audio/mpeg"
D/CCodec  (10773):   int32_t sample-rate = 44100
D/CCodec  (10773): } and output: AMessage(what = 0x00000000) = {
D/CCodec  (10773):   int32_t channel-count = 2
D/CCodec  (10773):   string mime = "audio/raw"
D/CCodec  (10773):   int32_t sample-rate = 44100
D/CCodec  (10773): }
W/Codec2Client(10773): query -- param skipped: index = 1342179345.
W/Codec2Client(10773): query -- param skipped: index = 2415921170.
E/FMQ     (10773): grantorIdx must be less than 3
E/FMQ     (10773): grantorIdx must be less than 3
D/CCodecBufferChannel(10773): [c2.android.mp3.decoder#299] Created input block pool with allocatorID 16 => poolID 17 - OK (0)
I/CCodecBufferChannel(10773): [c2.android.mp3.decoder#299] Created output block pool with allocatorID 16 => poolID 27 - OK
D/CCodecBufferChannel(10773): [c2.android.mp3.decoder#299] Configured output block pool ids 27 => OK
E/ion     (10773): ioctl c0044901 failed with code -1: Inappropriate ioctl for device
E/FMQ     (10773): grantorIdx must be less than 3
E/FMQ     (10773): grantorIdx must be less than 3
D/AudioTrack(10773): getTimestamp_l(20): device stall time corrected using current time 13232498608371
D/BufferPoolAccessor2.0(10773): bufferpool2 0xe99cd7d8 : 5(40960 size) total buffers - 4(32768 size) used buffers - 0/5 (recycle/alloc) - 7/424 (fetch/transfer)
D/BufferPoolAccessor2.0(10773): evictor expired: 1, evicted: 1
@lonejack lonejack added the bug label Dec 23, 2021
@soumyaDghosh
Copy link
Member

Is this still a problem? Is the problem still occuring?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants