Hi,

In your log the following line is suspicious:

I: [pulseaudio] module-stream-restore.c: Restoring mute state for sink input 
sink-input-by-application-name:gst123_audio.

Then in the end we have:

D: [alsa-sink-ALC662 rev1 Analog] sink.c: Volume change to 482 at 134501019 was 
written 62 usec late

Seems that for some reason the mute is on and it is restored (i think)

When you are playing with the player try setting the sink volume to full or 
mute on:

something like: 
pactl list (to find out the sinks index)
pactl set-sink-volume index 65000
pactl set-sink-mute index 1or0

br,
Jaska

________________________________________
From: Sathishkumar Sivagurunathan [[email protected]]
Sent: Wednesday, October 08, 2014 11:13 AM
To: Uimonen, Jaska; [email protected]
Subject: RE: Pulseaudio - Audio not audible using paplay..

Hi,

    I was able to get paplay working with a longer file as you said..

    I am trying to run an audio player binary. I am seeing that the binary is 
running but I am not able to hear any audio out of it..

    I tried to look into the pulseaudio logs. Can you help me with it..

   I have attached the logs I got from pulseaudio..

I: [pulseaudio] sink-input.c: Created input 3 "Playback Stream" on combined 
with sample spec float32le 2ch 44100Hz and channel map front-left,front-right
I: [pulseaudio] sink-input.c:     media.name = "Playback Stream"
I: [pulseaudio] sink-input.c:     application.name = "gst123_audio"
I: [pulseaudio] sink-input.c:     native-protocol.peer = "UNIX socket client"
I: [pulseaudio] sink-input.c:     native-protocol.version = "29"
I: [pulseaudio] sink-input.c:     application.process.id = "353"
I: [pulseaudio] sink-input.c:     application.process.user = "app"
I: [pulseaudio] sink-input.c:     application.process.host = "ivi_box"
I: [pulseaudio] sink-input.c:     application.process.binary = "gst123_audio"
I: [pulseaudio] sink-input.c:     application.language = "C"
I: [pulseaudio] sink-input.c:     application.process.machine_id = 
"1980f826f95c4111ad97f72f212b463c"
I: [pulseaudio] sink-input.c:     application.process.session_id = "c2"
I: [pulseaudio] sink-input.c:     routing.class.name = "Player"
I: [pulseaudio] sink-input.c:     routing.class.id = "2"
I: [pulseaudio] sink-input.c:     routing.method = "default"
I: [pulseaudio] sink-input.c:     module-stream-restore.id = 
"sink-input-by-application-name:gst123_audio"
I: [pulseaudio] protocol-native.c: Requested tlength=200.00 ms, minreq=10.00 ms
D: [pulseaudio] protocol-native.c: Adjust latency mode enabled, configuring 
sink latency to half of overall latency.
D: [pulseaudio] protocol-native.c: Requested latency=90.00 ms, Received 
latency=200.00 ms
D: [pulseaudio] memblockq.c: memblockq requested: maxlength=4194304, 
tlength=77616, base=8, prebuf=0, minreq=3528 maxrewind=0
D: [pulseaudio] memblockq.c: memblockq sanitized: maxlength=4194304, 
tlength=77616, base=8, prebuf=0, minreq=3528 maxrewind=0
I: [pulseaudio] protocol-native.c: Final latency 420.00 ms = 200.00 ms + 
2*10.00 ms + 200.00 ms
D: [pulseaudio] core-subscribe.c: Dropped redundant event due to change event.
D: [pulseaudio] discover.c: dealing with new input stream 'gst123_audio'
D: [pulseaudio] multiplex.c: muxnode found for sink 3
D: [pulseaudio] discover.c: new node:
D: [pulseaudio] discover.c:    index         : 10
D: [pulseaudio] discover.c:    key           : 'stream_input.3'
D: [pulseaudio] discover.c:    direction     : input
D: [pulseaudio] discover.c:    implement     : stream
D: [pulseaudio] discover.c:    channels      : 2
D: [pulseaudio] discover.c:    location      : unknown
D: [pulseaudio] discover.c:    privacy       : <unknown>
D: [pulseaudio] discover.c:    type          : Player
D: [pulseaudio] discover.c:    zone          : 'driver'
D: [pulseaudio] discover.c:    visible       : yes
D: [pulseaudio] discover.c:    available     : yes
D: [pulseaudio] discover.c:    ignore        : no
D: [pulseaudio] discover.c:    localrset     : no
D: [pulseaudio] discover.c:    amname        : 'gst123_audio'
D: [pulseaudio] discover.c:    amdescr       : 'Playback Stream'
D: [pulseaudio] discover.c:    amid          : 65535
D: [pulseaudio] discover.c:    paname        : 'gst123_audio'
D: [pulseaudio] discover.c:    paidx         : 3
D: [pulseaudio] discover.c:    pacard.index  : 0
D: [pulseaudio] discover.c:    pacard.profile: ''
D: [pulseaudio] discover.c:    paport        : ''
D: [pulseaudio] discover.c:    mux           : module 19, sink 3, default 
stream 2
D: [pulseaudio] discover.c:    loop          : <not set>
D: [pulseaudio] discover.c:    constrain     :
D: [pulseaudio] discover.c:    rsetid        : ''
D: [pulseaudio] discover.c:    stamp         : 0
D: [pulseaudio] audiomgr.c: skip registering nodes while the domain is down
D: [pulseaudio] discover.c: ramp 'Playback Stream' to 100
D: [pulseaudio] sink-input.c: setting volume ramp with target vol:65536 and 
length:44100
D: [pulseaudio] discover.c: routing target candidate is 0 
(alsa_output.pci-0000_00_1b.0.analog-stereo)
D: [pulseaudio] discover.c: register route 'gst123_audio' => 'Speakers'
D: [pulseaudio] audiomgr.c: adding default route gst123_audio => Speakers
D: [pulseaudio] fader.c: applying volume limits ...
D: [pulseaudio] fader.c:    node 'Speakers'
D: [pulseaudio] fader.c:      stream 2 (class 2)
D: [pulseaudio] volume.c:         device limit = 0.00
D: [pulseaudio] volume.c:         volume_supress(class=2, clmask=0x2, 
trigmask=0x40 nodemask=0x2)
D: [pulseaudio] volume.c:         class limit = 0.00
D: [pulseaudio] volume.c:         volume_supress(class=2, clmask=0x2, 
trigmask=0x44 nodemask=0x2)
D: [pulseaudio] volume.c:         class limit = 0.00
D: [pulseaudio] fader.c:          attenuation 0.00 dB
D: [combine] protocol-native.c: Requesting rewind due to end of underrun.
D: [combine] protocol-native.c: Requesting rewind due to end of underrun.
D: [combine] protocol-native.c: Requesting rewind due to end of underrun.
D: [combine] protocol-native.c: Requesting rewind due to end of underrun.
D: [combine] protocol-native.c: Requesting rewind due to end of underrun.
D: [combine] protocol-native.c: Requesting rewind due to end of underrun.
D: [combine] protocol-native.c: Requesting rewind due to end of underrun.
D: [combine] sink-input.c: Requesting rewind due to uncorking
D: [pulseaudio] module-suspend-on-idle.c: Sink combined becomes busy.
D: [alsa-sink-ALC662 rev1 Analog] sink.c: Volume change to 482 at 134501019 was 
written 62 usec late
D: [alsa-sink-ALC662 rev1 Analog] sink.c: Volume change to 482 at 134508125 was 
written 63 usec late
D: [combine] protocol-native.c: Implicit underrun of ''Lepidoptera' by 'Epoq''
D: [combine] protocol-native.c: Requesting rewind due to rewrite.
D: [combine] protocol-native.c: Requesting rewind due to rewrite.
D: [combine] protocol-native.c: Requesting rewind due to rewrite.
D: [combine] protocol-native.c: Requesting rewind due to rewrite.

