Project Home
Project Home
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
Forum Topic - 请问在QNX6.6.0中如何配置audio:default?: (6 Items)
   
请问在QNX6.6.0中如何配置audio:default?  
我在用QNX6.6.0的mmcli测试的时候遇到一个问题:
输入inputattach audio:default audio
输出:
mmr: Error 12 (#0) in mmr_output_attach():
Jan 01 01:45:03    3    20     2 mmr: No plugin accepted audio output "audio:default"

在调用QT的QMedia也出现了同样的问题,输出同上面一样
请问如何配置这个Audio default,或者QT中在哪里可以指定如/dev/snd/pcm******这样的输出方式?
另外audio manager如何进行加载?
RE: 请问在QNX6.6.0中如何配置audio:default?  
Hi, 
Response from our design team: 

This requires the audiomgmt plug-in for mm-renderer and audioman service in the system.

Most of the time a customer wants to attach an io-audio output, example
url:
  snd:/dev/snd/pcmPreferredp

You need to specify the output channel/device.


- For mmcli:
-----------------------------------
mmcli -L -i mmrenderer_cli.so

> OutputAttach screen:?index=0 video
> OutputAttach snd:/dev/snd/pcmPreferredp audio

> InputAttach /tmp/test.mp4 track
> Play

- For mm-renderer
----------------------------
rc = mmr_output_attach( context, "snd:/dev/snd/pcmPreferredp", "audio" );

Best Regards,

Harry Yu 

Re: RE: 请问在QNX6.6.0中如何配置audio:default?  
Yestoday I have seen this in the help:
BB OS audio management plugin
Library file: mmr-audiomgmt-plugin.so 
This plugin supports the audio: output URL, and has the following parameters: 
writer
The filter to use as the audio writer for audio: outputs. 

How can I get the mmr-audiomgmt-plugin.so and audioman ,I already have  the QNX6.6.0sdp and APP&Media but I cannot find 
these plugins.

There is a test program named player in QT5.2 SDK, When it runs, there is an error: cannot find audio:default,

Can you give me mmr-audiomgmt-plugin.so and audioman,and their configure files which are named mm-renderer.conf and 
audioman_default.conf?

thanks
Re: RE: 请问在QNX6.6.0中如何配置audio:default?  
It is provided in CAR2.1, you will need to install CAR2.1 first 

./target/qnx6/armle-v7/lib/dll/mmr-audiomgmt-plugin.so
Re: RE: 请问在QNX6.6.0中如何配置audio:default?  
Is there another way to have the QMedia class run without  CAR 2.1 platform? It seems that the QT libraries for 
multimedia use audio:default , and I can not specify the audio device.
Re: RE: 请问在QNX6.6.0中如何配置audio:default?  
Is there another way to have the QMedia class run without  CAR 2.1 platform? It seems that the QT libraries for 
multimedia use audio:default , and I can not specify the audio device.