fix CI
This commit is contained in:
parent
5bf8e8f001
commit
ae74570ab8
@ -498,13 +498,14 @@ impl AudioHandler {
|
|||||||
if !spec.is_valid() {
|
if !spec.is_valid() {
|
||||||
bail!("Invalid audio format");
|
bail!("Invalid audio format");
|
||||||
}
|
}
|
||||||
|
use hbb_common::config::APP_NAME;
|
||||||
|
|
||||||
self.simple = Some(Simple::new(
|
self.simple = Some(Simple::new(
|
||||||
None, // Use the default server
|
None, // Use the default server
|
||||||
&crate::get_app_name(), // Our application’s name
|
APP_NAME, // Our application’s name
|
||||||
Direction::Playback, // We want a playback stream
|
Direction::Playback, // We want a playback stream
|
||||||
None, // Use the default device
|
None, // Use the default device
|
||||||
&crate::get_app_name(), // Description of our stream
|
"playback", // Description of our stream
|
||||||
&spec, // Our sample format
|
&spec, // Our sample format
|
||||||
None, // Use default channel map
|
None, // Use default channel map
|
||||||
None, // Use default buffering attributes
|
None, // Use default buffering attributes
|
||||||
|
@ -465,7 +465,7 @@ async fn start_pa() {
|
|||||||
APP_NAME, // Our application’s name
|
APP_NAME, // Our application’s name
|
||||||
pulse::stream::Direction::Record, // We want a record stream
|
pulse::stream::Direction::Record, // We want a record stream
|
||||||
Some(&device), // Use the default device
|
Some(&device), // Use the default device
|
||||||
APP_NAME, // Description of our stream
|
"record", // Description of our stream
|
||||||
&spec, // Our sample format
|
&spec, // Our sample format
|
||||||
None, // Use default channel map
|
None, // Use default channel map
|
||||||
None, // Use default buffering attributes
|
None, // Use default buffering attributes
|
||||||
|
Loading…
x
Reference in New Issue
Block a user