oboe
compose-samples
Our great sponsors
oboe | compose-samples | |
---|---|---|
17 | 101 | |
3,576 | 18,564 | |
1.0% | 2.3% | |
8.6 | 9.0 | |
8 days ago | 1 day ago | |
C++ | Kotlin | |
Apache License 2.0 | Apache License 2.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
oboe
- Android low latency audio in 2023
-
Object-Oriented Programming in C (Quantum Leaps, LLC; April 2019) [pdf]
https://microsoft.github.io/microsoft-ui-xaml
> WinUI is powered by a highly optimized C++ core that delivers blistering performance, long battery life, and responsive interactivity that professional developers demand. Its lower system utilization allows it to run on a wider range of hardware, ensuring your sophisticated workloads run with ease.
Apparently Microsoft does care about OOP in C++.
As does Apple,
https://developer.apple.com/metal/
https://developer.apple.com/documentation/driverkit
And Google,
https://github.com/google/oboe
https://www.tensorflow.org/api_docs
Maybe modern C++ is safe from OOP, so lets look into ranges,
https://en.cppreference.com/w/cpp/ranges
So we have factories, adaptors, concepts (aka interfaces/traits in other languages), std::ranges::view_interface as base class mixin, all stuff I can find on the Gang of Four book.
-
Ask HN: What are some of must have skills for a Mobile App Developer in 2021?
Just getting back into Android dev myself. Rapid workflow stack: Jetpack Compose / Kotlin, Material Design UI kits and Stripe / Firebase Cloud Functions. The emphasis on being able to go from idea to release in the shortest time frame. Target being Fast Mobile Commerce
https://github.com/android/compose-samples
https://firebase.google.com/docs/use-cases/payments
Other than that I'm excited about next-gen low latency audio library Oboe and real-time physically based renderer Filament
https://github.com/google/oboe/tree/master/samples
https://github.com/google/filament/tree/main/samples
Best of Luck ;)
-
The current state of audio manipulation frameworks in Android
Google Oboe
-
An update on Android's audio latency
https://github.com/google/oboe/blob/master/apps/OboeTester/d...
We do not use the Larsen Effect any more because it was too sensitive to variations in gain. We now use a random encoded bit stream that sounds like a short noise burst. We can get a better correlation peak with that signal.
> Many of the latency measurements break the latency down between
I'm the author. My testing methodology was to run the round-trip latency test using OboeTester: https://github.com/google/oboe/tree/master/apps/OboeTester/d....
It's a simple test: produce a tone (either on built-in speaker or over wired headphones if using a loopback dongle), measure the time it takes for that tone to reach the audio input.
For devices which I didn't have access to (our team has a limited number of test devices) I used the figures from Superpowered, but with some assumptions/rules:
#1 If AAudio was available on the device I used the measurements from that rather than OpenSL ES
compose-samples
-
Jetpack Compose Mastery Part 2: Advanced Tools and Resources for Mastering Compose UI
The official documentation provides a comprehensive guide on the basics of Jetpack Compose, components, layouts, theming, and more advanced topics.
-
How the new Threads app is made
Apparently Jetpack Compose is an Android copy of SwiftUI?
https://developer.android.com/jetpack/compose
Only two HN threads with comments: https://hn.algolia.com/?q=jetpack+compose
-
Customizable calendar for Jetpack Compose with option to add app specific dates etc.
check this out : https://github.com/android/compose-samples/tree/main/Crane
-
Let's create notification reminder app in Jetpack Compose.
Basic understanding of Jetpack Compose.
-
Architecture Help
The compose-samples repo has a comprehensive list of samples ranging from low to complex projects which might be worth a look.
- Compose UI or layouts?
-
Leveraging Rust and the GPU to render user interfaces at 120 FPS
And what was learned from Flutter has produced something I consider even more interesting: Compose UI (https://developer.android.com/jetpack/compose) and JetBrains' Compose Multiplatform (https://www.jetbrains.com/lp/compose-mpp/)
- New app: xml or compose?
-
Clean Architecture VS. Official documentation!
Now, same story, in the current documentation the list is replaced by a single UserMessage without any explanation of the previous example. It just says "For a more advanced use case, displaying a list of user messages on screen, check out the Jetsnack Compose example." .
-
Dart 3 will be on pair with Kotlin and other top languages (you can see more features in the proposal)
As for the strange infix syntax, you're correct - it's not important (for Dart anyway). Kotlin supports writing code that have DSL like syntax making things like typesafe HTML or Jetpack Compose possible.
What are some alternatives?
MPAndroidChart - A powerful 🚀 Android chart view / graph view library, supporting line- bar- pie- radar- bubble- and candlestick charts as well as scaling, panning and animations.
filament - Filament is a real-time physically based rendering engine for Android, iOS, Windows, Linux, macOS, and WebGL2
Flutter - Flutter makes it easy and fast to build beautiful apps for mobile and beyond
MVICore - MVI framework with events, time-travel, and more
android-mvvm-dagger-rxjava-retrofit - A sample project which demostrate use of MVVM and Dagger 2 with RxJava2 along with Retrofit
Decompose - Kotlin Multiplatform lifecycle-aware business logic components (aka BLoCs) with routing (navigation) and pluggable UI (Jetpack Compose, SwiftUI, JS React, etc.)
ffmpeg-kit - Fork of https://github.com/arthenica/ffmpeg-kit
molecule - Build a StateFlow stream using Jetpack Compose
badass-runtime-example-kotlin-tornadofx - Using the Badass Runtime Plugin with Kotlin and tornadofx
old-reddit-redirect - Ensure Reddit always loads the old design
Coil - Image loading for Android and Compose Multiplatform.
accompanist - A collection of extension libraries for Jetpack Compose