symbian_sound_aps.h 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. /*
  2. * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com)
  3. * Copyright (C) 2003-2008 Benny Prijono <benny@prijono.org>
  4. *
  5. * This program is free software; you can redistribute it and/or modify
  6. * it under the terms of the GNU General Public License as published by
  7. * the Free Software Foundation; either version 2 of the License, or
  8. * (at your option) any later version.
  9. *
  10. * This program is distributed in the hope that it will be useful,
  11. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  12. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  13. * GNU General Public License for more details.
  14. *
  15. * You should have received a copy of the GNU General Public License
  16. * along with this program; if not, write to the Free Software
  17. * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
  18. */
  19. #ifndef __PJMEDIA_SYMBIAN_SOUND_APS_H__
  20. #define __PJMEDIA_SYMBIAN_SOUND_APS_H__
  21. /**
  22. * @file symbian_sound_aps.h
  23. * @brief Sound device wrapper using Audio Proxy Server on
  24. * Symbian S60 3rd edition.
  25. */
  26. #include <pjmedia/types.h>
  27. PJ_BEGIN_DECL
  28. /**
  29. * Set audio routing for APS sound device.
  30. *
  31. * @param stream The sound device stream, the stream should be started
  32. * before calling this function.
  33. * @param route Audio routing to be set.
  34. *
  35. * @return PJ_SUCCESS on success.
  36. */
  37. PJ_DECL(pj_status_t) pjmedia_snd_aps_set_route( pjmedia_snd_stream *stream,
  38. pjmedia_snd_route route);
  39. PJ_END_DECL
  40. #endif /* __PJMEDIA_SYMBIAN_SOUND_APS_H__ */