Thanks,
Sathish

-----Original Message-----
From: Uimonen, Jaska [mailto:[email protected]]
Sent: Tuesday, October 07, 2014 12:53 PM
To: Sathishkumar Sivagurunathan; [email protected]
Subject: RE: Pulseaudio - Audio not audible using paplay..

Hello,

1) Try adding media.role property to the command line:

paplay --property=media.role=music test.wav

2) Also, seems that your file is streaming, is your test file very short? Can 
you try with longer file?

3) also check your alsa volumes with "amixer", depending on the hardware you 
may have to initially lift the related alsa volumes or put mute off. Something 
like

amixer -c 0 scontents (youl see your alsa controls, c is your card number)

check if some speaker related control is on mute, then

amixer -c 0 sset Master on (etc)

br,
Jaska

________________________________________
From: IVI [[email protected]] on behalf of Sathishkumar 
Sivagurunathan [[email protected]]
Sent: Tuesday, October 07, 2014 8:45 AM
To: [email protected]
Subject: Pulseaudio - Audio not audible using paplay..

Hi,

   I am trying to play audio on March image of tizen using paplay command.. But 
I am not able to hear any audio through the speakers..

   The command I executed :-
paplay Niose.wav --verbose --volume=65536

    The output I get is the following (Attached the log file)..

