locked
audio crashes when flipping simulator

    Question

  • Is it me or flipping the Tablet Simulator (90 degrees, 180, whatever) causes the audio to crash? really hope this doesn't happen on real tablets or it's a real bust.

    PS: tested on my app and the "Playback Manager msAudioCategory" sample app from Microsoft.

    Sunday, October 28, 2012 12:36 AM

All replies

  • Hi,

    I reproduce the scenario on my side. And never find that. Could you post some screenshot?


    Please mark the replies as answers if they help or unmark if not.
    If you have any feedback about my replies, please contact msdnmg@microsoft.com
    Microsoft One Code Framework

    Monday, October 29, 2012 7:40 AM
  • <?xml version="1.0" encoding="utf-8"?>
    <Package xmlns="http://schemas.microsoft.com/appx/2010/manifest" xmlns:build="http://schemas.microsoft.com/developer/appx/2012/build" IgnorableNamespaces="build">
      <!--
        THIS PACKAGE MANIFEST FILE IS GENERATED BY THE BUILD PROCESS.
    
        Changes to this file will be lost when it is regenerated. To correct errors in this file, edit the source .appxmanifest file.
    
        For more information on package manifest files, see http://go.microsoft.com/fwlink/?LinkID=241727
      -->
      <Identity Name="Microsoft.SDKSamples.PlaybackManager.JS" Version="1.0.0.0" Publisher="CN=Microsoft Corporation, O=Microsoft Corporation, L=Redmond, S=Washington, C=US" ProcessorArchitecture="neutral" />
      <Properties>
        <DisplayName>PlaybackManager JS sample</DisplayName>
        <PublisherDisplayName>Microsoft Corporation</PublisherDisplayName>
        <Logo>images\storeLogo-sdk.png</Logo>
      </Properties>
      <Prerequisites>
        <OSMinVersion>6.2.1</OSMinVersion>
        <OSMaxVersionTested>6.2.1</OSMaxVersionTested>
      </Prerequisites>
      <Resources>
        <Resource Language="EN-US" />
      </Resources>
      <Applications>
        <Application Id="App" StartPage="default.html">
          <VisualElements DisplayName="PlaybackManager JS sample" Logo="images\squareTile-sdk.png" SmallLogo="images\smallTile-sdk.png" Description="PlaybackManager JS sample" ForegroundText="light" BackgroundColor="#00b2f0" ToastCapable="false">
            <DefaultTile ShortName="PM JS" ShowName="allLogos" />
            <SplashScreen BackgroundColor="#00b2f0" Image="images\splash-sdk.png" />
          </VisualElements>
          <Extensions>
            <Extension Category="windows.backgroundTasks" StartPage="default.html">
              <BackgroundTasks>
                <Task Type="audio" />
              </BackgroundTasks>
            </Extension>
          </Extensions>
        </Application>
      </Applications>
      <Capabilities>
        <Capability Name="musicLibrary" />
      </Capabilities>
      <Dependencies>
        <PackageDependency Name="Microsoft.WinJS.1.0" MinVersion="1.0.9200.20512" />
      </Dependencies>
      <build:Metadata>
        <build:Item Name="VisualStudio" Version="11.0" />
        <build:Item Name="OperatingSystem" Version="6.2.9200.16384 (win8_rtm.120725-1247)" />
        <build:Item Name="Microsoft.Build.AppxPackage.dll" Version="11.0.50727.1" />
        <build:Item Name="MakePri.exe" Version="6.2.9200.16384 (win8_rtm.120725-1247)" />
      </build:Metadata>
    </Package>

    PS: i know tested it on another PC and get the same result.

    Monday, October 29, 2012 8:42 AM
  • Hi,

    I use the same code on my side. And that running normal. Pleasce change a pc and test again.


    Please mark the replies as answers if they help or unmark if not.
    If you have any feedback about my replies, please contact msdnmg@microsoft.com
    Microsoft One Code Framework

    Monday, October 29, 2012 8:54 AM
  • this test was made on another PC

    <?xml version="1.0" encoding="utf-8"?>
    <Package xmlns="http://schemas.microsoft.com/appx/2010/manifest" xmlns:build="http://schemas.microsoft.com/developer/appx/2012/build" IgnorableNamespaces="build">
      <!--
        THIS PACKAGE MANIFEST FILE IS GENERATED BY THE BUILD PROCESS.
    
        Changes to this file will be lost when it is regenerated. To correct errors in this file, edit the source .appxmanifest file.
    
        For more information on package manifest files, see http://go.microsoft.com/fwlink/?LinkID=241727
      -->
      <Identity Name="Microsoft.SDKSamples.PlaybackManager.JS" Version="1.0.0.0" Publisher="CN=Microsoft Corporation, O=Microsoft Corporation, L=Redmond, S=Washington, C=US" ProcessorArchitecture="neutral" />
      <Properties>
        <DisplayName>PlaybackManager JS sample</DisplayName>
        <PublisherDisplayName>Microsoft Corporation</PublisherDisplayName>
        <Logo>images\storeLogo-sdk.png</Logo>
      </Properties>
      <Prerequisites>
        <OSMinVersion>6.2.1</OSMinVersion>
        <OSMaxVersionTested>6.2.1</OSMaxVersionTested>
      </Prerequisites>
      <Resources>
        <Resource Language="EN-US" />
      </Resources>
      <Applications>
        <Application Id="App" StartPage="default.html">
          <VisualElements DisplayName="PlaybackManager JS sample" Logo="images\squareTile-sdk.png" SmallLogo="images\smallTile-sdk.png" Description="PlaybackManager JS sample" ForegroundText="light" BackgroundColor="#00b2f0" ToastCapable="false">
            <DefaultTile ShortName="PM JS" ShowName="allLogos" />
            <SplashScreen BackgroundColor="#00b2f0" Image="images\splash-sdk.png" />
          </VisualElements>
          <Extensions>
            <Extension Category="windows.backgroundTasks" StartPage="default.html">
              <BackgroundTasks>
                <Task Type="audio" />
              </BackgroundTasks>
            </Extension>
          </Extensions>
        </Application>
      </Applications>
      <Capabilities>
        <Capability Name="musicLibrary" />
      </Capabilities>
      <Dependencies>
        <PackageDependency Name="Microsoft.WinJS.1.0" MinVersion="1.0.9200.20512" />
      </Dependencies>
      <build:Metadata>
        <build:Item Name="VisualStudio" Version="11.0" />
        <build:Item Name="OperatingSystem" Version="6.2.9200.16384 (win8_rtm.120725-1247)" />
        <build:Item Name="Microsoft.Build.AppxPackage.dll" Version="11.0.50727.1" />
        <build:Item Name="MakePri.exe" Version="6.2.9200.16384 (win8_rtm.120725-1247)" />
      </build:Metadata>
    </Package>

    i noticed that the manifest file are identical.

    but that is the case when you use the same installation kit for both PC's

    Monday, October 29, 2012 7:12 PM