The Following User Says Thank You to moodymeedo For This Useful Post: | ||
![]() |
2011-01-13
, 11:34
|
Posts: 2,006 |
Thanked: 3,351 times |
Joined on Jun 2010
@ N900: Battery low. N950: torx 4 re-used once and fine; SIM port torn apart
|
#3
|
The Following User Says Thank You to Wikiwide For This Useful Post: | ||
![]() |
2011-01-13
, 11:53
|
Posts: 16 |
Thanked: 15 times |
Joined on Nov 2010
|
#4
|
The Following User Says Thank You to moodymeedo For This Useful Post: | ||
![]() |
2011-01-13
, 12:59
|
Posts: 2,006 |
Thanked: 3,351 times |
Joined on Jun 2010
@ N900: Battery low. N950: torx 4 re-used once and fine; SIM port torn apart
|
#5
|
The Following User Says Thank You to Wikiwide For This Useful Post: | ||
![]() |
2011-01-13
, 20:16
|
Posts: 44 |
Thanked: 28 times |
Joined on Mar 2010
|
#7
|
I meant somebody with experience with gstreamer and\or pulse audio to just tell me the idea of how it should be done or a hint about it.
The Following 2 Users Say Thank You to ny-hardcore For This Useful Post: | ||
![]() |
2011-01-14
, 20:23
|
|
Posts: 24 |
Thanked: 26 times |
Joined on Nov 2010
@ UK
|
#8
|
The Following 2 Users Say Thank You to suzuka For This Useful Post: | ||
![]() |
2011-01-14
, 20:52
|
Posts: 106 |
Thanked: 136 times |
Joined on Apr 2010
@ Switzerland
|
#9
|
The Following User Says Thank You to ymartin59 For This Useful Post: | ||
![]() |
2011-01-14
, 22:02
|
Posts: 16 |
Thanked: 15 times |
Joined on Nov 2010
|
#10
|
Does the page 8 of the N900 schematics help you answer that question?
http://wiki.maemo.org/N900_Hardware_Schematic
Maybe a beginning at
http://talk.maemo.org/showthread.php...=audio+routing
The Following User Says Thank You to moodymeedo For This Useful Post: | ||
![]() |
Tags |
did i work, do homework, help i'm stuck, help wanted, no it didnt |
|
-----EDIT 19/10/2011
I used pulseaudio's 'pactl list' command to inspect the pulseaudio configuration to find out what happens while in the following cases:
- when the phone is idle
- playing audio using paplay
- within an active call
- playing audio and within a call at the same time
I reached the following results:
- When in a call, the phone application does the following:
- it creates a new sink input on the pulse server whose driver is "voice-cs-call-sink-input.c"
- it mutes all the sink inputs on the server
- it switches the main sink and source's buffers to the "alternative" one. To be specific: for the sink "sink.hw0" and the source "source.hw0" it sets the property "x-maemo.alsa_source.buffers" to "alternative" instead of "primary".
What I did was that I made a program that uses the pulseaudio api to unmute the sink inputs. I tested but still no sound other than that of the call. So I thought then that I'd try to change the buffers back to the value "primary" but that's where I got stuck. I use QTCreator for the development. And I made use of the example made by a fine man at http://www.ypass.net/blog/2009/10/pu...-device-lists/. But when it gets to changing the sink or source properties I would need to use the "pulsecore" library. but in no way does my application compile correctly when i include anything from this library. I get all kinds of errors. So what I need now is that someone help me with either a simple project using the pulsecore library( I guess) and doing any simple task that would compile correctly on QTCreator. or provide me with another idea or method to be able to change that property.
Last edited by moodymeedo; 2011-10-19 at 13:49. Reason: enhancment and adding updates