[Gambas-user] play audio trough Jack audio server using ONLY gambas resources

Federico Allegretti allegfede at ...626...
Fri Jan 27 14:23:54 CET 2017


hello everybody.
Trying to play audio files with GB.MEDIA and his jack audio sink plug in.

I got gb.media returning media informations (like duration), but no
playback after play.

' Gambas class file

Private Player_A As MediaPlayer   'player che gestira' i media con gb.media
(gstreamer)
Private UscitaAudio As MediaControl 'l'area di rendering dei media

......

Public Sub Button3_Click()
  Player_A = New MediaPlayer As "MediaPlayer"
  UscitaAudio = New MediaControl(Player_A, "jackaudiosink")

  Player_A.URL = Media.URL(Label1.Text)
  Player_A.Play

  Timer1.Start

End

......

in patch bay i cannot see the gambas "client" creation nor cable connected,
like i see if i run in the shell this command:

gst-launch audiotestsrc ! jackaudiosink

so i suppose i need a way to create the jack audio client, but cannot
figure out the procedure.

Thanks for the help.

Federico
-- 
Open TV Architecture project: http://sourceforge.net/projects/otva/

Messagenet VOIP: 5338759

YouTube Channel: v1p3r's lab

VIMEO HD videos: http://www.vimeo.com/user1912745/videos



More information about the User mailing list