From 283a73054e31aa2bc63b4cfe0cac0c00215beb7c Mon Sep 17 00:00:00 2001 From: mitchmindtree Date: Tue, 25 Jun 2019 16:26:27 +0200 Subject: [PATCH] Address some nits highlighted by ishitatsuyuki --- src/host/coreaudio/mod.rs | 2 +- src/host/emscripten/mod.rs | 2 +- src/lib.rs | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/host/coreaudio/mod.rs b/src/host/coreaudio/mod.rs index 85da95e..ff22983 100644 --- a/src/host/coreaudio/mod.rs +++ b/src/host/coreaudio/mod.rs @@ -93,7 +93,7 @@ impl HostTrait for Host { type EventLoop = EventLoop; fn is_available() -> bool { - // Assume ALSA is always available on linux/freebsd. + // Assume coreaudio is always available on macOS and iOS. true } diff --git a/src/host/emscripten/mod.rs b/src/host/emscripten/mod.rs index 18b621f..15502df 100644 --- a/src/host/emscripten/mod.rs +++ b/src/host/emscripten/mod.rs @@ -41,7 +41,7 @@ impl HostTrait for Host { type EventLoop = EventLoop; fn is_available() -> bool { - // Assume ALSA is always available on linux/freebsd. + // Assume this host is always available on emscripten. true } diff --git a/src/lib.rs b/src/lib.rs index b567f27..285c0d8 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -171,7 +171,7 @@ mod samples_formats; /// /// Another great example is the Linux platform. While the ALSA host API is the lowest-level API /// available to almost all distributions of Linux, its flexibility is limited as it requires that -/// each process have exclusive access to the devices with which they establish streams. PortAudio +/// each process have exclusive access to the devices with which they establish streams. PulseAudio /// is another popular host API that aims to solve this issue by providing user-space mixing, /// however it has its own limitations w.r.t. low-latency and high-performance audio applications. /// JACK is yet another host API that is more suitable to pro-audio applications, however it is