Questions tagged [background-audio]

Refers to the process of playing audio files in a background agent. Most relevant for Windows Phone and WinRT

142 questions
1
vote
0 answers

Playing mp3 from librarydirectory with AVAudioPlayer in background

I'm playing mp3 files with the standard AVAudioPlayer. Since iOS 8.1 playing background audio when the device is locked is no longer working: 10-20 seconds after the device is locked the playback stops. Leaving the app via the home button is no…
MatthiasFranz
  • 111
  • 1
  • 6
1
vote
1 answer

Setting AlbumArt from isolated storage of AudioTrack

I'm using Background Audio Player on Windows Phone 8 and I'm trying to set an album art for my audio track. As I've read here and at MSDN the image MUST be at shared/media/ image is present into isolated storage test1 new…
John Brush
  • 177
  • 11
1
vote
2 answers

Set webbrowser audio to stream to media player so it can be used in background on windows phone 8

I am making a netradio app on windows phone, my problem is that netradio uses the RTSP audio format and native media player in Windows Phone does not support RTSP. As a workaround, I have to navigate to a webpage that then handles the audio. This…
Kasper S Mathiesen
  • 669
  • 1
  • 7
  • 17
1
vote
1 answer

Get Background Audio Play Position at stop

I need to store background audio play position in case another application gets started and takes over background audio player facility. I have used the following in my audio player agent protected override void…
juhariis
  • 568
  • 8
  • 15
1
vote
2 answers

Windows Phone 8 - Event on application killed / exited (closing background audio agent)

Current scenario stands like this: User opens my app Background audio agent starts playing User goes back to start screen Audio keeps playing from the background audio agent User kills the application from the "task bar" (the closing button in…
Jakub Holovsky
  • 6,543
  • 10
  • 54
  • 98
1
vote
1 answer

MediaStreamSource not working properly in Windows Phone 8.1

I have created a project that utilizes original libFLAC.dll code to play FLAC files on Windows Phone 8.0. It used to work both in MediaElement and in background on WP 8.0, but after updating the project to Windows Phone 8.1, the sound became…
1
vote
0 answers

BackgroundAudioPlayer can't play link like "llnwd.net"

I access this link https://api.soundcloud.com/i1/tracks/112591184/streams?client_id=b45b1aa10f1ac2941910a7f0d10f8e28&app_version=ff19f157 and can get mp3 link like:…
user3352441
  • 11
  • 1
  • 1
1
vote
0 answers

Windows Phone Background Audio stutters after GDR3 update

I have a Windows Phone application, which can play music using Windows Phone Audio Playback Agent. It has deployed to Windows Phone Market and it worked fine until GDR3 update. After update I have got the issue: After 5-10 seconds of playback starts…
1
vote
1 answer

Adding audio effects (reverb etc..) to a BackgroundAudioPlayer driven streaming audio app

I have a windows phone 8 app which plays audio streams from a remote location or local files using the BackgroundAudioPlayer. I now want to be able to add audio effects, for example, reverb or echo, etc... Please could you advise me on how to do…
Matt Daley
  • 458
  • 3
  • 15
1
vote
0 answers

Stop background audio when app start Win phone 8

I have app that play audio with MediaElement when button is pressed. But now i have a problem. For example if i play song on mobile and enter the app, when i press that button app breaks and exit... Now i added at the start page this code: if…
user2919588
  • 31
  • 1
  • 1
  • 3
1
vote
0 answers

Background Audio Player Windows Phone Stutter

I've made a simple app for Windows Phone 8 using BackgroundAudioPlayer and I've encountered a strange problem: While I'm trying to play a large mp3 file (for example 70Mb) sometimes (1% of cases) music starts but I hear something like somebody was…
Romasz
  • 29,662
  • 13
  • 79
  • 154
1
vote
1 answer

WIndows phone 8: Get current audio

I want to get current playing audio info(artist, track name) on Windows Phone 8. On Windows Phone 7 it was possible through XNA functionality using: var curSong = MediaPlayer.Queue.ActiveSong; But on Windows Phone 8 this method not…
semak
  • 11
  • 3
1
vote
0 answers

Subscribing to windows phone UVC events, possible?

I have made a WP7.1 app that uses BackgroundAudioPlayer.Instance to play() and stop(), and subscribes to events from BackgroundAudioPlayer.Instance.PlayerState to update the UI. I have a play button, and when I click that I update the UI to show…
FelixHJ
  • 1,071
  • 3
  • 12
  • 26
1
vote
0 answers

Change between MediaElement and BackgroundAudioPlayer

For now I am using MediaElement for Playing video in my app with this code: mediaElement1.Source = new Uri(fileurl); mediaElement1.Play(); and I want to add the possible of when the user go to Background and keep play the audio(No need the video),…
YosiFZ
  • 7,792
  • 21
  • 114
  • 221
1
vote
3 answers

How to reload playlist in BackgroundAudioPlayer?

I have a solution, which includes 2 projects: main progect, and PlayListFilePlayBackAgent. in main project, in MainPage a have a listBox, which shows different content. Some content has audioformat, and when i see title, and performer in listbox's…
eg01st
  • 143
  • 1
  • 11