Opening a playback stream with sample specification 's16le 1ch 48000Hz' and 
channel map 'mono'.
Connection established.
Stream successfully created.
Buffer metrics: maxlength=4194304, tlength=192000, prebuf=190082, minreq=1920 
Using sample spec 's16le 1ch 48000Hz', channel map 'mono'.
Connected to device combined (3, not suspended).
Time: 0.000 sec; Latency: 1407759 usec.
Time: 0.000 sec; Latency: 1407759 usec.
Time: 0.000 sec; Latency: 1407742 usec.
Stream started.
Time: 0.182 sec; Latency: 1226095 usec.
Time: 0.182 sec; Latency: 1226073 usec.
Time: 0.182 sec; Latency: 1226073 usec.
Time: 0.182 sec; Latency: 1226073 usec.
Time: 0.363 sec; Latency: 1044427 usec.
Time: 0.363 sec; Latency: 1044412 usec.
Time: 0.363 sec; Latency: 1044412 usec.
Time: 0.363 sec; Latency: 1044411 usec.
Time: 0.546 sec; Latency: 862259 usec.
Time: 0.546 sec; Latency: 862248 usec.
Time: 0.546 sec; Latency: 862248 usec.
Time: 0.728 sec; Latency: 679927 usec.
Time: 0.728 sec; Latency: 679924 usec.
Time: 0.728 sec; Latency: 679924 usec.
Time: 0.728 sec; Latency: 679920 usec.
Time: 0.910 sec; Latency: 497757 usec.
Time: 0.910 sec; Latency: 497757 usec.
Time: 0.910 sec; Latency: 497746 usec.
Time: 0.910 sec; Latency: 497746 usec.
Time: 1.093 sec; Latency: 315246 usec.
Time: 1.093 sec; Latency: 315246 usec.
Time: 1.093 sec; Latency: 315246 usec.
Time: 1.275 sec; Latency: 133095 usec.
Time: 1.275 sec; Latency: 133081 usec.
Time: 1.275 sec; Latency: 133081 usec.
Time: 1.275 sec; Latency: 133081 usec.
Playback stream drained.
Draining connection to server.
Stream moved to device alsa_output.pci-0000_00_1b.0.analog-stereo (0, not 
suspended).

Can someone help me with this ??

Thanks,
Sathish


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~Disclaimer~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Information contained and transmitted by this e-mail is confidential and 
proprietary to IGATE and its affiliates and is intended for use only by the 
recipient. If you are not the intended recipient, you are hereby notified that 
any dissemination, distribution, copying or use of this e-mail is strictly 
prohibited and you are requested to delete this e-mail immediately and notify 
the originator or [email protected] <mailto:[email protected]>. IGATE does 
not enter into any agreement with any party by e-mail. Any views expressed by 
an individual do not necessarily reflect the view of IGATE. IGATE is not 
responsible for the consequences of any actions taken on the basis of 
information provided, through this email. The contents of an attachment to this 
e-mail may contain software viruses, which could damage your own computer 
system. While IGATE has taken every reasonable precaution to minimise this 
risk, we cannot accept liability for any damage which you sustain as a result 
of softwar
   e viruses. You should carry out your own virus checks before opening an 
attachment. To know more about IGATE please visit www.igate.com 
<http://www.igate.com>.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

_______________________________________________
IVI mailing list
[email protected]
https://lists.tizen.org/listinfo/ivi
---------------------------------------------------------------------
Intel Finland Oy
Registered Address: PL 281, 00181 Helsinki Business Identity Code: 0357606 - 4 
Domiciled in Helsinki

This e-mail and any attachments may contain confidential material for the sole 
use of the intended recipient(s). Any review or distribution by others is 
strictly prohibited. If you are not the intended recipient, please contact the 
sender and delete all copies.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~Disclaimer~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Information contained and transmitted by this e-mail is confidential and 
proprietary to IGATE and its affiliates and is intended for use only by the 
recipient. If you are not the intended recipient, you are hereby notified that 
any dissemination, distribution, copying or use of this e-mail is strictly 
prohibited and you are requested to delete this e-mail immediately and notify 
the originator or [email protected] <mailto:[email protected]>. IGATE does 
not enter into any agreement with any party by e-mail. Any views expressed by 
an individual do not necessarily reflect the view of IGATE. IGATE is not 
responsible for the consequences of any actions taken on the basis of 
information provided, through this email. The contents of an attachment to this 
e-mail may contain software viruses, which could damage your own computer 
system. While IGATE has taken every reasonable precaution to minimise this 
risk, we cannot accept liability for any damage which you sustain as a result 
of softwar
 e viruses. You should carry out your own virus checks before opening an 
attachment. To know more about IGATE please visit www.igate.com 
<http://www.igate.com>.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
---------------------------------------------------------------------
Intel Finland Oy
Registered Address: PL 281, 00181 Helsinki 
Business Identity Code: 0357606 - 4 
Domiciled in Helsinki 

This e-mail and any attachments may contain confidential material for
the sole use of the intended recipient(s). Any review or distribution
by others is strictly prohibited. If you are not the intended
recipient, please contact the sender and delete all copies.

_______________________________________________
IVI mailing list
[email protected]
https://lists.tizen.org/listinfo/ivi

Reply via email to