How to control master volume of Nokia 770 using gstreamer application?

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

How to control master volume of Nokia 770 using gstreamer application?

Sharath Mudalamane

Hello all,

I want to control the master volume of the Nokia 770 device from gstreamer. The “volume” doesn’t seem to control master volume. It only moves in the range set by master volume when my program is executed. Is there some way to control this?

Please, provide help!

 Thanks and regards,
 Sharath



DISCLAIMER:

This message (including attachment if any) is confidential and may be privileged. If you have received this message by mistake please notify the sender by return e-mail and delete this message from your system. Any unauthorized use or dissemination of this message in whole or in part is strictly prohibited.

E-mail may contain viruses. Before opening attachments please check them for viruses and defects. While MindTree Consulting Limited (MindTree) has put in place checks to minimize the risks, MindTree will not be responsible for any viruses or defects or any forwarded attachments emanating either from within MindTree or outside.

Please note that e-mails are susceptible to change and MindTree shall not be liable for any improper, untimely or incomplete transmission.

MindTree reserves the right to monitor and review the content of all messages sent to or from MindTree e-mail address. Messages sent to or from this e-mail address may be stored on the MindTree e-mail system or else where.


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

_seek() & query_position() problem - a gstreamer bug?

Sharath Mudalamane

Hello all,

I am developing a media player on Nokia 770. I am facing problems in gst_element_seek() during playback ( mp3,wav,..).

 

PROBLEM:

After playback start, if I seek() within the ALREADY played back range (start – current position) then seek() is fine.

If I seek() outside the ALREADY played back range (in other words, farthest played position to end position), I observe that the audio goes off and doesn’t come back UNTIL the actual playback position reaches the seeked position. Also, I observed that the gst_element_query_position() doesn’t return the seeked position.

EXAMPLE:

1 . I start playback of a 2 min stream. After 5 secs, I seek to 30 sec, now audio goes off. Now, gst_element_query_position() is still returning me the current playback time. The audio comes back after exactly 25 secs.

Now, if I seek anywhere between 0 to current time seek works fine with gst_element_query_position() returning the correct position.

2. I start playback of a 2min stream. I play for 90 sec. seek() to 30. this is ok! I seek() to 60. This is also ok! But, now if I seek() to 100 sec ( > 90 sec). Audio goes off for exactly for 40 secs ( 100 – 60 , ie., seeked time = 100, current time = 60).

 

OTHER OBSERVATIONS:

Gst_element_seek() always returns TRUE.

No assertions or hang-ups.

I see it only Nokia 770. Not on a linux PC.

 

QUESTION:

Is this the MIPS problem on Nokia 770?

 

 Thanks and regards,
 Sharath


DISCLAIMER:

This message (including attachment if any) is confidential and may be privileged. If you have received this message by mistake please notify the sender by return e-mail and delete this message from your system. Any unauthorized use or dissemination of this message in whole or in part is strictly prohibited.

E-mail may contain viruses. Before opening attachments please check them for viruses and defects. While MindTree Consulting Limited (MindTree) has put in place checks to minimize the risks, MindTree will not be responsible for any viruses or defects or any forwarded attachments emanating either from within MindTree or outside.

Please note that e-mails are susceptible to change and MindTree shall not be liable for any improper, untimely or incomplete transmission.

MindTree reserves the right to monitor and review the content of all messages sent to or from MindTree e-mail address. Messages sent to or from this e-mail address may be stored on the MindTree e-mail system or else where.


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: _seek() & query_position() problem - a gstreamer bug on Nokia 770?

Sharath Mudalamane

Hello everyone,

 

I have more updates on this issue.

 

MY OBSERVATIONS:

1. The seek operation is malfunctioning (as explained in the below mail) for mp3 playback and AVI (with mp3 audio) only. For wav it is working fine.

2. This happens only on Nokia 770. But works fine on Nokia N800.

 

PROBLEM: I have to make it work on Nokia 770.

 

MY CONCLUSION:

It must be the Nokia binary issue (I am not sure though).

 

Please, someone let me know how to resolve this problem.

 

Thanks and regards,

Sharath


From: Sharath Mudalamane
Sent: Monday, December 24, 2007 8:30 PM
To: '[hidden email]'
Subject: _seek() & query_position() problem - a gstreamer bug?
Importance: High

 

Hello all,

I am developing a media player on Nokia 770. I am facing problems in gst_element_seek() during playback ( mp3,wav,..).

 

PROBLEM:

After playback start, if I seek() within the ALREADY played back range (start – current position) then seek() is fine.

If I seek() outside the ALREADY played back range (in other words, farthest played position to end position), I observe that the audio goes off and doesn’t come back UNTIL the actual playback position reaches the seeked position. Also, I observed that the gst_element_query_position() doesn’t return the seeked position.

EXAMPLE:

1 . I start playback of a 2 min stream. After 5 secs, I seek to 30 sec, now audio goes off. Now, gst_element_query_position() is still returning me the current playback time. The audio comes back after exactly 25 secs.

Now, if I seek anywhere between 0 to current time seek works fine with gst_element_query_position() returning the correct position.

2. I start playback of a 2min stream. I play for 90 sec. seek() to 30. this is ok! I seek() to 60. This is also ok! But, now if I seek() to 100 sec ( > 90 sec). Audio goes off for exactly for 40 secs ( 100 – 60 , ie., seeked time = 100, current time = 60).

 

OTHER OBSERVATIONS:

Gst_element_seek() always returns TRUE.

No assertions or hang-ups.

I see it only Nokia 770. Not on a linux PC.

 

QUESTION:

Is this the MIPS problem on Nokia 770?

 

 Thanks and regards,
 Sharath

DISCLAIMER:

This message (including attachment if any) is confidential and may be privileged. If you have received this message by mistake please notify the sender by return e-mail and delete this message from your system. Any unauthorized use or dissemination of this message in whole or in part is strictly prohibited.

E-mail may contain viruses. Before opening attachments please check them for viruses and defects. While MindTree Consulting Limited (MindTree) has put in place checks to minimize the risks, MindTree will not be responsible for any viruses or defects or any forwarded attachments emanating either from within MindTree or outside.

Please note that e-mails are susceptible to change and MindTree shall not be liable for any improper, untimely or incomplete transmission.

MindTree reserves the right to monitor and review the content of all messages sent to or from MindTree e-mail address. Messages sent to or from this e-mail address may be stored on the MindTree e-mail system or else where.


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel