CN113535279A - Method and device for sharing audio equipment by Linux platform and android application - Google Patents

Method and device for sharing audio equipment by Linux platform and android application Download PDF

Info

Publication number
CN113535279A
CN113535279A CN202110781033.4A CN202110781033A CN113535279A CN 113535279 A CN113535279 A CN 113535279A CN 202110781033 A CN202110781033 A CN 202110781033A CN 113535279 A CN113535279 A CN 113535279A
Authority
CN
China
Prior art keywords
audio
android
virtual
client
audio data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202110781033.4A
Other languages
Chinese (zh)
Inventor
温研
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Linzhuo Information Technology Co Ltd
Original Assignee
Beijing Linzhuo Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Linzhuo Information Technology Co Ltd filed Critical Beijing Linzhuo Information Technology Co Ltd
Priority to CN202110781033.4A priority Critical patent/CN113535279A/en
Publication of CN113535279A publication Critical patent/CN113535279A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/448Execution paradigms, e.g. implementations of programming paradigms
    • G06F9/4482Procedural
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/50Monitoring users, programs or devices to maintain the integrity of platforms, e.g. of processors, firmware or operating systems
    • G06F21/52Monitoring users, programs or devices to maintain the integrity of platforms, e.g. of processors, firmware or operating systems during program execution, e.g. stack integrity ; Preventing unwanted data erasure; Buffer overflow
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44505Configuring for program initiating, e.g. using registry, configuration files
    • G06F9/4451User profiles; Roaming
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/448Execution paradigms, e.g. implementations of programming paradigms
    • G06F9/4488Object-oriented
    • G06F9/449Object-oriented method invocation or resolution
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/448Execution paradigms, e.g. implementations of programming paradigms
    • G06F9/4488Object-oriented
    • G06F9/4492Inheritance
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2221/00Indexing scheme relating to security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F2221/21Indexing scheme relating to G06F21/00 and subgroups addressing additional information or applications relating to security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F2221/2141Access rights, e.g. capability lists, access control lists, access tables, access matrices

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Hardware Design (AREA)
  • Debugging And Monitoring (AREA)

Abstract

The invention discloses a method and a device for sharing audio equipment by a Linux platform and an Android application, which realize the Client of pulseAudio by designing based on an AudioHAL architecture in an Android running environment, so that the Android application running in the Android running environment and the application running in the Linux system simultaneously use audio hardware of the Linux platform, thereby effectively improving the convenience of using the Android application on a desktop platform and remarkably improving the user experience.

Description

