Audio don't work after playing MPMoviePlayerController

Hi.
I have trouble with playing any sounds or music, is video was played before.
For playing audio i use SoundEngine from crash lander sample.
video loading and playing code:
NSURL* url=[NSURL fileURLWithPath:moviePath];
mMoviePlayer = [[MPMoviePlayerController alloc] initWithContentURL:url];
// Register to receive a notification when the movie has finished playing.
[[NSNotificationCenter defaultCenter] addObserver:g_objC
selector:@selector(moviePlayBackDidFinish:)
name:MPMoviePlayerPlaybackDidFinishNotification
object:mMoviePlayer];
[mMoviePlayer setMovieControlMode:MPMovieControlModeHidden];
[mMoviePlayer setScalingMode:MPMovieScalingModeNone];
[mMoviePlayer play];
and after playing:
- (void) moviePlayBackDidFinish:(NSNotification*)aNotification{
MPMoviePlayerController* theMovie=[aNotification object];
[[NSNotificationCenter defaultCenter] removeObserver:self
name:MPMoviePlayerPlaybackDidFinishNotification object:mMoviePlayer];
[mMoviePlayer release];
// UInt32 sessionCategory = kAudioSessionCategory_MediaPlayback;
// AudioSessionSetProperty(kAudioSessionProperty_AudioCategory, sizeof(sessionCategory), &sessionCategory);
// AudioSessionSetActive(YES);
after releasing [mMoviePlayer retainCount] return 2, and SoundEngine at start playing background track has error at AudioQueuePrime.
error code is extremly large.
Sounds is not playing by openal too.
In simulator - all works. but on devices - there is no any sounds or music.
Please advice.
SoundEngine is inited before allocation MPMOviePlayer.

You'll need to post more details: how is audio added, to background, slide, object or with Play audio command? How did you test? Are you talking about the Rewind button in a playbar?

Similar Messages

  • Fn+b keys don't work after installing Win7 Ultimate (HP Envy 14 BE)

    Fn+b keys don't work after installing Win7 Ultimate (HP Envy 14 BE)  --not able to use the Beats Speakers. Any software updates I need to install?
    This question was solved.
    View Solution.

    Hi Jim,
    You're welcome
    Is the version of Windows 7 Ultimate you have installed 32bit or 64bit?
    Open windows Control Panel, open Device Manager and open up Sound, Video and Game Controllers - do you see an existing entry for the IDT High Definition Audio CODEC listed here?
    There is an alternative IDT Audio driver you may wish to try on the following link.
    http://ftp.hp.com/pub/softpaq/sp53001-53500/sp53281.exe
    Let me know if you get the same error with this version.
    Regards,
    DP-K
    ****Click the White thumb to say thanks****
    ****Please mark Accept As Solution if it solves your problem****
    ****I don't work for HP****
    Microsoft MVP - Windows Experience

  • Audio don't work properly

    Good day and sorry for my poor english.
    I have a problem with my Ipad (IOS 7.0.2).
    Yesterday all work but today the audio don't work.
    I didn't download new app, the only thing i do is use for the first time the alarm clock. After alarm audio doesen't work (i don't use hammer for swith off the alarm ).
    Audio work if i use ear phones, or work normally if i use Siri (without ear phones). When i stay in home, music, video, youtube and all other apps i press on the laterlal button (low - high) but nothin happen. Lateral button work properly if i push it when i use Siri or with earphones.
    What i can do?
    Many thanks for your help.
    Bye

    Have you tried restarting or resetting your iPad?
    Restart: Press On/Off button until the Slide to Power Off slider appears, select Slide to Power Off and, after the iPad shuts down, then press the On/Off button until the Apple logo appears.
    Reset: Press the Home and On/Off buttons at the same time and hold them until the Apple logo appears (about 10 seconds).

  • Buit in ethernet don't work after installing Lion

    Built in ethernet don't work after installing OSX 10.7 on my MacBookPro 2.4 Ghz Intel Core 15.
    Someone else has the same problem?
    On my MacPro 2 x 2.6 GHz Dual-Core Intel Xeon it's not working good, i have to do a restart to get internet connection.
    Is there somebody who has te same problem and has a solution?

    Something does look odd to me unless it's a typo in your post.
    This look like what I'd expect from the NetGear Router - not form the modem. That is when You browse the router stats (http:/192.168.1.1)
    I work with a modem with te folowing preverences:
    Wan IP address    87.211.205.210
    Lan IP address     192.168.1.1
    Primery DNS server       62.58.50.5
    Secondary DNS server   62.58.50.6
    and a separate router Netgear WGT624v3
    This is not exactly what I would expect from System Preferences/Network
    the system preferences for the network are
    Configure       by DHCP
    IP address     192.168.1.15
    Subnetmask  255.255.255.0
    Router           192.168.5.1  <<<<<<<<<<< this should be 192.168.1.1??????
    DNS              208.67.222.222
                         208.67.220.220
    The Router address in System Preferences/Network should be the same as the LAN IP Address. In this case it's on a different network.
    If this is not a type then this is a problem!
    Not sure how it got to be that way.
    Does it persist when resetting the modemand router?/
    Steve

  • IPhone 3GS apps don't work after 4.3 upgrade

    Some apps like mail, safari, app store, ipod don't work after upgrading to iOS 4.3. itues is up to date and have never had issues before. tried to downgrade to 4.2 but was unable to. Help!

    I have the same issue, half the apps no longer work, just stays in 'updating' mode. I've tried uninstalling some but now the app store is freezing. THe ones I am able to reinstall give me error message saying I'm not logging in correctly (I am). I'm guessing some apps versions aren't compatible with the new software but a few I was able to use after the software update and now I can't

  • All Mac apps don't work after cloning on new hd.

    All Mac apps don't work after cloning on new hd.
    I used CCC to clone 10.6.8 then onto new drive. Everything works BUT all Mac apps.
    Error: You can't open the app(s) because it is not supported on this type of Mac. (On MacBook 2011)
    Thanks for your help.

    All good. Just drag and dropped each application and they worked until I did a restart. Then repaired permissions and everything works.

  • My apps don't work after synching music files from my PC

    My apps don't work after synching music files from my PC through Itunes....though all the apps are shown in the Apps window in Itunes (The Apps match the iTunes account on the iPhone).....
    Disconnecting after the sync and After downloading any app from Appstore through Wi-Fi all my apps start working.....
    Please Help.....

    What happend is your phone forgot it was authorized to work with items associated with your apple id. If it happens again, download any free app to prompt the sign in, once you install the free app the others should work.

  • Card reader don't work after installing win 7 ultimate on pavilion dv-6 1260ej

    card reader don't work after installing win 7 ultimate on pavilion dv-6 1260ej.
    Tried downloading this driver:
    http://h10025.www1.hp.com/ewfrf/wc/softwareDownloadIndex?softwareitem=ob-75456-1&cc=il&dlc=he&lc=he&...
    still dont work.

    Hi,
    Download and install the Chipset driver on the link below.
    ftp://ftp.hp.com/pub/softpaq/sp45001-45500/sp45041.exe
    After the installation has completed, restart the notebook.
    Next, download and install the Card Reader driver on the following link.
    ftp://ftp.hp.com/pub/softpaq/sp45001-45500/sp45046.exe
    Regards,
    DP-K
    ****Click the White thumb to say thanks****
    ****Please mark Accept As Solution if it solves your problem****
    ****I don't work for HP****
    Microsoft MVP - Windows Experience

  • My ipod shuffle (4th gen) don't works after hard reset with itunes

    My ipod shuffle (4th gen) don't works after hard reset with itunes, it don't reads too like USB by Windows.
    Before that i've seen error (-50) in iTunes, so i reset ipod.
    I've read all tips on this site, but nothing helps me.

    No, USB works good. I've tried reset on my friend's PC, and it saw my ipod and reset was done. But when i tried to load music, it wrote me, that i've installed incorrect software.

  • PL/SQL don't work after install Oracle 9204 patch set

    I'm using Oracle 9.2.0.1.
    some pl/sql don't work after i install database patch set 3 (9.2.0.4).
    code--------------------------------
    BEGIN
    dbms_aqadm.stop_queue(
    queue_name => 'WB_RT_SERVICE_QUEUE');
    exception
    when others
    then
    null;
    END;
    error message is: ora-03113 end-of-files on communication channel.
    please help. thank you !!

    Can you please tell me the soluation of this problem as I am also facing the similar problem ?
    Thanks in advacne ?
    Regards
    Satpal

  • Webmail in Safari don't work after updating to iOS6.

    Webmail in Safari don't work after updating to iOS6.  Logging on to office webmail account are redirected.  Webmail works with Google Chrome, but it doesn't sove the issue with Safari.  Any suggestions on how to configure Safari?

    Try this
    I was having this problem, seem to happen when waking computer, once finally connected network works great. 
    You need to edit your network preferences to order the network selection list.  Goto this support page  Using network locations (Mac OS X v10.6 and later) and edit your selection list. 
    I also created a "HOME" location and deleted all networks except wifi.  Put MB to sleep woke and safari worked great.  Still I re-ordered the networks under Automatic putting wifi at top, sequence is from top down.  Don't forget to click Apply.  Have fun

  • USB audio DAC stops working after suspend

    I didn't update my mediacenter running arch for a few months so I figured i'd reinstall it because of the filesystem, /lib and grub changes. Now after reinstalling I'm running into the issue that my USB audio DAC stops working after a suspend.
    After a suspend speaker-test gives me the following error:
    [user@mediacenter ~]$ speaker-test -c 2
    speaker-test 1.0.25
    Playback device is default
    Stream parameters are 48000Hz, S16_LE, 2 channels
    Using 16 octaves of pink noise
    ALSA lib pcm_dmix.c:1068:(snd_pcm_dmix_open) unable to open slave
    Playback open error: -77,File descriptor in bad state
    I've tried replugging my DAC and restarting ALSA, without any success. I have to reboot to get sound again.
    Output of /var/log/pm-suspend.log
    za jul 21 19:20:24 CEST 2012: performing suspend
    Initial commandline parameters:
    za jul 21 19:22:06 CEST 2012: Running hooks for suspend.
    Running hook /usr/lib/pm-utils/sleep.d/00logging suspend suspend:
    Linux mediacenter 3.4.6-1-ARCH #1 SMP PREEMPT Fri Jul 20 08:21:26 CEST 2012 x86_64 GNU/Linux
    Module Size Used by
    rfcomm 33627 0
    bluetooth 190551 3 rfcomm
    rfkill 15604 1 bluetooth
    r8169 49386 0
    acpi_cpufreq 5933 0
    mperf 1267 1 acpi_cpufreq
    snd_usb_audio 93519 2
    snd_hwdep 6300 1 snd_usb_audio
    snd_usbmidi_lib 18744 1 snd_usb_audio
    snd_rawmidi 18479 1 snd_usbmidi_lib
    snd_seq_device 5300 1 snd_rawmidi
    snd_pcm 74958 2 snd_usb_audio
    snd_page_alloc 7217 1 snd_pcm
    snd_timer 18966 2 snd_pcm
    mei 32152 0
    snd 58997 9 snd_usb_audio,snd_hwdep,snd_timer,snd_pcm,snd_rawmidi,snd_usbmidi_lib,snd_seq_device
    usb_storage 44760 0
    uas 9285 0
    i2c_i801 8180 0
    microcode 12185 0
    iTCO_wdt 12813 0
    coretemp 5654 0
    iTCO_vendor_support 1929 1 iTCO_wdt
    crc32c_intel 1987 0
    joydev 9991 0
    soundcore 5410 1 snd
    mii 4123 1 r8169
    firewire_ohci 31677 0
    firewire_core 51552 1 firewire_ohci
    pcspkr 1899 0
    serio_raw 4653 0
    processor 26567 1 acpi_cpufreq
    crc_itu_t 1363 1 firewire_core
    evdev 9754 5
    ext4 424175 3
    crc16 1359 2 ext4,bluetooth
    jbd2 73919 1 ext4
    mbcache 5977 1 ext4
    sr_mod 14823 0
    sd_mod 29239 5
    cdrom 35648 1 sr_mod
    usbhid 36430 0
    hid 85477 1 usbhid
    ahci 20549 4
    libahci 20023 1 ahci
    uhci_hcd 23404 0
    pata_jmicron 2480 0
    pata_acpi 3408 0
    ata_generic 3295 0
    ehci_hcd 41026 0
    libata 167611 5 ahci,pata_acpi,libahci,ata_generic,pata_jmicron
    scsi_mod 132974 5 uas,usb_storage,libata,sd_mod,sr_mod
    usbcore 147565 8 uas,uhci_hcd,snd_usb_audio,usb_storage,snd_usbmidi_lib,ehci_hcd,usbhid
    usb_common 954 1 usbcore
    i915 438144 4
    video 11307 1 i915
    button 4502 1 i915
    i2c_algo_bit 5391 1 i915
    intel_agp 10936 1 i915
    intel_gtt 14047 3 i915,intel_agp
    drm_kms_helper 33051 1 i915
    drm 208958 5 i915,drm_kms_helper
    i2c_core 20369 5 drm,i915,i2c_i801,drm_kms_helper,i2c_algo_bit
    total used free shared buffers cached
    Mem: 3721220 336284 3384936 0 16624 156204
    -/+ buffers/cache: 163456 3557764
    Swap: 265068 0 265068
    /usr/lib/pm-utils/sleep.d/00logging suspend suspend: success.
    Running hook /usr/lib/pm-utils/sleep.d/00powersave suspend suspend:
    /usr/lib/pm-utils/sleep.d/00powersave suspend suspend: success.
    Running hook /usr/lib/pm-utils/sleep.d/01grub suspend suspend:
    /usr/lib/pm-utils/sleep.d/01grub suspend suspend: success.
    Running hook /usr/lib/pm-utils/sleep.d/49bluetooth suspend suspend:
    /usr/lib/pm-utils/sleep.d/49bluetooth suspend suspend: success.
    Running hook /usr/lib/pm-utils/sleep.d/75modules suspend suspend:
    /usr/lib/pm-utils/sleep.d/75modules suspend suspend: success.
    Running hook /etc/pm/sleep.d/90alsa suspend suspend:
    /etc/pm/sleep.d/90alsa suspend suspend: success.
    Running hook /usr/lib/pm-utils/sleep.d/90clock suspend suspend:
    /usr/lib/pm-utils/sleep.d/90clock suspend suspend: success.
    Running hook /usr/lib/pm-utils/sleep.d/94cpufreq suspend suspend:
    /usr/lib/pm-utils/sleep.d/94cpufreq suspend suspend: success.
    Running hook /usr/lib/pm-utils/sleep.d/95led suspend suspend:
    /usr/lib/pm-utils/sleep.d/95led suspend suspend: success.
    Running hook /usr/lib/pm-utils/sleep.d/98video-quirk-db-handler suspend suspend:
    Kernel modesetting video driver detected, not using quirks.
    /usr/lib/pm-utils/sleep.d/98video-quirk-db-handler suspend suspend: success.
    Running hook /usr/lib/pm-utils/sleep.d/99video suspend suspend:
    kernel.acpi_video_flags = 0
    /usr/lib/pm-utils/sleep.d/99video suspend suspend: success.
    za jul 21 19:22:07 CEST 2012: performing suspend
    za jul 21 19:22:22 CEST 2012: Awake.
    za jul 21 19:22:22 CEST 2012: Running hooks for resume
    Running hook /usr/lib/pm-utils/sleep.d/99video resume suspend:
    /usr/lib/pm-utils/sleep.d/99video resume suspend: success.
    Running hook /usr/lib/pm-utils/sleep.d/98video-quirk-db-handler resume suspend:
    /usr/lib/pm-utils/sleep.d/98video-quirk-db-handler resume suspend: success.
    Running hook /usr/lib/pm-utils/sleep.d/95led resume suspend:
    /usr/lib/pm-utils/sleep.d/95led resume suspend: success.
    Running hook /usr/lib/pm-utils/sleep.d/94cpufreq resume suspend:
    /usr/lib/pm-utils/sleep.d/94cpufreq resume suspend: success.
    Running hook /usr/lib/pm-utils/sleep.d/90clock resume suspend:
    /usr/lib/pm-utils/sleep.d/90clock resume suspend: success.
    Running hook /etc/pm/sleep.d/90alsa resume suspend:
    ALSA lib pcm_dmix.c:1068:(snd_pcm_dmix_open) unable to open slave
    aplay: main:682: audio open error: File descriptor in bad state
    /etc/pm/sleep.d/90alsa resume suspend: success.
    Running hook /usr/lib/pm-utils/sleep.d/75modules resume suspend:
    Reloaded unloaded modules.
    /usr/lib/pm-utils/sleep.d/75modules resume suspend: success.
    Running hook /usr/lib/pm-utils/sleep.d/49bluetooth resume suspend:
    /usr/lib/pm-utils/sleep.d/49bluetooth resume suspend: success.
    Running hook /usr/lib/pm-utils/sleep.d/01grub resume suspend:
    /usr/lib/pm-utils/sleep.d/01grub resume suspend: success.
    Running hook /usr/lib/pm-utils/sleep.d/00powersave resume suspend:
    /usr/lib/pm-utils/sleep.d/00powersave resume suspend: success.
    Running hook /usr/lib/pm-utils/sleep.d/00logging resume suspend:
    /usr/lib/pm-utils/sleep.d/00logging resume suspend: success.
    za jul 21 19:22:23 CEST 2012: Finished.
    Output of aplay -l
    [user@mediacenter ~]$ aplay -l
    **** List of PLAYBACK Hardware Devices ****
    card 0: DAC [USB Audio DAC], device 0: USB Audio [USB Audio]
    Subdevices: 0/1
    Subdevice #0: subdevice #0
    What I'm noticing is that after a suspend "Subdevices: 0/1" gets changed to "Subdevices: 1/1".
    Any help is much appreciated!
    Last edited by Quaith (2012-07-21 17:33:59)

    Odysseus wrote:
    Unless you can find a way to stop XBMC from using your DAC, I would try hunting down the update which broke it and file a bug report with the appropriate project. https://wiki.archlinux.org/index.php/Do … g_Packages.
    I suspect it would be the kernel.
    Yes I am suspecting the kernel as well. I'll try to change some options in XBMC to maybe get this working, and if not I'll see how far I can downgrade with the kernel. My last installation was a few months old so I hope it broke not that long ago.
    Thanks for the help

  • The multi level "isolation mode" don't work after the last upgrading to Illustrator CC 18.1.0? by the right mouse button menu

    PROVA

    Yes, I know that, but I ever work with the right mouse button,
    because selecting groups and subgroups with double click make some confusion for me.
    Regards,
    Fabio
    ufficio tecnico
    grafica e prestampa
    Via Verdi, 11 - 43058 Sorbolo (PR)
    Tel. 0521.694111 - Fax 0521.694360
    E-mail: [email protected] <mailto:[email protected]>
    E-mail: [email protected] <mailto:[email protected]>
    Web: www.litoexpress.it <http://www.litoexpress.it/>
    Il giorno 28/ott/2014, alle ore 06:57, Satinder S Bains <[email protected]> ha scritto:
    The multi level "isolation mode" don't work after the last upgrading to Illustrator CC 18.1.0? by the right mouse button menu
    created by Satinder S Bains <https://forums.adobe.com/people/SatinderSBains> in Illustrator - View the full discussion <https://forums.adobe.com/message/6874053#6874053>
    You can double click on the selected object to get into the multilevel isolation mode.
    Regards,
    Satinder
    Please note that the Adobe Forums do not accept email attachments. If you want to embed a screen image in your message please visit the thread in the forum to embed the image at https://forums.adobe.com/message/6874053#6874053
    Replies to this message go to everyone subscribed to this thread, not directly to the person who posted the message. To post a reply, either reply to this email or visit the message page:
    To unsubscribe from this thread, please visit the message page at . In the Actions box on the right, click the Stop Email Notifications link.
    Start a new discussion in Illustrator by email <mailto:[email protected]m> or at Adobe Community <https://forums.adobe.com/choose-container.jspa?contentType=1&containerType=14&container=33 67>
    For more information about maintaining your forum email notifications please go to http://forums.adobe.com/thread/416458?tstart=0 <http://forums.adobe.com/thread/416458?tstart=0>.

  • Could someone explain to me why Flash virtual tours don't work after update to Flash Player 10.1?

    Hello there,
    Could someone explain to me why Flash virtual tours don't work after update to Flash Player 10.1?
    Thanks!

    www.privium.nl
    klick the icon image 'virtual tour' upper right corner.
    This works on my other pc, on which I did not update to 10.1 ...
    (I produced this virtual tour; it is stored on the FTP server of the service provider I use for this)
    Awaiting your reply,
    Regards,

  • Bookmarks don't work after upgrading to Firefox 5.0

    My bookmarks don't work after upgrading to Firefox 5.o. Please help! The icons no longer show and instead there is a blank paper with the top right corner folded. I can't even bookmark new pages! I tried reinstalling the program and that didn't work. Please help!

    Your bookmarks file may be corrupt. Navigate to /[UserName]/AppData/Local/Mozilla/Firefox/Profiles/[profile_name]. Either rename places.sqlite to places.sqlite.corrupt (or whatever) in case this isn't the problem, or delete places.sqlite. Start/Restart Firefox. The icons for sites that have a favicon should return after you visit each site.

Maybe you are looking for