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
0
votes
1 answer

Move to next track with background audio

I'm implementing a background audio Windows 8 Store App with C#/XAML, and I managed to run audio in the background, using a MediaElement with BackgroundCapableMedia. According to that blog post, I should be able to play playlists. However when the…
Flavien
  • 7,497
  • 10
  • 45
  • 52
0
votes
2 answers

Windows Phone - Confused about background music

In Windows Phone project I can play music in background using: Xaml: C#: mediaplayer.Source = new Uri("Woodkid_IRON_AssassinsCreed.mp3", UriKind.Relative); mediaplayer.Play(); But in msdn Microsoft says this:…
Farhad Jabiyev
  • 26,014
  • 8
  • 72
  • 98
0
votes
2 answers

continue playing audio when iphone/device goes sleep or locked

I am using the following code to keep playing audio when iPhone/iPod goes sleep or locked. mv = [[MPMoviePlayerController alloc] initWithContentURL:[NSURL URLWithString:@"http://myurl/myMusic.mp3"]]; mv.movieSourceType =…
iUser
  • 1,075
  • 3
  • 20
  • 49
0
votes
2 answers

play audio in background - windows mango

I am working on wondows mango app and I have two XAML pages(say page1 and page2). On page1 I have a playlist and on page2 I have a media element that plays the song selected on page1, now what I want is to keep song playing in background as user…
0
votes
2 answers

How to set/get a global variable between an AudioPlaybackAgent in WindowsPhone

I'm trying to make a small radius with the AudioPlaybackAgent as Microsoft show in their Samples In the sample we have a list of adudios: private static List _playList = new List { new AudioTrack(new…
elGeekalpha
  • 1,826
  • 3
  • 13
  • 14
0
votes
2 answers

HttpWebRequest from AudioPlayerAgent

I'm creating an app that plays an endless audio stream. There is a separate web service that I can query to get the title and artist of the currently playing track. What I want to do is query that service every 20 seconds and then set the track…
bfink
  • 158
  • 2
  • 10
-1
votes
1 answer

Which kind of background music playing strategy should I choose after the 1607 Update?

I starting developing a music app since July, but after Windows 10 Update 1607 (a.k.a Redstone Update), the app can go into background easily, which makes background playing much easier. But since I want to reserve the application's compatibility in…
Jacob.C
  • 1
  • 1
  • 1
1 2 3
9
10