Method and device for sharing audio equipment by Linux platform and android application
Technical Field
The invention belongs to the technical field of development of running mobile applications on a desktop operating system, and particularly relates to a method and a device for sharing audio equipment by a Linux platform and an android application.
Background
Android (Android) applications are run on a Linux platform, a mode of installing an Android running environment on the Linux platform is generally adopted, and the Android running environment has very important significance for enriching the application ecology of an operating system.
Existing Linux platforms typically employ PulseAudio as a sound processing architecture to uniformly process audio from different applications. PulseAudio is an audio service widely used in desktop environments such as GNOME or KDE, which acts as a proxy between kernel audio components (e.g., ALSA, OSS) and applications. The PulseAudio is composed of a Server (Server) and a plurality of clients (clients) based on a C/S structure, wherein the clients are adapters of application programs used as sound sources, the Server is responsible for mixing audio input of each Client and outputting the audio input to audio hardware, and the clients and the Server are communicated through audio data I/O files. In a typical audio processing scheme for the Linux platform, a user needs to configure the ALSA to use the virtual device provided by PulseAudio.
At present, an audio architecture of an Android system mainly includes an application layer, a basic architecture layer, a support library layer, and a hardware driver layer. The application layer is the uppermost layer of the whole audio system and mainly comprises applications such as a music player and game software; the basic architecture Layer mainly comprises an AudioManager, an audioFlinger and an audioHAL, wherein the audioHAL (Audio Hardware Abstraction Layer) is used as an Audio Hardware Abstraction Layer and is used as a 'separation board' applied between bottom Layer Hardware, so that the compatibility between upper Layer application and the bottom Layer Hardware is ensured, and the Audio Hardware Abstraction Layer is an object directly accessed by the audioFlinger; the supporting library layer is a library file layer required by the basic framework layer; the hardware driving layer is a driving program layer of the sound card.
The above-mentioned audio architecture is also an audio architecture adopted in the Android running environment in the prior art, and the architecture cannot be compatible with the PulseAudio architecture adopted by the Linux platform, so that the problem still exists that the Android application running in the existing Android running environment cannot use audio hardware to output sound simultaneously with the application running in the Linux system, which brings inconvenience to user operation and reduces user experience.
Disclosure of Invention
In view of this, the present invention provides a method and an apparatus for sharing an audio device between a Linux platform and an Android application, so that the Android application running in an Android running environment and the application running in a Linux system can simultaneously use audio hardware of the Linux platform.
The invention provides a method for sharing audio equipment by a Linux platform and an android application, which specifically comprises the following steps:
running an Android running environment in a container of a Linux platform, wherein an Android application runs in the Android running environment; in the Android operating environment, obtaining the operation of a user on the Android application, and forming a control instruction according to the operation; setting the Android operation environment to have read-write permission for audio data interface files and audio services on the Linux platform;
when the control instruction is an output instruction, writing the control instruction and the audio data A of the Android application into the audio data interface file; the audio service reads and analyzes the audio data interface file to obtain the control instruction and audio data A, and the audio data A is output to hardware audio equipment of the Linux platform;
when the control instruction is an input instruction, writing the control instruction into the audio data interface file; the audio service reads and analyzes the audio data interface file to obtain the control command, and writes the audio data B acquired by the hardware audio equipment of the Linux platform into the audio data interface file; the Android application reads the audio data interface file to obtain the audio data B;
when the control instruction is a configuration instruction, writing the control instruction and the configuration parameters into the audio data interface file; and the audio service reads and analyzes the audio data interface file to obtain the control instruction and the configuration parameters, and the audio service completes the configuration of the hardware audio equipment according to the configuration parameters.
Further, migrating the PulseAudio Client of the Linux platform and a dependency library of the PulseAudio Client to an HAL layer of the Android operating environment to form an Android PAClient; the Android PAClient realizes a pulseAudio client interface.
Further, the configuration parameters include channels, sampling frequency of input stream.
The invention provides a device for sharing audio equipment by a Linux platform and Android application, which comprises an Android running environment, a virtual audio client, a virtual audio sharing server and a virtual audio communication unit, wherein the Android running environment comprises a virtual audio client, a virtual audio sharing server and a virtual audio communication unit;
the Android running environment runs in an Android container on a Linux platform, and is used for providing a running environment for Android applications;
the virtual audio client is positioned in a hardware abstraction layer HAL of the Android operating environment, and the virtual audio client realizes a PulseAudio client interface; the virtual audio client is used for acquiring the operation of the user on the Android application and forming a control instruction according to the operation; the virtual audio client is used for sending control information to the virtual audio communication unit according to the control instruction and acquiring audio data returned by the virtual audio sharing server from the virtual audio communication unit; the virtual audio client has operation authority over the virtual audio sharing server and the virtual audio communication unit;
the virtual audio sharing server is positioned on a Linux platform of the Android container and is connected with audio equipment of the Linux platform by calling an ALSA (audio over serial interface) of the Linux platform; the virtual audio sharing server processes audio equipment of a Linux platform according to the control instruction acquired from the virtual audio communication unit and transmits acquired audio data to the virtual audio communication unit;
the virtual audio communication unit is positioned on a Linux platform of the Android container, and establishes communication connection between the virtual audio client and the virtual audio sharing server through reading and writing of an audio data interface file.
Further, the control instructions include output instructions, input instructions, and configuration instructions.
Further, the virtual audio client implements a PulseAudio client interface, including: the audio playing interface is used for sending the audio data of the Android application to the virtual audio communication unit according to the output instruction; the audio input interface is used for reading in audio data from the virtual audio communication unit according to the input instruction; and the configuration interface is used for sending the configuration instruction and the configuration parameters to the virtual audio communication unit.
Has the advantages that:
according to the invention, the access limit of the Android container to the Linux file is eliminated by setting the access authority of the communication file and the audio service on the Linux platform, meanwhile, the Client of the pulseAudio is realized by designing based on the AudioHAL architecture in the Android running environment, so that the Android application running in the Android running environment can be the same as the application running in the Linux system, the shared access to the audio hardware of the Linux platform is realized by adopting the pulseAudio architecture, the convenience of the Android application on the desktop platform is effectively improved, and the user experience is obviously improved.
Drawings
Fig. 1 is an architecture diagram of a method for sharing an audio device between a Linux platform and an android application provided by the present invention.
Detailed Description
The invention is described in detail below by way of example with reference to the accompanying drawings.
The invention provides a method and a device for sharing audio equipment by a Linux platform and an android application, wherein the core idea is as follows: the Android application running in the Android running environment and the application running in the Linux system can use the audio hardware of the Linux platform at the same time by migrating the Client of the pulseAudio and the library depending on the Client to the Android running environment and constructing the Android running environment audio architecture based on the AudioHAL and the pulseAudio architecture.
Example 1:
according to the embodiment of the invention, the invention provides a method for sharing audio equipment by a Linux platform and an android application. The architecture adopted by the invention is shown in fig. 1, and the method provided by the invention comprises the following steps based on the architecture shown in fig. 1:
step 1, running an Android running environment in a container of a Linux platform, and running an Android application in the Android running environment; in an Android operating environment, obtaining the operation of a user on an Android application, and forming a control instruction according to the operation; and setting the Android operating environment to have read-write permission for communication files and audio services on the Linux platform.
Specifically, the permission setting process of the audio service and the communication file on the Linux platform is as follows:
step 1.1, the PulseAudio Client can be directly connected with the PulseAudio Server after the Android system in the Android operating environment is started by modifying the access right of the PulseAudio Server.
In general, modifications can be made in the following ways, but are not limited to:
one way is to modify the configuration file default. pa or system. pa of the Linux platform pulse audio Server, and modify the "load-module module-native-protocol-unix" in the original configuration file into "load-module module-native-protocol-unix auth-anonymous ═ 1"; another way is to directly modify the rights management code of PulseAudio.
Step 1.2, modifying the access authority of the audio data interface file created by the Linux platform pulseAudio Server, so that the application running in the Android running environment can access the audio data interface file.
The Client of the PulseAudio in the PulseAudio architecture performs data transmission with the PulseAudio Server in a mode of writing audio data I/O files. In general, the Android application is limited by a container of an Android operating environment and does not have permission to directly access a file on the Linux platform, and therefore, the access permission of the file on the Linux platform needs to be modified so that the Android application can directly access the file. In the invention, the Android application can use the audio equipment of the Linux platform by adopting a pulseAudio architecture by modifying the access authority of the audio data I/O file. The path of the audio data I/O file is/run/user/1000/pulse/native.
When Linux switches audio devices, audio mode, mute on/off, permissions of/run/user/XXXX/pulse/directory, and native files may be changed. Thus, changes in directory and file permissions can be monitored based on inotify, and changes automatically to what is accessible once changed.
Step 2, judging the type of the control instruction obtained in the step 1, and executing the step 3 when the control instruction is an output instruction; when the control instruction is an input instruction, executing the step 4; and when the control instruction is a configuration instruction, executing the step 5.
In practice, the Client of the PulseAudio and the library file dependent on the Client can be migrated to an Android operating environment, so that an Android Client based on the PulseAudio is realized, which is named as Android PAClient, and response to a control instruction of an Android application is realized. The specific migration process is as follows:
and 2.1, migrating the Client of the PulseAudio to an Android running environment.
In the invention, the Android operating environment adopts the Audio HAL audio hardware abstraction layer to realize the encapsulation of different types of audio equipment, so that if the pulseAudio Client is migrated into the Android operating environment, the pulseAudio Client API is required to realize the Android audio equipment on the Android HAL layer, and the audio equipment is named as Android PAClient.
The HAL layer of the Android system mainly adopts the following structural bodies to describe hardware equipment: hw _ module _ t, hw _ module _ methods _ t, and hw _ device _ t. The hw _ module _ t structure is used for describing hardware objects, an open method is defined in the hw _ module _ t structure, operation interfaces of the hardware objects can be obtained by calling the open method, and indirect operation on hardware equipment can be achieved by adopting the operation interfaces. The hw _ module _ methods _ t structural body encapsulates the open method, and the hw _ device _ t structural body encapsulates the operation interface of the hardware equipment.
Specifically, Android package, an audio device, is realized by causing the PulseAudio Client to "inherit" hw _ module _ t and extend new attributes. For example, an audio _ module structure is adopted as a new hardware object, the audio _ module structure inherits the hw _ module _ t structure, and the definition of the audio _ module structure is as follows:
Figure BDA0003159008600000071
the open method of the hardware object hw _ module _ t describes a structure (i.e. methods members in the above structure), and only encapsulates one element, i.e. the open function pointer. And the open function pointer is used for opening the hardware equipment and returning to operate the operation interface corresponding to the hardware equipment. In the present invention, the structure of the methods members is defined as follows:
static struct hw_module_methods_t hal_module_methods=
{
.open=audiod_open,
};
wherein, the audio _ open function provides the function of opening the Android PAClient audio equipment and provides the operation interface of the Android PAClient, and the function comprises the following steps: audio _ close, audio _ init _ check, audio _ set _ voice _ volume, audio _ set _ master _ volume, audio _ set _ mode, audio _ set _ mic _ multicast, audio _ get _ input _ buffer _ size, audio _ open _ output _ stream, audio _ close _ output _ stream, audio _ open _ input _ stream, and audio _ close _ input _ stream. The audio _ open function is defined as follows:
Figure BDA0003159008600000081
the audio _ open _ input _ stream function calls pa _ simple _ free, pa _ simple _ new and pa _ simple _ read functions in the PulseAudio API to realize a reading function from the audio device, and can acquire or set the sampling frequency of a channel and an input stream. and the audio _ close _ input _ stream function is used for closing the reading function of the audio equipment by calling the pa _ simple _ free function in the PulseAudio API. The audio _ open _ output _ stream function implements a write operation to the audio device by calling pa _ simple _ free, pa _ simple _ new, and pa _ simple _ write functions in the PulseAudio API, and implements a function of closing the write operation to the audio device by calling the pa _ simple _ free function in the PulseAudio API when an abnormality occurs. The audio _ close _ output _ stream function implements a function of closing a write operation to an audio device by calling the pa _ simple _ free function in the PulseAudio API. Therefore, migration of the PulseAudio client from the Linux system to the Android running environment is achieved.
And 2.2, migrating the PulseAudio dynamic link library to an Android running environment.
Firstly, a source code file list in Android is automatically generated according to a directory structure of a PulseAudio Client dependency library, then, compiling parameters, dependency libraries and the like in Makefile of the dependency libraries are converted into compiling parameters and libraries corresponding to an Android system, and the converted compiling parameters and libraries are added to the Android.
And finally, compiling the Android PAClient audio equipment in the Android system.
Step 3, writing the control instruction and the audio data A of the Android application into an audio data interface file; and the audio service reads and analyzes the audio data interface file to obtain a control instruction and audio data A, and outputs the audio data A to hardware audio equipment of the Linux platform.
Step 4, writing the control instruction into the audio data interface file; the audio service reads and analyzes the audio data interface file to obtain the control command, and writes the audio data B acquired by the hardware audio equipment of the Linux platform into the audio data interface file; and the Android application reads the audio data interface file to obtain the audio data B.
Step 5, writing the control instruction and the configuration parameters into the audio data interface file; and the audio service reads and analyzes the audio data interface file to obtain the control instruction and the configuration parameters, and the audio service completes the configuration of the hardware audio equipment according to the configuration parameters.
By adopting the method provided by the invention, the audio of the Android application is taken as input, the input audio is written into the audio data I/O file through the Android PAClient, or the audio received from the audio equipment of the Linux platform is read into the corresponding Android audio management service through the audio data I/O file, so that the audio equipment shared by the Android application and the Linux platform is realized.
Example 2:
according to the embodiment of the invention, the invention provides a device for sharing audio equipment by a Linux platform and Android applications, which comprises an Android running environment, a virtual audio client, a virtual audio sharing server and a virtual audio communication unit.
The Android operation environment runs in an Android container on the Linux platform and is used for providing an operation environment for Android application.
The virtual audio client is positioned in a hardware abstraction layer HAL of an Android operating environment, realizes a pulseAudio client interface, and is used for acquiring the operation of a user on Android application and forming a control instruction according to the operation; the virtual audio client is used for sending the control information to the virtual audio communication unit according to the control instruction and acquiring audio data returned by the virtual audio sharing server from the virtual audio communication unit; the virtual audio client has an operation authority for the virtual audio sharing server and the virtual audio communication unit.
The control instruction comprises an output instruction, an input instruction and a configuration instruction.
The PulseAudio client interface realized by the virtual audio client comprises: the audio playing interface is used for sending the audio data of the Android application to the virtual audio communication unit according to the output instruction; the audio input interface is used for reading in audio data from the virtual audio communication unit according to an input instruction; and the configuration interface is used for sending the configuration instruction and the configuration parameters to the virtual audio communication unit.
The virtual audio sharing server is positioned on a Linux platform of the Android container and connected with the audio equipment of the Linux platform by calling an ALSA (audio over serial interface) of the Linux platform; and the virtual audio sharing server processes the audio equipment of the Linux platform according to the control instruction acquired from the virtual audio communication unit and transmits the acquired audio data to the virtual audio communication unit.
And the virtual audio communication unit is positioned on a Linux platform of the Android container, and establishes communication connection between the virtual audio client and the virtual audio sharing server through reading and writing the audio data interface file.
In summary, the above description is only a preferred embodiment of the present invention, and is not intended to limit the scope of the present invention. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims (6)

1. A method for sharing audio equipment by a Linux platform and an android application is characterized by specifically comprising the following steps:
running an Android running environment in a container of a Linux platform, wherein an Android application runs in the Android running environment; in the Android operating environment, obtaining the operation of a user on the Android application, and forming a control instruction according to the operation; setting the Android operation environment to have read-write permission for audio data interface files and audio services on the Linux platform;
when the control instruction is an output instruction, writing the control instruction and the audio data A of the Android application into the audio data interface file; the audio service reads and analyzes the audio data interface file to obtain the control instruction and audio data A, and the audio data A is output to hardware audio equipment of the Linux platform;
when the control instruction is an input instruction, writing the control instruction into the audio data interface file; the audio service reads and analyzes the audio data interface file to obtain the control command, and writes the audio data B acquired by the hardware audio equipment of the Linux platform into the audio data interface file; the Android application reads the audio data interface file to obtain the audio data B;
when the control instruction is a configuration instruction, writing the control instruction and the configuration parameters into the audio data interface file; and the audio service reads and analyzes the audio data interface file to obtain the control instruction and the configuration parameters, and the audio service completes the configuration of the hardware audio equipment according to the configuration parameters.
2. The method according to claim 1, wherein the PulseAudio Client of the Linux platform and the dependency library of the PulseAudio Client are migrated into a HAL layer of the Android operating environment to form an Android PAClient; the Android PAClient realizes a pulseAudio client interface.
3. The method of claim 1, wherein the configuration parameters include a channel, a sampling frequency of an input stream.
4. A device for sharing audio equipment by a Linux platform and an Android application is characterized by comprising an Android running environment, a virtual audio client, a virtual audio sharing server and a virtual audio communication unit;
the Android running environment runs in an Android container on a Linux platform, and is used for providing a running environment for Android applications;
the virtual audio client is positioned in a hardware abstraction layer HAL of the Android operating environment, and the virtual audio client realizes a PulseAudio client interface; the virtual audio client is used for acquiring the operation of the user on the Android application and forming a control instruction according to the operation; the virtual audio client is used for sending control information to the virtual audio communication unit according to the control instruction and acquiring audio data returned by the virtual audio sharing server from the virtual audio communication unit; the virtual audio client has operation authority over the virtual audio sharing server and the virtual audio communication unit;
the virtual audio sharing server is positioned on a Linux platform of the Android container and is connected with audio equipment of the Linux platform by calling an ALSA (audio over serial interface) of the Linux platform; the virtual audio sharing server processes audio equipment of a Linux platform according to the control instruction acquired from the virtual audio communication unit and transmits acquired audio data to the virtual audio communication unit;
the virtual audio communication unit is positioned on a Linux platform of the Android container, and establishes communication connection between the virtual audio client and the virtual audio sharing server through reading and writing of an audio data interface file.
5. The apparatus of claim 4, wherein the control instructions comprise output instructions, input instructions, and configuration instructions.
6. The apparatus of claim 5, wherein the virtual audio client implements a PulseAudio client interface, comprising: the audio playing interface is used for sending the audio data of the Android application to the virtual audio communication unit according to the output instruction; the audio input interface is used for reading in audio data from the virtual audio communication unit according to the input instruction; and the configuration interface is used for sending the configuration instruction and the configuration parameters to the virtual audio communication unit.
CN202110781033.4A 2021-07-13 2021-07-13 Method and device for sharing audio equipment by Linux platform and android application Pending CN113535279A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110781033.4A CN113535279A (en) 2021-07-13 2021-07-13 Method and device for sharing audio equipment by Linux platform and android application

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110781033.4A CN113535279A (en) 2021-07-13 2021-07-13 Method and device for sharing audio equipment by Linux platform and android application

Publications (1)

Publication Number Publication Date
CN113535279A true CN113535279A (en) 2021-10-22

Family

ID=78098369

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110781033.4A Pending CN113535279A (en) 2021-07-13 2021-07-13 Method and device for sharing audio equipment by Linux platform and android application

Country Status (1)

Country Link
CN (1) CN113535279A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114879932A (en) * 2022-07-12 2022-08-09 北京麟卓信息科技有限公司 Android system audio output optimization method based on automatic switching of output modes

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20180278707A1 (en) * 2017-03-21 2018-09-27 Elite Silicon Technology Inc. Client terminal of audio device redirection system and audio device redirection method
CN108762815A (en) * 2018-05-16 2018-11-06 北京麟卓信息科技有限公司 A kind of Android running environment implementation methods based on non-virtualized architectural framework
CN111930340A (en) * 2020-09-21 2020-11-13 北京技德系统技术有限公司 Virtual audio device and method based on Linux and Android compatible technology

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20180278707A1 (en) * 2017-03-21 2018-09-27 Elite Silicon Technology Inc. Client terminal of audio device redirection system and audio device redirection method
CN108762815A (en) * 2018-05-16 2018-11-06 北京麟卓信息科技有限公司 A kind of Android running environment implementation methods based on non-virtualized architectural framework
CN111930340A (en) * 2020-09-21 2020-11-13 北京技德系统技术有限公司 Virtual audio device and method based on Linux and Android compatible technology

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114879932A (en) * 2022-07-12 2022-08-09 北京麟卓信息科技有限公司 Android system audio output optimization method based on automatic switching of output modes
CN114879932B (en) * 2022-07-12 2022-09-02 北京麟卓信息科技有限公司 Android system audio output optimization method based on automatic switching of output modes

Similar Documents

Publication Publication Date Title
KR101002489B1 (en) Process-mode independent driver model
WO2016155388A1 (en) Method and device for installing and running application
Bard et al. Software defined radio: the software communications architecture
CN113282271A (en) Audio processing method and device for android application on Linux platform
JP3228340B2 (en) Multimedia player component object system and multimedia presentation method
US7752598B2 (en) Generating executable objects implementing methods for an information model
JP3770616B2 (en) Object-oriented video system
CN111506291B (en) Audio data acquisition method, device, computer equipment and storage medium
US20040158577A1 (en) System and method for cross platform and configuration build system
WO2021227971A1 (en) Sandbox implementation method, device, apparatus, and storage medium
JPH09503070A (en) Object-oriented MIDI system
US7720671B2 (en) Method and system for child-parent mechanism emulation via a general interface
US20040095387A1 (en) Virtualized and realized user interface controls
JPH09502821A (en) Object-oriented audio system
JPH09503080A (en) Multimedia data routing system
WO2011064218A1 (en) Extensible access control list framework
KR20060086305A (en) System and method for a context-awareness platform
US20060248545A1 (en) Calls and return calls using client interfaces
JP2015043202A (en) Cloud-scale heterogeneous datacenter management infrastructure
CN103455361B (en) Method for calling 32-bit decoding library under 64-bit operating system
CN113535279A (en) Method and device for sharing audio equipment by Linux platform and android application
JP2005528849A (en) System for multimedia rendering on portable devices
GB2471484A (en) A software framework for creating new software components in compliance with an existing multimedia application programming interface
CN115175746A (en) Content scheduling, management and programming system
CN111290746A (en) Object access method, device, equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20211022